CVE-2024-35880

io_uring/kbuf: hold io_buffer_list reference over mmap

State
Published
Severity
7.8 High
Published
May 19, 2024
Updated
Aug 5, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 09f7520048eaaee9709091cd2787966f807da7c5 to before 65938e81df2197203bda4b9a0c477e7987218d66Affected
  • 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 to before 5fd8e2359498043e0b5329a05f02d10a9eb91eb9Affected
  • 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 to before 561e4f9451d65fc2f7eef564e0064373e3019793Affected
  • 6.6.5 to before 6.6.26Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.6.26 through 6.6.*Not affected
  • 6.8.5 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.