Bluetooth: bnep: fix out-of-bounds reads on short RX/TX frames and control fallthrough
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f0ca020cbb9bb7f3f4ea8ba1dfcf30a282aec91e, Kernel 035f9b1809861967e58ce652680d70ea1502058f, Kernel 1e7aebc188f889b56c3aaeb6133ef6d77022c887 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: fix out-of-bounds reads on short RX/TX frames and control fallthrough Fix multiple out-of-bounds reads in Bluetooth BNEP frame processing: 1. In bnep_rx_frame() and bnep_ctrl_frame() (net/bluetooth/bnep/core.c), use pskb_may_pull() to verify the BNEP header, control type byte, filter count, and extension headers exist before reading them, and return 0 after handling BNEP_CONTROL instead of falling through to Ethernet frame submission when no extension headers follow. 2. In bnep_net_xmit() (net/bluetooth/bnep/netdev.c), verify skb->len >= ETH_HLEN with pskb_may_pull() before reading the 14-byte Ethernet header to prevent an out-of-bounds heap read and infoleak on short AF_PACKET TX frames.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f0ca020cbb9bb7f3f4ea8ba1dfcf30a282aec91e, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <035f9b1809861967e58ce652680d70ea1502058f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1e7aebc188f889b56c3aaeb6133ef6d77022c887, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3e605ff5932afe0970c2beca66f2f1ba2babe4dd, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <667aa703e11cdc237d169393bc6a5ea9acbb33c2, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7af80ad2cebfe2f1879d6a39a1aaa061d9c4e1ca, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8f31031326994d1abfcc6ebb6927ef96e51fb9ff, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ad0d2d4ada51321db787262ef343193c712b76b5, =2.6.12 | f0ca020cbb9bb7f3f4ea8ba1dfcf30a282aec91e, 035f9b1809861967e58ce652680d70ea1502058f, 1e7aebc188f889b56c3aaeb6133ef6d77022c887, 3e605ff5932afe0970c2beca66f2f1ba2babe4dd, 667aa703e11cdc237d169393bc6a5ea9acbb33c2, 7af80ad2cebfe2f1879d6a39a1aaa061d9c4e1ca, 8f31031326994d1abfcc6ebb6927ef96e51fb9ff, ad0d2d4ada51321db787262ef343193c712b76b5 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.55, >=6.19.0 <7.2.9, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=2.6.12 <5.10.271 | 5.15.222, 6.1.189, 6.18.55, 7.2.9, 6.6.158, 6.12.112, 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