# CVE-2026-23448: net: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-04-03T15:15:31.488Z
- Modified: 2026-11-05T22:18:26.827Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check

cdc_ncm_rx_verify_ndp16() validates that the NDP header and its DPE
entries fit within the skb. The first check correctly accounts for
ndpoffset:

  if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len)

but the second check omits it:

  if ((sizeof(struct usb_cdc_ncm_ndp16) +
       ret * (sizeof(struct usb_cdc_ncm_dpe16))) > skb_in->len)

This validates the DPE array size against the total skb length as if
the NDP were at offset 0, rather than at ndpoffset. When the NDP is
placed near the end of the NTB (large wNdpIndex), the DPE entries can
extend past the skb data buffer even though the check passes.
cdc_ncm_rx_fixup() then reads out-of-bounds memory when iterating
the DPE array.

Add ndpoffset to the nframes bounds check and use struct_size_t() to
express the NDP-plus-DPE-array size more clearly.

(As written by CVE List.)

## Affected

- Linux Linux: from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before 63c35b8fce77a7892e8fa06c540d4943145506eb; from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before f1c7701d3ac91b62d672c13690cf295821f0d5c3; from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before 789204f980730258c983102c027c375238009c80; from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before 403f94ddcb36c552fbef51dea735b131e3dcde8b; from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before dce9dda0e3707e887977db44407989e9ead26611; from ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 before 2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a; 3.8 (not affected: before 3.8; from 6.1.188 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.8 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.10; 7.0

## References

- <https://git.kernel.org/stable/c/63c35b8fce77a7892e8fa06c540d4943145506eb>
- <https://git.kernel.org/stable/c/f1c7701d3ac91b62d672c13690cf295821f0d5c3> (patch)
- <https://git.kernel.org/stable/c/789204f980730258c983102c027c375238009c80> (patch)
- <https://git.kernel.org/stable/c/403f94ddcb36c552fbef51dea735b131e3dcde8b> (patch)
- <https://git.kernel.org/stable/c/dce9dda0e3707e887977db44407989e9ead26611> (patch)
- <https://git.kernel.org/stable/c/2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a> (patch)

## Sources

- CVE List: [CVE-2026-23448](https://www.cve.org/CVERecord?id=CVE-2026-23448), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23448](https://nvd.nist.gov/vuln/detail/CVE-2026-23448), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23448 · Whole record: https://cve.day/CVE-2026-23448.json · Rebuilt by cve.day 2026-11-25T22:59:17.882Z
