CVE-2026-23447 net: usb: cdc_ncm: add ndpoffset to NDP32 nframes bounds check
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.14.317 이상 4.15 미만
- 4.19.285 이상 4.20 미만
- 5.4.245 이상 5.5 미만
- 5.7
해결 버전
- 4.15 이상
- 4.20 이상
- 5.5 이상
- 5.7 미만
- 6.1.188 이상
- 6.6.130 이상
- 6.12.78 이상
- 6.18.20 이상
외 1개 구간 펼치기
- 6.19.10 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/125f932a76a97904ef8a555f1dd53e5d0e288c54 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/77914255155e68a20aa41175edeecf8121dac391 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a5bd5a2710310c965ea4153cba4210988a3454e2 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/af0d1613d6751489dbf9f69aac1123f0b1e566e5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/baf246d6680befde2086b1df9eb3aaba3fb6853f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/de70da1fb1d152e981ecb3157f7ec2b633005c16 (새 창)