{"id":"CVE-2024-35880","summary":"io_uring/kbuf: hold io_buffer_list reference over mmap","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/kbuf: hold io_buffer_list reference over mmap\n\nIf we look up the kbuf, ensure that it doesn't get unregistered until\nafter we're done with it. Since we're inside mmap, we cannot safely use\nthe io_uring lock. Rely on the fact that we can lookup the buffer list\nunder RCU now and grab a reference to it, preventing it from being\nunregistered until we're done with it. The lookup returns the\nio_buffer_list directly with it referenced.","modified":"2026-04-02T11:51:44.683926Z","published":"2024-05-19T08:34:37.262Z","related":["SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35880.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35880.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35880"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"09f7520048eaaee9709091cd2787966f807da7c5"},{"fixed":"65938e81df2197203bda4b9a0c477e7987218d66"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252"},{"fixed":"5fd8e2359498043e0b5329a05f02d10a9eb91eb9"},{"fixed":"561e4f9451d65fc2f7eef564e0064373e3019793"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35880.json"}}],"schema_version":"1.7.5"}