AZL-116971: CVE-2026-139235 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ibmveth: check headers in the RX large send and checksum helpers

ibmvethrxmsshelper() and ibmvethrxcsumhelper() trust the IP and TCP headers of received frames, which come from another partition on the virtual LAN.

The worst case is an IPv4 frame with ihl 0 and iph->check 0xffff: the checksum helper calls ipfastcsum(iph, 0), and the ppc64 version loops ihl - 1 times on an unsigned count, reading up to 16 GiB in softirq: a long stall, or an oops once the read leaves mapped memory. Both helpers also read and write header fields past the end of a short frame. The large send helper takes the segment size from the TCP checksum field and gsosegs from a TCP header length it never checks, and treats an IPv4 TCP fragment as a large send, which can zero two of its bytes; the checksum helper can write a checksum into a later fragment's payload.

The ihl problem dates from the first commit in Fixes:, the large send helper from the second, and the checksum helper from the third.

Before using a header, check that it fits the frame, that the IPv4 ihl is at least 5, and that an IPv4 TCP frame is not a fragment. In the large send helper, also require a TCP doff of at least 5, TCP payload within the IP length, and an IP length equal to the frame length: Ethernet padding or other bytes past the IP length would otherwise stay in a bridged or switched frame, which the stack does not trim, and be segmented but not counted in gsosegs. Compute gsosegs from the IP length, and keep the segment size at or above TCPMINGSOSIZE, as virtionethdrtoskb() does since commit c27c449d455a ("virtio-net: Ensure that TCP packets don't overflow gsosegs"), and below GSOBYFRAGS, which virtio rejects. With the headers checked and gsosegs computed, the skb is not marked SKBGSODODGY, which would also keep it from hardware TSO on the egress device.

A frame that fails a check is passed up unchanged, without the GSO fields or CHECKSUMUNNECESSARY, so nothing downstream trusts its segment count or checksum. The skb is linear, so the checks use skbheadlen(); pskbmaypull() could reallocate the head under the helpers' header pointers.

Add KUnit cases for both helpers: valid IPv4 and IPv6 large sends, the segment size clamp, and refused frames. With any one of the ihl, doff, IP length, TCP payload, fragment or clamp checks, or the checksum helper's IPv4 options, IPv6 header or TCP header length checks, removed, a case fails; without the checksum helper's ihl check, ipfastcsum() oopses on qemu.

Found by the Sashiko review of the previous version of this series and confirmed by code inspection and the KUnit cases above. Tested with KUnit on qemu pseries (ppc64le) and on a POWER10 LPAR with iperf3 large sends over IPv4 and IPv6 at MTU 1500 and 9000, threaded NAPI and busy polling, with no new drops or InCsumErrors. No kernel selftests cover ibmveth.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:18 PM
Data Sourced
via OSV·02:18 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the ibmveth driver on a virtual LAN are exposed because the affected receive helpers process frames received from another partition. The described worst-case long read loop is specific to the ppc64 implementation of ip_fast_csum().

2

What does an attacker need to do to trigger the vulnerability?

An attacker needs to send malformed IPv4/TCP frames from another partition on the virtual LAN. Examples include an IPv4 header with an invalid IHL value, short frames whose headers do not fit within the frame, or fragmented IPv4 TCP frames.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203