CVE-2024-40969

Source
https://cve.org/CVERecord?id=CVE-2024-40969
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40969.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-40969
Downstream
Published
2024-07-12T12:32:08.139Z
Modified
2026-03-14T12:35:03.493281Z
Summary
f2fs: don't set RO when shutting down f2fs
Details

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.

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40969.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
98e4da8ca301e062d79ae168c67e56f3c3de3ce4
Fixed
1036d3ea7a32cb7cee00885c73a1f2ba7fbc499a
Fixed
f47ed3b284b38f235355e281f57dfa8fffcc6563
Fixed
3bdb7f161697e2d5123b89fe1778ef17a44858e7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40969.json"