CVE-2024-53218: Linux kernel · f2fs: fix race in concurrent f2fs_stop_gc_thread
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1153.163~18.04.1 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:12 UTC
- Patch
- Available – fixed in 5.4.0-1153.163~18.04.1, 5.4.0-1156.163~18.04.1, 5.4.0-1156.165~18.04.1 +82
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7276-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7277-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7310-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7450-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7451-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7452-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7453-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7468-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7523-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7524-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected Linux kernel versions. The fix involves converting to a write lock in the shutdown process to prevent the race condition. Users should update to the fixed kernel versions listed in the established facts. No additional mitigation is required beyond applying the official kernel updates.
Description
CVE-2024-53218 is a race condition vulnerability in the Linux kernel's f2fs file system implementation. It occurs in the f2fs_stop_gc_thread function during concurrent shutdown calls, leading to a use-after-free condition. This flaw can cause a general protection fault and potentially allow an attacker with local privileges to compromise system integrity. The issue was partially addressed by a previous commit but was not fully resolved. A complete fix involves converting to a write lock in the shutdown process to prevent race conditions. Multiple affected Linux kernel versions have been identified, and patches are available.
References
- ubuntu.com/security/CVE-2024-53218 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-53218 (opens in a new tab)
- git.kernel.org/linus/7b0033dbc48340a1c1c3f12448ba17d6587ca092 (opens in a new tab)
- git.kernel.org/stable/c/60457ed6c67625c87861f96912b4179dc2293896 (opens in a new tab)
- git.kernel.org/stable/c/794fa8792d4eacac191f1cbcc2e81b7369e4662a (opens in a new tab)
- git.kernel.org/stable/c/7b0033dbc48340a1c1c3f12448ba17d6587ca092 (opens in a new tab)
- git.kernel.org/stable/c/c631207897a9b3d41167ceca58e07f8f94720e42 (opens in a new tab)
- ubuntu.com/security/notices/USN-7276-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7277-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7310-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7450-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7451-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7452-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7453-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7468-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7523-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7524-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7922-1 (opens in a new tab)