Linux
USB: serial: belkin_sa: validate interrupt status length
In the Linux kernel, the following vulnerability has been resolved: USB: serial: belkin_sa: validate interrupt status length The Belkin interrupt callback treats interrupt data as a four-byte status report and reads LSR/MSR fields at offsets 2 and 3. The interrupt-in buffer length is derived from endpoint wMaxPacketSize, and short interrupt transfers may complete successfully with a smaller actual_length. Check the completed interrupt packet length before parsing status fields so short interrupt endpoints and short successful packets are ignored instead of causing out-of-bounds or stale status-byte reads. KASAN report as below: BUG: KASAN: slab-out-of-bounds in belkin_sa_read_int_callback() Read of size 1 Call trace: belkin_sa_read_int_callback() (drivers/usb/serial/belkin_sa.c:202) __usb_hcd_giveback_urb() (drivers/usb/core/hcd.c:1630) dummy_timer() (?:?)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1617539ab90e67da788959bfd314076f093a11a
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f361359a952da15e70e693c2d7dca5c5843eae3e
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 37e54d1b986df35c936d81e5b59a7aa3ec6938f0
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ffb739a49186ea784bbd9cb91b647f062395b419
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6a4602221cba7a738442328d66a2f0b1c9bf6e17
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 22823a319fb2afdf02cacafbed8b613b757efbc8
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db1e7eb6203d534dad64cac2c793b69e561e657b
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4ce058df2ee02cc2a0f0fd5cd64ce6f1482a0b65
Fixed in f1617539ab90e67da788959bfd314076f093a11a, f361359a952da15e70e693c2d7dca5c5843eae3e, 37e54d1b986df35c936d81e5b59a7aa3ec6938f0, ffb739a49186ea784bbd9cb91b647f062395b419, 6a4602221cba7a738442328d66a2f0b1c9bf6e17, 22823a319fb2afdf02cacafbed8b613b757efbc8, db1e7eb6203d534dad64cac2c793b69e561e657b, 4ce058df2ee02cc2a0f0fd5cd64ce6f1482a0b65
- 2.6.12
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to f1617539ab90e67da788959bfd314076f093a11a or f361359a952da15e70e693c2d7dca5c5843eae3e or 37e54d1b986df35c936d81e5b59a7aa3ec6938f0 or ffb739a49186ea784bbd9cb91b647f062395b419 or 6a4602221cba7a738442328d66a2f0b1c9bf6e17 or 22823a319fb2afdf02cacafbed8b613b757efbc8 or db1e7eb6203d534dad64cac2c793b69e561e657b or 4ce058df2ee02cc2a0f0fd5cd64ce6f1482a0b65 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.