VYPR
Medium severity5.5NVD Advisory· Published Jul 12, 2024· Updated Jun 17, 2026

CVE-2024-40969

CVE-2024-40969

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: don't set RO when shutting down f2fs

Shutdown does not check the error of thaw_super due to readonly, which causes a deadlock like below.

f2fs_ioc_shutdown(F2FS_GOING_DOWN_FULLSYNC) issue_discard_thread - bdev_freeze - freeze_super - f2fs_stop_checkpoint() - f2fs_handle_critical_error - sb_start_write - set RO - waiting - bdev_thaw - thaw_super_locked - return -EINVAL, if sb_rdonly() - f2fs_stop_discard_thread -> wait for kthread_stop(discard_thread);

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: <6.6.36
    • (no CPE)range: 3.8
    • (no CPE)
  • osv-coords
    Range: >= 3.8.0, < 6.6.36

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.