New from Wiz Research: Critical NGINX flaw. Understand the risk and impact.

CVE-2026-99304: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-99304 is an integer overflow vulnerability in the Linux kernel's Ceph filesystem client, specifically in the ceph_update_snap_trace() function's snap trace bounds check. The flaw affects Linux kernel versions from 2.6.34 onward, with fixes backported to stable branches at 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. It was disclosed on November 16, 2026, and is rated Medium severity with an EPSS score of 0.00209 (GitHub Advisory, Feedly).

Technical details

The root cause is an integer overflow (CWE-190) in ceph_update_snap_trace() within fs/ceph/snap.c. When computing the expected size of two encoded snapid arrays following a struct ceph_mds_snap_realm, the expression sizeof(u64) * (num_snaps + num_prior_parent_snaps) evaluates the addition in unsigned int before promotion to size_t. A malicious or compromised MDS can send num_snaps = 1 and num_prior_parent_snaps = 0xffffffff, causing the sum to wrap to zero, which makes the bounds check ceph_decode_need(&p, e, 0, bad) always pass. Subsequently, dup_array() performs an out-of-bounds heap read of num_snaps * 8 bytes past the end of the allocated message front buffer, as confirmed by KASAN reporting a slab-out-of-bounds read at fs/ceph/snap.c:500. The fix replaces the vulnerable arithmetic with size_add()/size_mul() calls that saturate at SIZE_MAX rather than wrapping, consistent with the approach already used in fs/ceph/mdsmap.c (GitHub Advisory).

Impact

Successful exploitation allows an unauthenticated attacker — operating as or through a malicious or compromised Ceph MDS — to trigger out-of-bounds reads from kernel heap memory, potentially disclosing sensitive kernel memory contents. The vulnerability is reachable via unsolicited CEPH_MSG_CLIENT_SNAP messages, MDS reply snaptraces, and cap import snaptraces, requiring no client-side action. The primary impact is confidentiality loss through kernel memory disclosure; there is no direct evidence of code execution or availability impact from this specific flaw (GitHub Advisory, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score is 0.00209, indicating a low probability of exploitation in the near term. Exploitation requires the ability to send crafted Ceph protocol messages to a vulnerable kernel client, either by controlling an MDS or by being positioned on the network to inject unsolicited CEPH_MSG_CLIENT_SNAP messages (Feedly, GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify Linux systems running the Ceph kernel client (kernel versions 2.6.34 through the unpatched stable branches) that are connected to a Ceph cluster or reachable via the Ceph messenger protocol.
  2. Gain MDS control or network position: Either compromise or control a Ceph MDS, or position on the network to inject unsolicited CEPH_MSG_CLIENT_SNAP messages to the target kernel client.
  3. Craft malicious snap trace message: Construct a CEPH_MSG_CLIENT_SNAP message containing a ceph_mds_snap_realm structure with num_snaps = 1 and num_prior_parent_snaps = 0xffffffff, causing the integer overflow in the bounds check.
  4. Trigger out-of-bounds read: Send the crafted message to the target. The overflowed sum evaluates to zero, bypassing the ceph_decode_need check, and dup_array() reads 8 bytes past the end of the allocated message front buffer.
  5. Harvest disclosed memory: Collect the out-of-bounds kernel heap data returned or observable through side channels to extract sensitive kernel memory contents (GitHub Advisory, Feedly).

Indicators of compromise

  • Logs: Kernel logs containing KASAN reports referencing slab-out-of-bounds in dup_array at fs/ceph/snap.c:500; stack traces involving ceph_update_snap_trace, ceph_handle_snap, mds_dispatch, and ceph_con_workfn.
  • Network: Unexpected or unsolicited CEPH_MSG_CLIENT_SNAP messages originating from unknown or unauthorized MDS endpoints; anomalous Ceph messenger traffic with malformed snap realm structures.
  • Process: Unusual activity in kworker threads associated with the ceph-msgr workqueue; repeated workqueue processing of Ceph connection events from unexpected sources.

Mitigation and workarounds

Apply the kernel patches that fix the integer overflow by replacing the vulnerable arithmetic with size_add()/size_mul() calls. Fixed commits are available for multiple stable branches: bf8f138 (one branch), f0dbd6b (another branch), 25ae517 (another branch), and b3bf897 (another branch), with stable releases at kernel versions 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1 (GitHub Advisory). As a workaround where patching is not immediately possible, restrict network access to prevent untrusted or unauthorized MDS connections from reaching the kernel Ceph client, and ensure only trusted MDS nodes can communicate with client systems.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Affected

sid

linux: 7.3.4-1

Fixed

trixie

linux: 6.12.117-1

Fixed

Ubuntu

Affected

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99310HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux
NoYesNov 16, 2026
CVE-2026-99308MEDIUM6.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-4.15
NoYesNov 16, 2026
CVE-2026-99299MEDIUM4.6
  • Linux Kernel logoLinux Kernel
  • linux-gcp
NoYesNov 16, 2026
CVE-2026-99304NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesNov 16, 2026
CVE-2026-99302NONEN/A
  • Linux Kernel logoLinux Kernel
  • libbpf
NoYesNov 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management