CVE-2026-23447

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

State
Published
Severity
Not scored
Published
Apr 3, 2026
Updated
Sep 14, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0fa81b304a7973a499f844176ca031109487dd31 to before baf246d6680befde2086b1df9eb3aaba3fb6853fAffected
  • 0fa81b304a7973a499f844176ca031109487dd31 to before 125f932a76a97904ef8a555f1dd53e5d0e288c54Affected
  • 0fa81b304a7973a499f844176ca031109487dd31 to before af0d1613d6751489dbf9f69aac1123f0b1e566e5Affected
  • 0fa81b304a7973a499f844176ca031109487dd31 to before a5bd5a2710310c965ea4153cba4210988a3454e2Affected
  • 0fa81b304a7973a499f844176ca031109487dd31 to before de70da1fb1d152e981ecb3157f7ec2b633005c16Affected
  • 0fa81b304a7973a499f844176ca031109487dd31 to before 77914255155e68a20aa41175edeecf8121dac391Affected
  • 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7Affected
  • 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6Affected
  • a270ca35a9499b58366d696d3290eaa4697a42dbAffected
  • 4.14.317 to before 4.15Affected
  • 4.19.285 to before 4.20Affected
  • 5.4.245 to before 5.5Affected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.20 through 6.18.*Not affected
  • 6.19.10 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.