CVE-2024-56630: Linux kernel · ocfs2: free inode when ocfs2_get_init_inode() fails
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:50 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 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 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to a kernel version that includes the fix for this issue. Since this is a kernel-level bug, applying the official kernel patch or upgrading to a fixed kernel release is the recommended remediation.
Description
CVE-2024-56630 is a vulnerability in the Linux kernel's ocfs2 filesystem driver where an inode is not properly freed when ocfs2_get_init_inode() fails. This issue was introduced by a commit that handled errors from dquot_initialize() but forgot to call iput() after new_inode() succeeded and dquot_initialize() failed, leading to busy inodes after unmount.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56630 (opens in a new tab)
- git.kernel.org/stable/c/03db61c43c8e2729896fda6b9a95c7fb5c875c20 (opens in a new tab)
- git.kernel.org/stable/c/67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15 (opens in a new tab)
- git.kernel.org/stable/c/911fcc95b530615b484e8920741fc5e4bc4e684a (opens in a new tab)
- git.kernel.org/stable/c/965b5dd1894f4525f38c1b5f99b0106a07dbb5db (opens in a new tab)
- git.kernel.org/stable/c/9c19ea59965ebb482e227532f7bbb01792fb028c (opens in a new tab)
- git.kernel.org/stable/c/a84d507d3290aca249b44ae992af9e10590cc5f6 (opens in a new tab)
- git.kernel.org/stable/c/c5327720a4655303ffa3f632d86ee205dd783f32 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)