CVE-2026-99030

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

State
Published
Severity
7.5 High
Published
Oct 23, 2026
Updated
Oct 24, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 65249feb6b3df9e17bab5911ee56fa7b0971e231 to before 5f19b9cfff79508e8cb09be40d014cb0807f3854Affected
  • 65249feb6b3df9e17bab5911ee56fa7b0971e231 to before 5551399751e2c9f31e4f3428040985a07e79d9c2Affected
  • 65249feb6b3df9e17bab5911ee56fa7b0971e231 to before 39d1a6b601831237c6038b5e3ac8dbb883c1700aAffected
  • 65249feb6b3df9e17bab5911ee56fa7b0971e231 to before ab9414ed70bd783e902a85c350620dee269bcb2bAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.11 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.