]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-usb-cdc_ncm-add-ndpoffset-to-ndp-nframes-bounds-check'
authorJakub Kicinski <kuba@kernel.org>
Tue, 17 Mar 2026 03:14:50 +0000 (20:14 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Mar 2026 03:14:50 +0000 (20:14 -0700)
tobgaertner says:

====================
net: usb: cdc_ncm: add ndpoffset to NDP nframes bounds check

The nframes bounds check in cdc_ncm_rx_verify_ndp16() and
cdc_ncm_rx_verify_ndp32() does not account for ndpoffset,
allowing out-of-bounds reads when the NDP is placed near the
end of the NTB.
====================

Link: https://patch.msgid.link/20260314054640.2895026-1-tob.gaertner@me.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge