Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7af80ad2cebfe2f1879d6a39a1aaa061d9c4e1ca; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 667aa703e11cdc237d169393bc6a5ea9acbb33c2; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3e605ff5932afe0970c2beca66f2f1ba2babe4dd; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 035f9b1809861967e58ce652680d70ea1502058f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1e7aebc188f889b56c3aaeb6133ef6d77022c887; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8f31031326994d1abfcc6ebb6927ef96e51fb9ff; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ad0d2d4ada51321db787262ef343193c712b76b5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f0ca020cbb9bb7f3f4ea8ba1dfcf30a282aec91e |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7af80ad2cebfe2f1879d6a39a1aaa061d9c4e1ca
- https://git.kernel.org/stable/c/667aa703e11cdc237d169393bc6a5ea9acbb33c2
- https://git.kernel.org/stable/c/3e605ff5932afe0970c2beca66f2f1ba2babe4dd
- https://git.kernel.org/stable/c/035f9b1809861967e58ce652680d70ea1502058f
- https://git.kernel.org/stable/c/1e7aebc188f889b56c3aaeb6133ef6d77022c887
- https://git.kernel.org/stable/c/8f31031326994d1abfcc6ebb6927ef96e51fb9ff
- https://git.kernel.org/stable/c/ad0d2d4ada51321db787262ef343193c712b76b5
- https://git.kernel.org/stable/c/f0ca020cbb9bb7f3f4ea8ba1dfcf30a282aec91e