AZL-116938: CVE-2026-139188 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: harden qdiscpktlensegsinit() against malicious GSO packets
An SKBGSODODGY packet can carry untrusted gsosize and headers.
For instance, gsosize=1 and hdrlen=65532 for a 524275-byte frame makes qdiscpktlensegsinit() compute an accounted length of about 4,294,574,091 bytes (after gsosegs silently wrapped in a u16).
With DRR quantum 256, the dequeue path then needs ~16.8 million deficit refills before it can dequeue the skb, keeping the CPU in the qdisc path long enough to trigger the soft-lockup watchdog.
Commit 8f735d64382d ("net/sched: bound qdiscpktlen to prevent qdisc soft lockup") added QDISCPKTLENMAX to bound size table amplification. Use the same bound for DODGY packets:
- Make gsosegs a u32 and drop packets whose segment count does not fit GSOMAXSEGS, instead of silently truncating it.
- Drop packets whose estimated qdiscpktlen() would exceed QDISCPKTLENMAX.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to the soft-lockup condition?
Systems are exposed when their kernel processes malicious SKB_GSO_DODGY packets through the qdisc path. The described outcome is CPU time being held in qdisc processing long enough to trigger the soft-lockup watchdog.
What packet properties are needed to trigger the issue?
The packet must carry untrusted GSO metadata that causes an excessive estimated packet length or a segment count that silently wraps when truncated to a 16-bit value. The example uses gso_size of 1 and a header length of 65532 for a 524275-byte frame.
How does the resolved code prevent exploitation?
The fix uses a 32-bit segment count and drops packets whose segment count exceeds GSO_MAX_SEGS. It also drops DODGY packets whose estimated qdisc packet length exceeds QDISC_PKT_LEN_MAX.