diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-10-26 16:11:05 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-26 16:11:05 -0700 |
| commit | 61a56877b2e41c581672716721101a41762b18c4 (patch) | |
| tree | 3376ebba565481917cb7b131e9c1ae218ef98363 /include/linux/timerqueue.h | |
| parent | 306f788134a21a3d60c1eb872d0ec0ce7c7e09bc (diff) | |
| parent | efee699f6de06611234ef9b0abd52db1340e5452 (diff) | |
Merge branch 'net-usb-pegasus-fix-receive-length-handling'
Wei Jie Law says:
====================
net: usb: pegasus: fix receive length handling
Two fixes for read_bulk_callback(), both reachable by a USB device that
identifies itself as a Pegasus II adapter.
Patch 1 fixes an out-of-bounds write: on the 0x8513, every frame that
is dropped because of an oversized length field advances the receive
buffer by two bytes, until the host controller writes past the end of
the skb data area.
Patch 2 drops frames whose claimed length exceeds the data actually
received, or is shorter than an Ethernet header, instead of passing
stale or uninitialized buffer contents up the stack.
Both bugs need a malicious or emulated USB device, which
Documentation/process/threat-model.rst treats as a regular bug rather
than a vulnerability, so they are posted publicly.
====================
Link: https://patch.msgid.link/20261021020310.34045-1-law.wei.jie@gt.tech.gov.sg
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
