CVE-2026-98602: Bluetooth: bnep: fix out-of-bounds reads on short RX/TX frames and control fallthrough
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 bneprxframe() and bnepctrlframe() (net/bluetooth/bnep/core.c), use pskbmaypull() to verify the BNEP header, control type byte, filter count, and extension headers exist before reading them, and return 0 after handling BNEPCONTROL instead of falling through to Ethernet frame submission when no extension headers follow. 2. In bnepnetxmit() (net/bluetooth/bnep/netdev.c), verify skb->len >= ETHHLEN with pskbmaypull() before reading the 14-byte Ethernet header to prevent an out-of-bounds heap read and infoleak on short AFPACKET TX frames.