KernelScan.io

HIGH Introduced in 6.12

skbuff Devmem Leak

CVE-2026-99030

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

KernelScan AI8.2HIGH

01

In the Linux kernel, the following vulnerability has been resolved: net: skbuff: don't leave stale bytes in skb_copy_and_csum_bits() When skb_copy_and_csum_bits() reaches unreadable frags it returns 0 after copying only the linear part, and the rest of the caller's buffer is left as it was. The callers copy into a buffer that is about to go out on the wire: an ICMP error quoting the offending packet, or a driver's TX bounce buffer in skb_copy_and_csum_dev(). Neither buffer is zeroed beforehand, so whatever was in memory there gets sent. Zero the part of the buffer we didn't fill. The checksum usually won't match the data any more, so the receiver will usually drop the packet, but either way it no longer carries anything it shouldn't. Only zero for a positive @len, a negative one from a broken caller must not turn into a huge memset().

02

Engine v0.9.0

Risk summary

A remote attacker can leak kernel memory contents by sending network packets that trigger ICMP error generation or driver TX bounce buffers when device memory TCP (devmem skbs) is in use. The kernel sends uninitialized buffer contents containing stale kernel memory on the wire, exposing pointers and other sensitive data to anyone observing the network traffic.

Affectednet/core/skbuff.c (core networking)

Vulnerability analysis

When the kernel handles packets that use device memory for their data fragments, a core networking function copies only the directly accessible portion of the packet and stops when it reaches the device memory sections. The buffer used to build the outgoing response — either an ICMP error message quoting the original packet or a driver's transmit bounce buffer — is not cleared first, so the unfilled portion still contains whatever kernel data was previously stored there. This leftover data goes out on the network with a mismatched checksum, so normal receivers discard the packet, but anyone monitoring the traffic can still capture the exposed kernel memory. The fix clears the unused portion of the buffer before returning, preventing the leak. The flaw can be triggered remotely by sending packets that cause the kernel to generate ICMP errors or use transmit bounce buffers on a system where device memory TCP is active, without needing any local access or user interaction.

03

BranchIntroducedFixed inPatch commit
6.126.126.12.1135f19b9cfff79
6.186.126.18.575551399751e2
7.26.127.2.1139d1a6b60183
mainline6.127.3ab9414ed70bd
cip/6.126.126.12.114-cip345f19b9cfff79

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34