Skip to main content
← All vulnerabilities
CVE-2026-23447

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.15, 4.20, 5.5
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: net: usb: cdc_ncm: add ndpoffset to NDP32 nframes bounds check The same bounds-check bug fixed for NDP16 in the previous patch also exists in cdc_ncm_rx_verify_ndp32(). The DPE array size is validated against the total skb length without accounting for ndpoffset, allowing out-of-bounds reads when the NDP32 is placed near the end of the NTB. Add ndpoffset to the nframes bounds check and use struct_size_t() to express the NDP-plus-DPE-array size more clearly. Compile-tested only.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.14.317 · fixed in 4.15; From 4.19.285 · fixed in 4.20; From 5.4.245 · fixed in 5.5

  • Linux Linux

    5.7

References 6

git.kernel.org