{"id":"CVE-2023-54041","summary":"io_uring: fix memory leak when removing provided buffers","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix memory leak when removing provided buffers\n\nWhen removing provided buffers, io_buffer structs are not being disposed\nof, leading to a memory leak. They can't be freed individually, because\nthey are allocated in page-sized groups. They need to be added to some\nfree list instead, such as io_buffers_cache. All callers already hold\nthe lock protecting it, apart from when destroying buffers, so had to\nextend the lock there.","modified":"2026-04-02T09:45:31.810458Z","published":"2025-12-24T10:56:06.858Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54041.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/ac48787f58d1068f4e06d627c1135784d64b4c72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4a72c0589fdea6259720375426179888969d6a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c117c15927772d1624c29c092b6bd3f47c7faa48"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54041.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54041"},{"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":"cc3cec8367cba76a8ae4c271eba8450f3efc1ba3"},{"fixed":"ac48787f58d1068f4e06d627c1135784d64b4c72"},{"fixed":"c117c15927772d1624c29c092b6bd3f47c7faa48"},{"fixed":"b4a72c0589fdea6259720375426179888969d6a2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54041.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"6.1.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54041.json"}}],"schema_version":"1.7.5"}