Skip to main content
VulnerabilityPublished Updated

CVE-2024-50218: Linux kernel · ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 29 Oct 2026, 23:14 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…