{"id":"CVE-2026-46119","summary":"libceph: Fix slab-out-of-bounds access in auth message processing","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix slab-out-of-bounds access in auth message processing\n\nIf a (potentially corrupted) message of type CEPH_MSG_AUTH_REPLY\ncontains a positive value in its result field, it is treated as an\nerror code by ceph_handle_auth_reply() and returned to\nhandle_auth_reply(). Thereafter, an attempt is made to send the\npreallocated message of type CEPH_MSG_AUTH, where the returned value is\ninterpreted as the size of the front segment to send. If the result\nvalue in the message is greater than the size of the memory buffer\nallocated for the front segment, an out-of-bounds access occurs, and\nthe content of the memory region beyond this buffer is sent out.\n\nThis patch fixes the issue by treating only negative values in the\nresult field as errors. Positive values are therefore treated as success\nin the same way as a zero value. Additionally, a BUG_ON is added to\n__send_prepared_auth_request() comparing the len parameter to\nfront_alloc_len to prevent sending the message if it exceeds the bounds\nof the allocation and to make it easier to catch any logic flaws leading\nto this.","modified":"2026-07-02T09:29:16.889789373Z","published":"2026-05-28T09:35:34.543Z","related":["SUSE-SU-2026:2722-1","openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46119.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c439de70b1c3eb3c6bffa8245c16b9fc318f114"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ae0afd98432536562fa8261538ae795446f0589"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38fdf04c602d52c42c67fc1617211492753b7e8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/408e85ee708b6aa03eeb0220ffa0915f4d407181"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8517b6c8d2c759918ba0058cb6c7e14d59643202"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7df9fbd4869fdfe09a3f501ffd228486521e062"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2374b92c729d0388a538b3cde7b3e3b5e55ef39"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46119.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46119"},{"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":"4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc"},{"fixed":"c2374b92c729d0388a538b3cde7b3e3b5e55ef39"},{"fixed":"38fdf04c602d52c42c67fc1617211492753b7e8b"},{"fixed":"2ae0afd98432536562fa8261538ae795446f0589"},{"fixed":"408e85ee708b6aa03eeb0220ffa0915f4d407181"},{"fixed":"b7df9fbd4869fdfe09a3f501ffd228486521e062"},{"fixed":"8517b6c8d2c759918ba0058cb6c7e14d59643202"},{"fixed":"1c439de70b1c3eb3c6bffa8245c16b9fc318f114"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46119.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.88"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46119.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}