CVE-2024-50218: Linux kernel · ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:14 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 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 29 Oct 2026.
What to do
AI-suggested
A fix is available that adds sanity checks for byte_start and byte_len parameters before calling ocfs2_truncate_inline, returning an error if they exceed ocfs2_max_inline_data_with_xattr. Users should apply the official Linux kernel patches that address this issue once released. Until then, avoid conditions that trigger ocfs2_truncate_inline with large inline data parameters.
Description
CVE-2024-50218 is a medium severity vulnerability in the Linux kernel's ocfs2 filesystem. It involves a potential integer overflow in the ocfs2_truncate_inline function due to passing a 64-bit value where 32-bit unsigned integers are expected. This can cause a kernel bug triggered by Syzbot. The issue arises when parameters exceed ocfs2_max_inline_data_with_xattr, lacking proper sanity checks.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50218 (opens in a new tab)
- git.kernel.org/stable/c/0b6b8c2055784261de3fb641c5d0d63964318e8f (opens in a new tab)
- git.kernel.org/stable/c/27d95867bee806cdc448d122bd99f1d8b0544035 (opens in a new tab)
- git.kernel.org/stable/c/2fe5d62e122b040ce7fc4d31aa7fa96ae328cefc (opens in a new tab)
- git.kernel.org/stable/c/70767689ec6ee5f05fb0a2c17d7ec1927946e486 (opens in a new tab)
- git.kernel.org/stable/c/88f97a4b5843ce21c1286e082c02a5fb4d8eb473 (opens in a new tab)
- git.kernel.org/stable/c/95fbed8ae8c32c0977e6be1721c190d8fea23f2f (opens in a new tab)
- git.kernel.org/stable/c/bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0 (opens in a new tab)
- git.kernel.org/stable/c/ecd62f684386fa64f9c0cea92eea361f4e6444c2 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)