AZL-118304: CVE-2026-143190 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

net: usb: cdcncm: don't underflow the NDP room check

cdcncmndp16() and cdcncmndp32() verify that the new NDP and the datagram fit into the NTB with an unsigned subtraction:

if ((ctx->txcurrsize - skb->len - reserve) < ctx->maxndpsize) return NULL;

Nothing guarantees that skb->len plus the reserve stays below txcurrsize, and when it does not the subtraction wraps around to a huge value, the check passes, and the skbputzero() of maxndpsize bytes that follows overruns the NTB:

skbuff: skboverpanic: text:ffff80000db33558 len:428 put:172 head:ffff0000c2c66100 tail:0x1ac end:0x140 kernel BUG at net/core/skbuff.c:200 skbputzero include/linux/skbuff.h:2595 [inline] cdcncmndp16 drivers/net/usb/cdcncm.c:1132 [inline] cdcncmfilltxframe+0xdf0/0x30e0 drivers/net/usb/cdcncm.c:1309

Here txcurrsize is 0x140 = 320, skb->len is already 256 and the skbputzero() wants another 172 bytes.

Two device controlled settings make this reachable:

- dwNtbOutMaxSize = 320 caps txmax at 320. The lower bound computed in cdcncmchecktxmax() is maxdatagramsize + maxndpsize + the NTH header, but cdcncmsetup() clamps txmax before cdcncmsetdgramsize() runs, so maxdatagramsize is still 0 and the bound is only maxndpsize + the NTH header. It does not reserve room for one datagram plus one NDP.

- wNdpOutAlignment = 256 is accepted by cdcncmfixmodulus() as long as it is smaller than txmax, and cdcncmaligntail() then pads the 12 byte NTH header up to 256 bytes right before this check.

An NDP can also be added to an NTB that already holds datagrams through cdcmbimtxfixup(), which uses a different signature per MBIM session. On plain cdcncm the chain lookup in cdcncmndp16() returns the existing NDP for the single signature, so there the create path is normally reached for the first datagram of each NTB.

Rewrite the test as an addition, which cannot underflow and gives the same answer whenever the original subtraction did not wrap.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In cdc_ncm_ndp16() and cdc_ncm_ndp32(), rewrite the NDP room check as an addition rather than an unsigned subtraction, so the check cannot underflow.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to trigger the overflow?

A CDC NCM USB network device must provide device-controlled settings that make the transmit NTB size too small for an skb and reserved NDP space. The vulnerable path is reached when skb->len plus the reserve exceeds tx_curr_size, causing the unsigned room calculation to wrap and allowing skb_put_zero() to overrun the NTB.

2

Which systems are realistically exposed?

Systems using the Linux kernel's CDC NCM USB network driver are exposed when they communicate with a USB network device whose advertised parameters can create the undersized transmit buffer condition. The described settings, including dwNtbOutMaxSize, are controlled by the connected device.

3

How can I identify a possible occurrence on an affected system?

The reported failure manifests as an skbuff overflow panic, with messages such as "skbuff: skb_over_panic" and a kernel BUG in net/core/skbuff.c during skb_put_zero(). The call path includes cdc_ncm_ndp16() or cdc_ncm_ndp32() and cdc_ncm_fill_tx_frame().

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