CVE-2024-49958: Linux kernel · ocfs2: reserve space for inline xattr before attaching reflink tree
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:59 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 21 Oct 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 addresses the issue by reserving space for inline extended attributes before the reflink tree is recreated in the ocfs2 filesystem. Users should apply the official Linux kernel update containing this fix once it is released. Until then, avoid operations that trigger reflink with inline xattr on ocfs2 to mitigate risk.
Description
CVE-2024-49958 is a medium severity vulnerability in the Linux kernel's ocfs2 filesystem. It involves improper reservation of space for inline extended attributes (xattr) during the reflink operation, which can lead to filesystem corruption and crashes. The flaw occurs because space for inline xattr is reserved after the reflink tree is recreated, causing metadata inconsistencies. The issue was reported by a customer who experienced a crash and corrupted ocfs2 filesystem. The fix involves reserving space for inline xattr before recreating the reflink tree, preventing the corruption.
References
- nvd.nist.gov/vuln/detail/CVE-2024-49958 (opens in a new tab)
- git.kernel.org/stable/c/020f5c53c17f66c0a8f2d37dad27ace301b8d8a1 (opens in a new tab)
- git.kernel.org/stable/c/5c2072f02c0d75802ec28ec703b7d43a0dd008b5 (opens in a new tab)
- git.kernel.org/stable/c/5c9807c523b4fca81d3e8e864dabc8c806402121 (opens in a new tab)
- git.kernel.org/stable/c/5ca60b86f57a4d9648f68418a725b3a7de2816b0 (opens in a new tab)
- git.kernel.org/stable/c/637c00e06564a945e9d0edb3d78d362d64935f9f (opens in a new tab)
- git.kernel.org/stable/c/74364cb578dcc0b6c9109519d19cbe5a56afac9a (opens in a new tab)
- git.kernel.org/stable/c/96ce4c3537114d1698be635f5e36c62dc49df7a4 (opens in a new tab)
- git.kernel.org/stable/c/9f9a8f3ac65b4147f1a7b6c05fad5192c0e3c3d9 (opens in a new tab)
- git.kernel.org/stable/c/aac31d654a0a31cb0d2fa36ae694f4e164a52707 (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)