HIGH Introduced in 6.12
skbuff Devmem Leak
CVE-2026-99030
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
KernelScan AI8.2HIGH
01Description
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().
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 6.12 | 6.12.113 | 5f19b9cfff79 |
| 6.18 | 6.12 | 6.18.57 | 5551399751e2 |
| 7.2 | 6.12 | 7.2.11 | 39d1a6b60183 |
| mainline | 6.12 | 7.3 | ab9414ed70bd |
| cip/6.12 | 6.12 | 6.12.114-cip34 | 5f19b9cfff79 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |