In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: Hold the listener during disconnect notification An ISO listener...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12linux |
All versions→ Not listed |
Not listed |
| Debian:13linux |
All versions→ Not listed |
Not listed |
| Debian:14linux |
< 7.3.6-1→ 7.3.6-1 |
7.3.6-1 |
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: Hold the listener during disconnect notification An ISO listener must remain alive until a queued child's disconnect notification completes. bt_accept_enqueue() retains only the child and stores a raw parent pointer; iso_conn_ready() drops its temporary listener reference after setup. iso_chan_del() saves that pointer, unlinks the child and then calls parent->sk_data_ready() without holding a listener reference. With an incoming CIS child still queued, disconnect and listener release can proceed in this order: HCI disconnect Listener release iso_conn_del(): lock child iso_chan_del(): save parent bt_accept_unlink(child) iso_sock_cleanup_listen(): drain empty accept queue iso_sock_release(): orphan and kill listener final sock_put(listener) parent->sk_data_ready(parent) After unlink, listener cleanup no longer has to take the child socket lock. The listener can therefore be freed before iso_chan_del() reads sk_data_ready, causing a use-after-free. Take a temporary parent reference before bt_accept_unlink() and drop it after the notification. The child lock excludes accept dequeue while the child is still queued, so listener cleanup cannot complete before sock_hold(). The reference the…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org