Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-35880

io_uring/kbuf: hold io_buffer_list reference over mmap

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 09f7520048eaaee9709091cd2787966f807da7c5 to < 65938e81df2197203bda4b9a0c477e7987218d66affected
  • 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 to < 5fd8e2359498043e0b5329a05f02d10a9eb91eb9affected
  • 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 to < 561e4f9451d65fc2f7eef564e0064373e3019793affected
  • 6.6.5 to < 6.6.26affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 6.6.26 to ≤ 6.6.*unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References