CVEvulnerability

CVE-2026-46119

9.1 CRITICAL Published 2026-05-28 Modified 2026-10-19 Official page ↗
Status
Undergoing Analysis
Published
2026-05-28
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125, CWE-787

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.

Affected configurations

• linux linux kernel (>= 2.6.34.1 < 5.15.209) • linux linux kernel (>= 5.16 < 6.1.175) • linux linux kernel (>= 6.2 < 6.6.140) • linux linux kernel (>= 6.7 < 6.12.88) • linux linux kernel (>= 6.13 < 6.18.30) • linux linux kernel (>= 6.19 < 7.0.7) • linux linux kernel 2.6.34

Related

Weakness · CWE (2)

  • CWE-125 Out-of-bounds Read weakness
  • CWE-787 Out-of-bounds Write weakness

References