# CVE-2024-35880: io\_uring/kbuf: hold io\_buffer\_list reference over mmap

> 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.49% (percentile 35, 2026-11-26)
- **Published:** 2024-05-19T08:34:37.262Z
- **Modified:** 2026-08-05T11:30:38.073Z

## Who should check

- Anyone running Linux \>= 09f7520048eaaee9709091cd2787966f807da7c5, \< 65938e81df2197203bda4b9a0c477e7987218d66; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 5fd8e2359498043e0b5329a05f02d10a9eb91eb9; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 561e4f9451d65fc2f7eef564e0064373e3019793; \>= 6.6.5, \< 6.6.26
- Anyone running Linux 6.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

io\_uring/kbuf: hold io\_buffer\_list reference over mmap

If we look up the kbuf, ensure that it doesn't get unregistered until
after we're done with it. Since we're inside mmap, we cannot safely use
the io\_uring lock. Rely on the fact that we can lookup the buffer list
under RCU now and grab a reference to it, preventing it from being
unregistered until we're done with it. The lookup returns the
io\_buffer\_list directly with it referenced.

## Affected and fixed versions

- Linux: \>= 09f7520048eaaee9709091cd2787966f807da7c5, \< 65938e81df2197203bda4b9a0c477e7987218d66; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 5fd8e2359498043e0b5329a05f02d10a9eb91eb9; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 561e4f9451d65fc2f7eef564e0064373e3019793; \>= 6.6.5, \< 6.6.26 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 6.6.26 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-35880.md
Affected: Linux >= 09f7520048eaaee9709091cd2787966f807da7c5, < 65938e81df2197203bda4b9a0c477e7987218d66; >= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, < 5fd8e2359498043e0b5329a05f02d10a9eb91eb9; >= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, < 561e4f9451d65fc2f7eef564e0064373e3019793; >= 6.6.5, < 6.6.26; Linux …
Fixed in: Linux 65938e81df2197203bda4b9a0c477e7987218d66, Linux 5fd8e2359498043e0b5329a05f02d10a9eb91eb9, Linux 561e4f9451d65fc2f7eef564e0064373e3019793, Linux 6.6.26

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-35880 being exploited?

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

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

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

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

Linux \>= 09f7520048eaaee9709091cd2787966f807da7c5, \< 65938e81df2197203bda4b9a0c477e7987218d66; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 5fd8e2359498043e0b5329a05f02d10a9eb91eb9; \>= 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252, \< 561e4f9451d65fc2f7eef564e0064373e3019793; \>= 6.6.5, \< 6.6.26; Linux 6.7.

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

Yes. Fixed in Linux 65938e81df2197203bda4b9a0c477e7987218d66, Linux 5fd8e2359498043e0b5329a05f02d10a9eb91eb9, Linux 561e4f9451d65fc2f7eef564e0064373e3019793, Linux 6.6.26. Upgrade Linux to 6.6.26 or later.

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

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/65938e81df2197203bda4b9a0c477e7987218d66>
- patch: <https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9>
- patch: <https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793>

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

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