← CVE Intelligence

CVE-2024-35880

io_uring/kbuf: hold io_buffer_list reference over mmap PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 09f7520048eaaee9709091cd2787966f807da7c5 before 65938e81df2197203bda4b9a0c477e7987218d66; affected 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 before 5fd8e2359498043e0b5329a05f02d10a9eb91eb9; affected 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 before 561e4f9451d65fc2f7eef564e0064373e3019793; affected 6.6.5 before 6.6.26
Linux / Linuxaffected 6.7; unaffected 0 before 6.7; unaffected 6.6.26 through 6.6.*; unaffected 6.8.5 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.