# CVE-2024-56624: iommufd: Fix out\_fput in iommufd\_fault\_alloc()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T14:51:27.318Z
- **Modified:** 2026-10-15T22:18:01.677Z

## Who should check

- Anyone running Linux \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d; \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< af7f4780514f850322b2959032ecaa96e4b26472
- Anyone running Linux 6.11

## Description

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.

## Affected and fixed versions

- Linux: \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d; \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< af7f4780514f850322b2959032ecaa96e4b26472 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56624. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56624.md
Affected: Linux >= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, < 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d; >= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, < af7f4780514f850322b2959032ecaa96e4b26472; Linux 6.11
Fixed in: Linux 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56624 being exploited?

There is no confirmed exploitation: CVE-2024-56624 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56624?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56624?

Linux \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d; \>= 07838f7fd529c8a6de44b601d4b7057e6c8d36ed, \< af7f4780514f850322b2959032ecaa96e4b26472; Linux 6.11.

### Is there a fix for CVE-2024-56624?

Yes. Fixed in Linux 2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56624?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d>
- patch: <https://git.kernel.org/stable/c/af7f4780514f850322b2959032ecaa96e4b26472>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56624>

HTML: <https://flawdb.com/CVE-2024-56624> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56624>
