Fix Missing Cleanup on Rollforward Recovery Error in nilfs2
CVE-2024-46781
What is CVE-2024-46781?
In the Linux kernel, the following vulnerability has been resolved:
nilfs2: fix missing cleanup on rollforward recovery error
In an error injection test of a routine for mount-time recovery, KASAN found a use-after-free bug.
It turned out that if data recovery was performed using partial logs created by dsync writes, but an error occurred before starting the log writer to create a recovered checkpoint, the inodes whose data had been recovered were left in the ns_dirty_files list of the nilfs object and were not freed.
Fix this issue by cleaning up inodes that have read the recovery data if the recovery routine fails midway before the log writer starts.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Linux 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 35a9a7a7d94662146396199b0cfd95f9517cdd14
Linux 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b
Linux 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 07e4dc2fe000ab008bcfe90be4324ef56b5b4355
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved