CVE-2026-99999 (PwnEscape): IPv4 csum_start Validation Flaw

 

CVE-2026-99999 (PwnEscape): IPv4 csum_start Validation Flaw

Note: This is a technical review based on public sources, including Red Hat, kernel.org, AlmaLinux, Wiz and GitHub. Some sources only show short summaries, so I could not confirm every detail. I flag those points where they come up.

Abstract

CVE-2026-99999 is a missing-validation flaw in the Linux kernel's IPv4 networking stack. It is publicly nicknamed "PwnEscape". If a packet with bad checksum metadata reaches skb_checksum_help(), the function can corrupt the network header . Red Hat classifies the flaw as CWE-787 (out-of-bounds write) that leads to memory corruption, and rates its severity IMPORTANT. A local attacker or an untrusted guest virtual machine can trigger it. The possible consequences are:[access.redhat]

  • Arbitrary code execution on the host.
  • Denial of service (DoS).
  • Memory information disclosure.

Wiz calls the flaw "critical". The gap between the two ratings shows that the assessment depends on the environment.[wiz]

1. Background

In the Linux kernel, every packet is represented by an sk_buff structure. Checksum offload uses the csum_start and csum_offset fields. The kernel documentation says the networking stack is responsible for validating these values. A driver can only check that they are consistent with the packet length and offset . If a device does not support a particular offload, the driver or the stack calls skb_checksum_help .

2. How the Vulnerability Works

  • skb_checksum_help() sums the data from the csum_start position to the end of the packet and folds the result.
  • It then writes the 16-bit result at csum_start + csum_offset.[github]
  • If csum_start points inside or before the IPv4 header, the write corrupts the header itself .
  • According to Wiz, the bug affects kernel versions from 2.6.27 up to the patched stable releases. The Azure Linux 3 kernel (6.6.157.1-1) is among the affected ones.[wiz]

3. Example Scenario

A public PoC repository describes this scenario:[github]

  1. A frame injected through TUN/TAP, or sent by a VM over virtio-net, carries a manipulated csum_start in virtio_net_hdr.
  2. The offset is calculated from the start of the frame.
  3. On the IPv4 output path, skb_checksum_help() trusts this value and writes to the wrong location.
  4. In the repository's demonstration, the IP header length field (IHL=15, 0x4F) in forwarded fragments comes under attacker influence. The payload shifts by 40 bytes and the IP checksum stays valid.

This is the PoC author's own verification. I found no independent confirmation. I am also leaving out detailed exploitation steps here.

Virtualization environments are especially at risk. An untrusted guest can send malformed metadata to the host kernel.[access.redhat]

4. The Fix (Patch)

The fix was written by Michael S. Tsirkin of Red Hat. It was published as commit 6785011f8b16 . It was also backported to stable branches. For example, it appears in the 5.15.223 changelog, dated October 7, 2026 .

The patch adds a helper function that runs before skb_checksum_help is called. The function is named ip_check_csum_start() and checks the following condition :

if (unlikely(skb->csum_start < skb->network_header + ip_hdrlen(skb)))
    /* invalid: return an error */

The old code called skb_checksum_help(skb) directly. The new code first runs err = ip_check_csum_start(skb); and calls skb_checksum_help only if the value is valid . The commit message describes this as a "defense in depth" measure. A more comprehensive validation at packet ingress is not ready yet and is still being worked on .

5. Mitigation and Recommendations

  • Install your distribution's patched kernel and reboot. AlmaLinux released patched kernels on October 16, 2026 . Security pages also exist for RHEL, kernel-rt and Ubuntu.[access.redhat]
  • Patch virtualization hosts first. Packets that untrusted guests send over virtio-net are the main risk.
  • Until you can patch, restrict TUN/TAP access and the network privileges granted to guests. This is general hardening advice. I found no officially confirmed workaround in the sources.
  • Check your distribution's changelog to see whether your kernel version includes the patch.

6. Conclusion

This bug is a typical case of the assumption "the caller has already validated this" turning into a vulnerability. The fix is a small, low-risk bounds check. The lasting solution is a comprehensive validation at ingress, which upstream has not yet completed .

References (main)

  • Red Hat CVE page[access.redhat]
  • kernel.org 5.15.223 ChangeLog
  • GitHub commit 6785011
  • AlmaLinux announcement
  • Wiz vulnerability database[wiz]
  • Kernel sk_buff documentation
  • Public PoC README[github]


Crow

physics, information technologies, author, educator

Post a Comment

Hello, share your thoughts with us.

Previous Post Next Post

Kontaktformular