Bluetooth: ISO: clear iso_data always when detaching conn from hcon
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
c03a10bd5b6ccb22921e04bcddc987410df7e7a9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: ISO: clear iso_data always when detaching conn from hcon
When setting conn->hcon = NULL, also conn->hcon->iso_data = NULL is necessary, otherwise later iso_conn_free() will UAF.
Fix clearing of iso_data in iso_sock_disconn()
Fixes KASAN: slab-use-after-free in iso_conn_hold_unless_zero on iso_sock_release() followed by hci_abort_conn_sync().
From the CVE record · Linux
The Linux kernel Bluetooth ISO code can leave a stale iso_data pointer when detaching a connection. A later connection cleanup can trigger a use-after-free; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with Bluetooth ISO support should check their installations; affected versions are not specified.