Linux
Bluetooth: ISO: fix UAF in iso_recv_frame
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: fix UAF in iso_recv_frame iso_recv_frame reads conn->sk under iso_conn_lock but releases the lock before using sk, with no reference held. A concurrent iso_sock_kill() can free sk in that window, causing use-after-free on sk->sk_state and sock_queue_rcv_skb(). Fix by replacing the bare pointer read with iso_sock_hold(conn), which calls sock_hold() while the spinlock is held, atomically elevating the refcount before the lock drops. Add a drop_put label so sock_put() is called on all exit paths where the hold succeeded.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < c57ea90f203c8b8b41a474f19a09000d0f841436
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 119fb6f80c44dc1c65d604cf28e64c56bd9b6568
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < b04ec131325baf4ea4577d6c6e6b86cf092e3731
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < c318aa51830a3d2cc1229968fe521441c97356cd
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 1a6b803b00ccdd7666506adbe01ddae1c72d1ca9
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 47f23a259517abbdb8032c057a1e8a6bf3734878
Fixed in c57ea90f203c8b8b41a474f19a09000d0f841436, 119fb6f80c44dc1c65d604cf28e64c56bd9b6568, b04ec131325baf4ea4577d6c6e6b86cf092e3731, c318aa51830a3d2cc1229968fe521441c97356cd, 1a6b803b00ccdd7666506adbe01ddae1c72d1ca9, 47f23a259517abbdb8032c057a1e8a6bf3734878
- 6.0
Fixed in 0, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to c57ea90f203c8b8b41a474f19a09000d0f841436 or 119fb6f80c44dc1c65d604cf28e64c56bd9b6568 or b04ec131325baf4ea4577d6c6e6b86cf092e3731 or c318aa51830a3d2cc1229968fe521441c97356cd or 1a6b803b00ccdd7666506adbe01ddae1c72d1ca9 or 47f23a259517abbdb8032c057a1e8a6bf3734878 or later.
Upgrade Linux to 0 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.