# CVE-2026-43407: libceph: Fix potential out-of-bounds access in ceph\_handle\_auth\_reply()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **CWE:** CWE-125, CWE-190
- **Published:** 2026-05-08T14:21:46.927Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ea080b21092590122c3f971cf588932cdbf47847; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< edc678e5cd11730a2834b43071d8923f05bc334d; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 6cee34d6669fe176b4259131adb1a145c939b472; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 8bb87547e92dcf0928ed763c60e0ac8d733c3656; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ed024d2f4c79c0eb2464df0fb640610ac301f9a0; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< f9da5c1bbac5c8e33259fe00ed7347438fffa969; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 9f9e2297f45fc2d2524eb104c289d69ddef95665; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< b282c43ed156ae15ea76748fc15cd5c39dc9ab72
- Anyone running Linux 2.6.34

## Description

In the Linux kernel, the following vulnerability has been resolved:

libceph: Fix potential out-of-bounds access in ceph\_handle\_auth\_reply()

This patch fixes an out-of-bounds access in ceph\_handle\_auth\_reply()
that can be triggered by a message of type CEPH\_MSG\_AUTH\_REPLY. In
ceph\_handle\_auth\_reply(), the value of the payload\_len field of such a
message is stored in a variable of type int. A value greater than
INT\_MAX leads to an integer overflow and is interpreted as a negative
value. This leads to decrementing the pointer address by this value and
subsequently accessing it because ceph\_decode\_need() only checks that
the memory access does not exceed the end address of the allocation.

This patch fixes the issue by changing the data type of payload\_len to
u32. Additionally, the data type of result\_msg\_len is changed to u32,
as it is also a variable holding a non-negative length.

Also, an additional layer of sanity checks is introduced, ensuring that
directly after reading it from the message, payload\_len and
result\_msg\_len are not greater than the overall segment length.

BUG: KASAN: slab-out-of-bounds in ceph\_handle\_auth\_reply+0x642/0x7a0 \[libceph\]
Read of size 4 at addr ffff88811404df14 by task kworker/20:1/262

CPU: 20 UID: 0 PID: 262 Comm: kworker/20:1 Not tainted 6.19.2 \#5 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: ceph-msgr ceph\_con\_workfn \[libceph\]
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x76/0xa0
 print\_report+0xd1/0x620
 ? \_\_pfx\_\_raw\_spin\_lock\_irqsave+0x10/0x10
 ? kasan\_complete\_mode\_report\_info+0x72/0x210
 kasan\_report+0xe7/0x130
 ? ceph\_handle\_auth\_reply+0x642/0x7a0 \[libceph\]
 ? ceph\_handle\_auth\_reply+0x642/0x7a0 \[libceph\]
 \_\_asan\_report\_load\_n\_noabort+0xf/0x20
 ceph\_handle\_auth\_reply+0x642/0x7a0 \[libceph\]
 mon\_dispatch+0x973/0x23d0 \[libceph\]
 ? apparmor\_socket\_recvmsg+0x6b/0xa0
 ? \_\_pfx\_mon\_dispatch+0x10/0x10 \[libceph\]
 ? \_\_kasan\_check\_write+0x14/0x30i
 ? mutex\_unlock+0x7f/0xd0
 ? \_\_pfx\_mutex\_unlock+0x10/0x10
 ? \_\_pfx\_do\_recvmsg+0x10/0x10 \[libceph\]
 ceph\_con\_process\_message+0x1f1/0x650 \[libceph\]
 process\_message+0x1e/0x450 \[libceph\]
 ceph\_con\_v2\_try\_read+0x2e48/0x6c80 \[libceph\]
 ? \_\_pfx\_ceph\_con\_v2\_try\_read+0x10/0x10 \[libceph\]
 ? save\_fpregs\_to\_fpstate+0xb0/0x230
 ? raw\_spin\_rq\_unlock+0x17/0xa0
 ? finish\_task\_switch.isra.0+0x13b/0x760
 ? \_\_switch\_to+0x385/0xda0
 ? \_\_kasan\_check\_write+0x14/0x30
 ? mutex\_lock+0x8d/0xe0
 ? \_\_pfx\_mutex\_lock+0x10/0x10
 ceph\_con\_workfn+0x248/0x10c0 \[libceph\]
 process\_one\_work+0x629/0xf80
 ? \_\_kasan\_check\_write+0x14/0x30
 worker\_thread+0x87f/0x1570
 ? \_\_pfx\_\_raw\_spin\_lock\_irqsave+0x10/0x10
 ? \_\_pfx\_try\_to\_wake\_up+0x10/0x10
 ? kasan\_print\_address\_stack\_frame+0x1f7/0x280
 ? \_\_pfx\_worker\_thread+0x10/0x10
 kthread+0x396/0x830
 ? \_\_pfx\_\_raw\_spin\_lock\_irq+0x10/0x10
 ? \_\_pfx\_kthread+0x10/0x10
 ? \_\_kasan\_check\_write+0x14/0x30
 ? recalc\_sigpending+0x180/0x210
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork+0x3f7/0x610
 ? \_\_pfx\_ret\_from\_fork+0x10/0x10
 ? \_\_switch\_to+0x385/0xda0
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

\[ idryomov: replace if statements with ceph\_decode\_need() for
  payload\_len and result\_msg\_len \]

## Affected and fixed versions

- Linux: \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ea080b21092590122c3f971cf588932cdbf47847; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< edc678e5cd11730a2834b43071d8923f05bc334d; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 6cee34d6669fe176b4259131adb1a145c939b472; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 8bb87547e92dcf0928ed763c60e0ac8d733c3656; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ed024d2f4c79c0eb2464df0fb640610ac301f9a0; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< f9da5c1bbac5c8e33259fe00ed7347438fffa969; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 9f9e2297f45fc2d2524eb104c289d69ddef95665; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< b282c43ed156ae15ea76748fc15cd5c39dc9ab72 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43407. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43407.md
Affected: Linux >= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, < ea080b21092590122c3f971cf588932cdbf47847; >= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, < edc678e5cd11730a2834b43071d8923f05bc334d; >= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, < 6cee34d6669fe176b4259131adb1a145c939b472; >= 4e7a5dcd1bbab6560fbc8ad…
Fixed in: Linux 6cee34d6669fe176b4259131adb1a145c939b472, Linux 8bb87547e92dcf0928ed763c60e0ac8d733c3656, Linux 9f9e2297f45fc2d2524eb104c289d69ddef95665

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43407 being exploited?

There is no confirmed exploitation: CVE-2026-43407 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43407?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-43407?

Linux \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ea080b21092590122c3f971cf588932cdbf47847; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< edc678e5cd11730a2834b43071d8923f05bc334d; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 6cee34d6669fe176b4259131adb1a145c939b472; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 8bb87547e92dcf0928ed763c60e0ac8d733c3656; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< ed024d2f4c79c0eb2464df0fb640610ac301f9a0; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< f9da5c1bbac5c8e33259fe00ed7347438fffa969; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< 9f9e2297f45fc2d2524eb104c289d69ddef95665; \>= 4e7a5dcd1bbab6560fbc8ada29a840e7a20ed7bc, \< b282c43ed156ae15ea76748fc15cd5c39dc9ab72; Linux 2.6.34.

### Is there a fix for CVE-2026-43407?

Yes. Fixed in Linux 6cee34d6669fe176b4259131adb1a145c939b472, Linux 8bb87547e92dcf0928ed763c60e0ac8d733c3656, Linux 9f9e2297f45fc2d2524eb104c289d69ddef95665. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43407?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ea080b21092590122c3f971cf588932cdbf47847>
- patch: <https://git.kernel.org/stable/c/edc678e5cd11730a2834b43071d8923f05bc334d>
- patch: <https://git.kernel.org/stable/c/6cee34d6669fe176b4259131adb1a145c939b472>
- patch: <https://git.kernel.org/stable/c/8bb87547e92dcf0928ed763c60e0ac8d733c3656>
- patch: <https://git.kernel.org/stable/c/ed024d2f4c79c0eb2464df0fb640610ac301f9a0>
- patch: <https://git.kernel.org/stable/c/f9da5c1bbac5c8e33259fe00ed7347438fffa969>
- patch: <https://git.kernel.org/stable/c/9f9e2297f45fc2d2524eb104c289d69ddef95665>
- patch: <https://git.kernel.org/stable/c/b282c43ed156ae15ea76748fc15cd5c39dc9ab72>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43407>

HTML: <https://flawdb.com/CVE-2026-43407> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43407>
