CVE-2024-56630

ocfs2: free inode when ocfs2_get_init_inode() fails

No CVSS score yet EPSS 0.26%

Published 27 Dec 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-56630

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-56630 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before 911fcc95b530615b484e8920741fc5e4bc4e684a
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before 9c19ea59965ebb482e227532f7bbb01792fb028c
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before c5327720a4655303ffa3f632d86ee205dd783f32
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before 67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before a84d507d3290aca249b44ae992af9e10590cc5f6
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before 03db61c43c8e2729896fda6b9a95c7fb5c875c20
affected from 9c89fe0af826bfff36d8019ea6fd78db09b3c478, before 965b5dd1894f4525f38c1b5f99b0106a07dbb5db
Other versions: unaffected
Linux
affected 4.3
unaffected before 4.3
unaffected from 5.4.287 up to and including 5.4.*
unaffected from 5.10.231 up to and including 5.10.*
unaffected from 5.15.174 up to and including 5.15.*
unaffected from 6.1.120 up to and including 6.1.*
unaffected from 6.6.66 up to and including 6.6.*
unaffected from 6.12.5 up to and including 6.12.*
unaffected 6.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-56630 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-56630

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-56630
trivy image --scanners vuln IMAGE | grep CVE-2024-56630

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-56630 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.