Skip to main content
← All vulnerabilities
CVE-2026-99030EUVD-2026-108825GHSA-2M74-G73V-PV5C

net: skbuff: don't leave stale bytes in skb_copy_and_csum_bits()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.113, 6.18.57, 7.2.11
None on Exploit-DB, Metasploit or GitHub

Summary

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().

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • Linux Linux

    From 65249feb6b3df9e17bab5911ee56fa7b0971e231 · fixed in 5f19b9cfff79508e8cb09be40d014cb0807f3854; From 65249feb6b3df9e17bab5911ee56fa7b0971e231 · fixed in 5551399751e2c9f31e4f3428040985a07e79d9c2; From 65249feb6b3df9e17bab5911ee56fa7b0971e231 · fixed in 39d1a6b601831237c6038b5e3ac8dbb883c1700a; From 65249feb6b3df9e17bab5911ee56fa7b0971e231 · fixed in ab9414ed70bd783e902a85c350620dee269bcb2b

  • Linux Linux

    6.12

  • KernelLinux

    From 6.12.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11

References 4

git.kernel.org