Fedora Account System
Red Hat Associate
Red Hat Customer
An out-of-bounds read vulnerability exists in BlueZ btmon's return_link_keys_evt() in monitor/packet.c. The function uses evt->num_keys from an HCI Return Link Keys event (0x15) as a loop bound without validating that (num_keys * 22 + 1) <= size. Crafted btsnoop input (e.g. plen=3, num_keys=85) causes out-of-bounds reads and crashes btmon (stack buffer OOB read; reporter ASan trace). Affects btmon only, not bluetoothd. Upstream: bluez <= 5.87 reported; upstream git master (checked 2026-10-05) still lacks bounds check in return_link_keys_evt(). No upstream fix commit identified. PSIRT ticket: PSIRTSUPT-24932 Reporter: zhailiangliang (Loongson Technology) Verification: docs/SDLC/VM/bluez/psirtsupt-24932/ (static Kaiden analysis)