# CVE-2024-56630: ocfs2: free inode when ocfs2_get_init_inode() fails

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-12-27T14:51:37.240Z
- Modified: 2026-06-17T08:12:35.660Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before 911fcc95b530615b484e8920741fc5e4bc4e684a; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before 9c19ea59965ebb482e227532f7bbb01792fb028c; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before c5327720a4655303ffa3f632d86ee205dd783f32; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before 67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before a84d507d3290aca249b44ae992af9e10590cc5f6; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before 03db61c43c8e2729896fda6b9a95c7fb5c875c20; from 9c89fe0af826bfff36d8019ea6fd78db09b3c478 before 965b5dd1894f4525f38c1b5f99b0106a07dbb5db; 4.3 (not affected: before 4.3; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.3 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5; 6.13

## References

- <https://git.kernel.org/stable/c/911fcc95b530615b484e8920741fc5e4bc4e684a> (patch)
- <https://git.kernel.org/stable/c/9c19ea59965ebb482e227532f7bbb01792fb028c> (patch)
- <https://git.kernel.org/stable/c/c5327720a4655303ffa3f632d86ee205dd783f32> (patch)
- <https://git.kernel.org/stable/c/67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15> (patch)
- <https://git.kernel.org/stable/c/a84d507d3290aca249b44ae992af9e10590cc5f6> (patch)
- <https://git.kernel.org/stable/c/03db61c43c8e2729896fda6b9a95c7fb5c875c20> (patch)
- <https://git.kernel.org/stable/c/965b5dd1894f4525f38c1b5f99b0106a07dbb5db> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56630](https://www.cve.org/CVERecord?id=CVE-2024-56630), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56630](https://nvd.nist.gov/vuln/detail/CVE-2024-56630), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56630 · Whole record: https://cve.day/CVE-2024-56630.json · Rebuilt by cve.day 2026-11-25T22:58:50.490Z
