CVE-2026-100052

net: skbuff: don't BUG() on a bad csum_start in skb_copy_and_csum_dev()

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: skbuff: don't BUG() on a bad csum_start in skb_copy_and_csum_dev()

skb_copy_and_csum_dev() copies everything up to the checksum start out
of the linear area, and BUG()s if the checksum start is past the end of
the linear area. It misses the other direction: a CHECKSUM_PARTIAL skb
that has been pulled past its csum_start gives a negative offset, which
gets past the check and becomes a ~4GB copy. It also trusts
csum_offset when it stores the folded checksum. So far
skb_copy_and_csum_bits() BUG()ing on a short skb has covered for that,
but once it returns instead, a bad csum_offset would write past the end
of the caller's buffer.

The function returns void and its callers are drivers copying a frame
into a bounce buffer just before handing it to the hardware. There's
nothing for them to back out of, so check both ends of csum_start and
that the checksum field fits in the frame, and if not, copy the whole
frame with skb_copy_bits() without filling in the checksum, with a
DEBUG_NET_WARN_ON_ONCE() for debug kernels. The frame
goes out with a bad checksum and is dropped by the receiver. If even
that copy fails, zero the buffer so the driver doesn't send stale bytes.

Analysis

AI-generated

Technical impact

The defect resides in the Linux kernel networking stack, where skb_copy_and_csum_dev() does not validate that the checksum start offset stays within the linear portion of a sk_buff. When a previously partially processed buffer has its checksum start moved beyond the linear area, the function interprets this as a negative offset, performs an out‑of‑bounds copy that effectively attempts to copy several gigabytes of data, and writes the folded checksum beyond the supplied buffer. The kernel responds with a BUG() that causes an immediate crash. The effect is a loss of service on the host as the kernel faults and halts due to the fatal error.

Affected Systems

All Linux kernel implementations that include the older skb_copy_and_csum_dev() code before the recent patch are vulnerable. The problem exists across distributions where the kernel has not yet integrated the fix that adds proper bounds checking for the checksum start and offset. As no specific version numbers are provided, affected operating systems should verify that their kernel includes the commit that implements the safe checks or later releases.

Risk and Exploitability

The vulnerability carries a high impact because a trigger leads to a kernel panic and system interruption. No CVSS score or EPSS value is currently available, so quantifying exploitation likelihood is uncertain. The defect is not yet listed in CISA's KEV catalog, indicating no known public exploits. The likely attack vector would require an attacker to cause the kernel networking code to process a crafted packet that forces a CHECKSUM_PARTIAL skb with an invalid checksum start or offset. This typically involves manipulating network traffic that reaches a privileged driver component, suggesting that remote exploitation is possible if an attacker can control network input to the vulnerable host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the skb_copy_and_csum_dev() patch or backport the commit adding proper bounds and offset validation to the currently running kernel.
  • If updating the kernel is not immediately possible, restrict or disable network interfaces that could exercise the faulty checksum path, and use packet filtering or firewall rules to drop malformed packets that could drive the bug.
  • Ensure that any custom or third‑party network drivers are recompiled against the patched kernel to avoid reliance on the old skb_copy_and_csum_dev() behavior and to exercise the new bounds checks.
  • If no patch or driver solution is available, consider changing user‑space routing or proxying solutions to add an intermediate hop that validates packets before they reach the vulnerable kernel paths.

Generated by OpenCVE AI on November 30, 2026 at 16:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: skbuff: don't BUG() on a bad csum_start in skb_copy_and_csum_dev() skb_copy_and_csum_dev() copies everything up to the checksum start out of the linear area, and BUG()s if the checksum start is past the end of the linear area. It misses the other direction: a CHECKSUM_PARTIAL skb that has been pulled past its csum_start gives a negative offset, which gets past the check and becomes a ~4GB copy. It also trusts csum_offset when it stores the folded checksum. So far skb_copy_and_csum_bits() BUG()ing on a short skb has covered for that, but once it returns instead, a bad csum_offset would write past the end of the caller's buffer. The function returns void and its callers are drivers copying a frame into a bounce buffer just before handing it to the hardware. There's nothing for them to back out of, so check both ends of csum_start and that the checksum field fits in the frame, and if not, copy the whole frame with skb_copy_bits() without filling in the checksum, with a DEBUG_NET_WARN_ON_ONCE() for debug kernels. The frame goes out with a bad checksum and is dropped by the receiver. If even that copy fails, zero the buffer so the driver doesn't send stale bytes.
Title net: skbuff: don't BUG() on a bad csum_start in skb_copy_and_csum_dev()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM