CVE-2026-46119: libceph: Fix slab-out-of-bounds access in auth message processing
In the Linux kernel, the following vulnerability has been resolved:
libceph: Fix slab-out-of-bounds access in auth message processing
If a (potentially corrupted) message of type CEPHMSGAUTHREPLY contains a positive value in its result field, it is treated as an error code by cephhandleauthreply() and returned to handleauthreply(). Thereafter, an attempt is made to send the preallocated message of type CEPHMSGAUTH, where the returned value is interpreted as the size of the front segment to send. If the result value in the message is greater than the size of the memory buffer allocated for the front segment, an out-of-bounds access occurs, and the content of the memory region beyond this buffer is sent out.
This patch fixes the issue by treating only negative values in the result field as errors. Positive values are therefore treated as success in the same way as a zero value. Additionally, a BUGON is added to sendpreparedauthrequest() comparing the len parameter to frontalloclen to prevent sending the message if it exceeds the bounds of the allocation and to make it easier to catch any logic flaws leading to this.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.141.1-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.180-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46119?
The severity of CVE-2026-46119 is critical with a score of 9.1.
How do I fix CVE-2026-46119?
To fix CVE-2026-46119, you should update your Linux kernel to the latest version that resolves this vulnerability.
What type of vulnerability is CVE-2026-46119?
CVE-2026-46119 is a slab-out-of-bounds access vulnerability in the libceph component of the Linux kernel.
What systems are affected by CVE-2026-46119?
CVE-2026-46119 affects the Linux kernel, including distributions like Debian and specific Microsoft azure kernels.
When was CVE-2026-46119 published?
CVE-2026-46119 was published on May 28, 2026.