Linux
Bluetooth: HIDP: fix missing length checks in hidp_input_report()
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: HIDP: fix missing length checks in hidp_input_report() hidp_input_report() reads keyboard and mouse payload data from an skb without first verifying that skb->len contains enough data. hidp_recv_intr_frame() pulls the 1-byte HIDP header before dispatching to hidp_input_report(). If a paired device sends a truncated packet, the handler reads beyond the valid skb data, resulting in an out-of-bounds read of skb data. The OOB bytes may be interpreted as phantom key presses or spurious mouse movement. Replace the open-coded length tracking and pointer arithmetic with skb_pull_data() calls. skb_pull_data() returns NULL if the requested bytes are not present, eliminating the need for a manual size variable and the separate skb->len guard.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1f08a90013e1e632b34321334e861fcefc056505
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cc3832b19f863e3677c5651f001a2e3795f39eb8
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d313683d6ccdd8c01e0562270a2ae25b86d8461d
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d7d6a81b8dd1a8d084a1b755db9406041d53adb5
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6348dfed5b0f9c6074f14322332e97493d32fef0
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b83dcacd2ec7fcc5a48be215f82d573759f87ec2
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2a3ac9ee11dbb9845f3947cef4a79dba658cf6f6
Fixed in 1f08a90013e1e632b34321334e861fcefc056505, cc3832b19f863e3677c5651f001a2e3795f39eb8, d313683d6ccdd8c01e0562270a2ae25b86d8461d, d7d6a81b8dd1a8d084a1b755db9406041d53adb5, 6348dfed5b0f9c6074f14322332e97493d32fef0, b83dcacd2ec7fcc5a48be215f82d573759f87ec2, 2a3ac9ee11dbb9845f3947cef4a79dba658cf6f6
- 2.6.12
Fixed in 0, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to 1f08a90013e1e632b34321334e861fcefc056505 or cc3832b19f863e3677c5651f001a2e3795f39eb8 or d313683d6ccdd8c01e0562270a2ae25b86d8461d or d7d6a81b8dd1a8d084a1b755db9406041d53adb5 or 6348dfed5b0f9c6074f14322332e97493d32fef0 or b83dcacd2ec7fcc5a48be215f82d573759f87ec2 or 2a3ac9ee11dbb9845f3947cef4a79dba658cf6f6 or later.
Upgrade Linux to 0 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.