cve.bz

CVE-2024-56624 linux linux kernel

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix out_fput in iommufd_fault_alloc() As fput() calls the file->f_op->release op, where fault obj and ictx are getting released, there is no need to release these two after fput() one more time, which would result in imbalanced refcounts: refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 48 PID: 2369 at lib/refcount.c:31 refcount_warn_saturate+0x60/0x230 Call trace: refcount_warn_saturate+0x60/0x230 (P) refcount_warn_saturate+0x60/0x230 (L) iommufd_fault_fops_release+0x9c/0xe0 [iommufd] ... VFS: Close: file count is 0 (f_op=iommufd_fops [iommufd]) WARNING: CPU: 48 PID: 2369 at fs/open.c:1507 filp_flush+0x3c/0xf0 Call trace: filp_flush+0x3c/0xf0 (P) filp_flush+0x3c/0xf0 (L) __arm64_sys_close+0x34/0x98 ... imbalanced put on file reference count WARNING: CPU: 48 PID: 2369 at fs/file.c:74 __file_ref_put+0x100/0x138 Call trace: __file_ref_put+0x100/0x138 (P) __file_ref_put+0x100/0x138 (L) __fput_sync+0x4c/0xd0 Drop those two lines to fix the warnings above.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-56624 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-56624?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-56624?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-56624 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-56624

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-56624](https://cve.bz/cve/badge/CVE-2024-56624.svg)](https://cve.bz/cve/CVE-2024-56624)

HTML:

<a href="https://cve.bz/cve/CVE-2024-56624"><img src="https://cve.bz/cve/badge/CVE-2024-56624.svg" alt="CVE-2024-56624"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux6.11 and later

Fixed in

ProductRelease lineFixed in
Linux6.126.12.5
Linuxlater releases6.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.12.5-1DEBIAN-CVE-2024-56624
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-56624
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-56624
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-56624
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2024-56624
Ubuntu24.04:LTSlinux-hwe-6.116.11.0-21.21~24.04.1UBUNTU-CVE-2024-56624 USN-7379-1
Ubuntu24.04:LTSlinux-lowlatency-hwe-6.116.11.0-1011.12~24.04.1USN-7381-1
Ubuntu24.04:LTSlinux-oem-6.116.11.0-1017.17UBUNTU-CVE-2024-56624 USN-7382-1
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2024-56624
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2024-56624
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2024-56624

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

A low severity flaw was found in the Linux kernel's iommufd subsystem. In the error path of iommufd_fault_alloc(), the iommufd fault object and ictx are released after fput() has already released them through the file's f_op->release operation, resulting in imbalanced reference counts: the reference count can be decremented to zero prematurely, leaking memory and triggering refcount saturation and file count warnings. A local user able to trigger this fault-allocation failure path through the iommufd interface could use this flaw to leak kernel memory and cause kernel warnings, impacting system availability; no confidentiality or integrity impact is expected. For this reason Red Hat rates this flaw Low severity, and the Red Hat CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects availability-only impact. This differs from the CVE.org score of 7.8, which assigns high confidentiality and integrity impacts that the available technical evidence does not support. Red Hat Enterprise Linux 9 kernel and kernel-rt are affected; because of the low severity and the limited, local availability-only impact of this error-path flaw, the fix is deferred to a future Red Hat Enterprise Linux 9 update, leaving a residual risk of kernel warnings and memory leaks when the error path is triggered. Red Hat Enterprise Linux 6, 7, and 8 and the Hosted OpenShift (ARO/OSD) streams are not affected by this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-56624.

References

Check your stackJSON