CVE-2024-40969

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/07/2024
Last modified:
09/09/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> f2fs: don&amp;#39;t set RO when shutting down f2fs<br /> <br /> Shutdown does not check the error of thaw_super due to readonly, which<br /> causes a deadlock like below.<br /> <br /> f2fs_ioc_shutdown(F2FS_GOING_DOWN_FULLSYNC) issue_discard_thread<br /> - bdev_freeze<br /> - freeze_super<br /> - f2fs_stop_checkpoint()<br /> - f2fs_handle_critical_error - sb_start_write<br /> - set RO - waiting<br /> - bdev_thaw<br /> - thaw_super_locked<br /> - return -EINVAL, if sb_rdonly()<br /> - f2fs_stop_discard_thread<br /> -&gt; wait for kthread_stop(discard_thread);

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.36 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.7 (excluding)