Bluetooth: L2CAP: validate connectionless PSM length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ae69dca122f6d6046a68cf40153e6e827c77ff5c, Kernel 22fc1ce4e37c81d4e7aac01566ebdc232214540d, Kernel 3502ede8aed3c3ee1786d952a11054ac737d1a38 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: validate connectionless PSM length Connectionless L2CAP frames carry a two-byte PSM at the start of the payload. l2cap_recv_frame() currently reads that PSM unconditionally after validating only the outer L2CAP length. A malformed connectionless frame with a zero- or one-byte payload can therefore make the parser read beyond the advertised skb payload and use tailroom bytes as part of the PSM. A VHCI-backed QEMU reproducer injected a one-byte connectionless payload and reached the unchecked read. Reject connectionless frames that cannot contain the PSM before reading or pulling it. This preserves all valid connectionless frames while dropping only structurally incomplete packets.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ae69dca122f6d6046a68cf40153e6e827c77ff5c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <22fc1ce4e37c81d4e7aac01566ebdc232214540d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3502ede8aed3c3ee1786d952a11054ac737d1a38, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <72e26293a231f63a856340d3a1f0f5fc29bf87e5, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8104cd9859b6de0826cffa68adf2c1461185823b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9448e6f693fcf1f0ac4ee648a9b2cc83bfe4a982, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a40a5f922546b3bd7c094d882b29177db4f2abe0, =2.6.12 | ae69dca122f6d6046a68cf40153e6e827c77ff5c, 22fc1ce4e37c81d4e7aac01566ebdc232214540d, 3502ede8aed3c3ee1786d952a11054ac737d1a38, 72e26293a231f63a856340d3a1f0f5fc29bf87e5, 8104cd9859b6de0826cffa68adf2c1461185823b, 9448e6f693fcf1f0ac4ee648a9b2cc83bfe4a982, a40a5f922546b3bd7c094d882b29177db4f2abe0 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=2.6.12 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket