CVE-2024-35880
Assigner: Linux
Published: 2024-05-19T08:34:37.262Z
State: PUBLISHED
descriptions: value: 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: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 09f7520048ea
lessThan: 65938e81df21
status: affected
versionType: git
version: 5cf4f52e6d8a
lessThan: 5fd8e2359498
status: affected
versionType: git
version: 5cf4f52e6d8a
lessThan: 561e4f9451d6
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 6.7
status: affected
version: 0
lessThan: 6.7
status: unaffected
versionType: custom
version: 6.6.26
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.8.5
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: io_uring/kbuf: hold io_buffer_list reference over mmap
x_generator: engine: bippy-d175d3acf727