CVE-2024-56630 ocfs2: free inode when ocfs2_get_init_inode() fails
A missing inode release in the Linux kernel OCFS2 filesystem can cause busy inodes after unmount, potentially leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56630?
CVE-2024-56630 is a medium-severity memory corruption vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: free inode when ocfs2_get_init_inode() fails
syzbot is reporting busy inodes after unmount, for commit 9c89fe0af826 ("ocfs2: Handle error from dquot_initialize()") forgot to call iput() when new_inode() succeeded and dquot_initialize() failed.
Weakness: CWE-908
Which versions are affected by CVE-2024-56630?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56630?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-56630 being exploited?
There is no known exploitation of CVE-2024-56630 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-56630, DEBIAN-CVE-2024-56630, GHSA-4r3v-xr22-c9qx, UBUNTU-CVE-2024-56630.