CVE-2024-40969: f2fs: don't set RO when shutting down f2fs

Published Jul 12, 2024
·
Updated

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 thawsuper due to readonly, which causes a deadlock like below.

f2fsiocshutdown(F2FSGOINGDOWNFULLSYNC) issuediscardthread - bdevfreeze - freezesuper - f2fsstopcheckpoint() - f2fshandlecriticalerror - sbstartwrite - set RO - waiting - bdevthaw - thawsuperlocked - return -EINVAL, if sbrdonly() - f2fsstopdiscardthread -> wait for kthreadstop(discardthread);

Affected Software

3 affected componentsFixes available
Linux Linux kernel<6.6.36
Linux Linux kernel>=6.7<6.9.7
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1

Event History

Jul 12, 2024
CVE Published
via MITRE·12:32 PM
Data Sourced
via MITRE·12:32 PM
Description
Nov 30, 2024
Data Sourced
via Ubuntu·04:46 PM
RemedyDescriptionSeverityAffected Software
Apr 23, 2025
Data Sourced
via Debian·06:15 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-40969?

CVE-2024-40969 has been classified as a high-severity vulnerability due to its potential to cause deadlocks.

2

How do I fix CVE-2024-40969?

To fix CVE-2024-40969, update the Linux kernel to version 6.12.12-1, 6.12.13-1, or any version above 6.6.36.

3

Which versions of the Linux kernel are affected by CVE-2024-40969?

CVE-2024-40969 affects Linux kernel versions prior to 6.7 and between 6.7 and 6.6.36.

4

Is CVE-2024-40969 specific to any Linux distributions?

Yes, CVE-2024-40969 is particularly noted in Debian's Linux packages and requires upgrades to certain versions to mitigate the vulnerability.

5

What components are involved in CVE-2024-40969?

CVE-2024-40969 primarily involves the f2fs file system within the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203