CVE-2026-99304
ceph: fix integer overflow in the snap trace bounds check
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b4e69d35322036487941d32fd4055deb6a49f267; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 63560ef6e6bd060414fe67fc2d1c89008184ad17; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 442b879c34020ae8034626c83192f94bf6e048e0; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < dc59983d1a4c8968645c7005f843ec6d8c86291e; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < bf8f13872959af1d87e36b7d27096a09fdcf6e47; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < f0dbd6b9b05e919ebab668f3479aebbcd2431fce; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 25ae51760b751d170e29425b7851ee577e2cd5ba; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b3bf89767e3ca9506f1c7167cac97c41ec254d42
- Anyone running Linux 2.6.34
Vulnerability facts
- Affected
- Linux >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b4e69d35322036487941d32fd4055deb6a49f267; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 63560ef6e6bd060414fe67fc2d1c89008184ad17; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 442b879c34020ae8034626c83192f94bf6e048e0; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < dc59983d1a4c8968645c7005f843ec6d8c86291e; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < bf8f13872959af1d87e36b7d27096a09fdcf6e47; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < f0dbd6b9b05e919ebab668f3479aebbcd2431fce; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 25ae51760b751d170e29425b7851ee577e2cd5ba; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b3bf89767e3ca9506f1c7167cac97c41ec254d42; Linux 2.6.34
- Fixed in
- Linux 63560ef6e6bd060414fe67fc2d1c89008184ad17, Linux 442b879c34020ae8034626c83192f94bf6e048e0, Linux 25ae51760b751d170e29425b7851ee577e2cd5ba
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.76% chance of exploitation in 30 days (percentile 51, 2026-11-28)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix integer overflow in the snap trace bounds check ceph_update_snap_trace() bounds the two encoded snapid arrays that follow a struct ceph_mds_snap_realm with sizeof(u64) * (num_snaps + num_prior_parent_snaps). Both counts come straight off the wire as __le32, so the addition is evaluated in unsigned int and wraps before sizeof(u64) promotes it to size_t: an MDS sending num_snaps = 1 and num_prior_parent_snaps = 0xffffffff makes the sum zero and the check degenerates to ceph_decode_need(&p, e, 0, bad), which always passes. dup_array() then reads num_snaps * 8 bytes past the end of the message front, which ceph_msg_new2() allocates at exactly front_len bytes. An unsolicited CEPH_MSG_CLIENT_SNAP reaches this from a malicious or compromised MDS with no client-side action, as do the snaptraces carried in an MDS reply and in a cap import. Compute the length with size_add()/size_mul() so it saturates at SIZE_MAX instead of wrapping, in the style fs/ceph/mdsmap.c already uses for num_export_targets. BUG: KASAN: slab-out-of-bounds in dup_array (include/linux/unaligned.h:28 fs/ceph/snap.c:500) Read of size 8 at addr ffff8880102a16c8 by task kworker/1:2/129 Workqueue: ceph-msgr ceph_con_workfn Call Trace: dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120) print_report (mm/kasan/report.c:378 mm/kasan/report.c:482) kasan_report (mm/kasan/report.c:595) dup_array (include/linux/unaligned.h:28 fs/ceph/snap.c:500) ceph_update_snap_trace (fs/ceph/snap.c:836) ceph_handle_snap (fs/ceph/snap.c:1155) mds_dispatch (fs/ceph/mds_client.c:7234) ceph_con_process_message (net/ceph/messenger.c:1424) ceph_con_v1_try_read (net/ceph/messenger_v1.c:1430) ceph_con_workfn (net/ceph/messenger.c:1576) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) ... The buggy address is located 0 bytes to the right of allocated 72-byte region [ffff8880102a1680, ffff8880102a16c8)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b4e69d35322036487941d32fd4055deb6a49f267; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 63560ef6e6bd060414fe67fc2d1c89008184ad17; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 442b879c34020ae8034626c83192f94bf6e048e0; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < dc59983d1a4c8968645c7005f843ec6d8c86291e; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < bf8f13872959af1d87e36b7d27096a09fdcf6e47; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < f0dbd6b9b05e919ebab668f3479aebbcd2431fce; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 25ae51760b751d170e29425b7851ee577e2cd5ba; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b3bf89767e3ca9506f1c7167cac97c41ec254d42 | — | cvelist |
| Linux | 2.6.34 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99304. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99304.md Affected: Linux >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b4e69d35322036487941d32fd4055deb6a49f267; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 63560ef6e6bd060414fe67fc2d1c89008184ad17; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 442b879c34020ae8034626c83192f94bf6e048e0; >= 963b61eb041e8850807d95f… Fixed in: Linux 63560ef6e6bd060414fe67fc2d1c89008184ad17, Linux 442b879c34020ae8034626c83192f94bf6e048e0, Linux 25ae51760b751d170e29425b7851ee577e2cd5ba 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.
Technologies
References
Other
- https://git.kernel.org/stable/c/b4e69d35322036487941d32fd4055deb6a49f267
- https://git.kernel.org/stable/c/63560ef6e6bd060414fe67fc2d1c89008184ad17
- https://git.kernel.org/stable/c/442b879c34020ae8034626c83192f94bf6e048e0
- https://git.kernel.org/stable/c/dc59983d1a4c8968645c7005f843ec6d8c86291e
- https://git.kernel.org/stable/c/bf8f13872959af1d87e36b7d27096a09fdcf6e47
- https://git.kernel.org/stable/c/f0dbd6b9b05e919ebab668f3479aebbcd2431fce
- https://git.kernel.org/stable/c/25ae51760b751d170e29425b7851ee577e2cd5ba
- https://git.kernel.org/stable/c/b3bf89767e3ca9506f1c7167cac97c41ec254d42
FAQ
Is CVE-2026-99304 being exploited?
There is no confirmed exploitation: CVE-2026-99304 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99304?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-99304?
Linux >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b4e69d35322036487941d32fd4055deb6a49f267; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 63560ef6e6bd060414fe67fc2d1c89008184ad17; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 442b879c34020ae8034626c83192f94bf6e048e0; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < dc59983d1a4c8968645c7005f843ec6d8c86291e; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < bf8f13872959af1d87e36b7d27096a09fdcf6e47; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < f0dbd6b9b05e919ebab668f3479aebbcd2431fce; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < 25ae51760b751d170e29425b7851ee577e2cd5ba; >= 963b61eb041e8850807d95f8d7a4c6a454c45000, < b3bf89767e3ca9506f1c7167cac97c41ec254d42; Linux 2.6.34.
Is there a fix for CVE-2026-99304?
Yes. Fixed in Linux 63560ef6e6bd060414fe67fc2d1c89008184ad17, Linux 442b879c34020ae8034626c83192f94bf6e048e0, Linux 25ae51760b751d170e29425b7851ee577e2cd5ba. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99304?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |