CVE-2026-46119

libceph: Fix slab-out-of-bounds access in auth message processing

State
Published
Severity
9.1 Critical
Published
May 28, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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 CEPH_MSG_AUTH_REPLY contains a positive value in its result field, it is treated as an error code by ceph_handle_auth_reply() and returned to handle_auth_reply(). Thereafter, an attempt is made to send the preallocated message of type CEPH_MSG_AUTH, 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 BUG_ON is added to __send_prepared_auth_request() comparing the len parameter to front_alloc_len 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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before c2374b92c729d0388a538b3cde7b3e3b5e55ef39Affected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before 38fdf04c602d52c42c67fc1617211492753b7e8bAffected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before 2ae0afd98432536562fa8261538ae795446f0589Affected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before 408e85ee708b6aa03eeb0220ffa0915f4d407181Affected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before b7df9fbd4869fdfe09a3f501ffd228486521e062Affected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before 8517b6c8d2c759918ba0058cb6c7e14d59643202Affected
  • 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc to before 1c439de70b1c3eb3c6bffa8245c16b9fc318f114Affected
LinuxLinux
  • 2.6.34Affected
  • before 2.6.34Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.