Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: hold sk properly in iso_conn_ready sk deref in iso_conn_ready must be done either under conn->lock, or holding a refcount, to avoid concurrent close. conn->sk is currently accessed without either: [Task 1] [Task 2] iso_sock_release iso_conn_ready sk = conn->sk lock_sock(sk) conn->sk = NULL lock_sock(sk) release_sock(sk) iso_sock_kill(sk) UAF on sk deref Fix possible UAF by holding sk refcount in iso_conn_ready(). Also recheck after lock_sock that the socket is still valid. Adjust locking so conn->sk is cleared only under lock_sock.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
27c24fda62b601d6f9ca5e992502578c4310876f to < 622180fe44fb52d4d7bafcd67922959823fec263affected27c24fda62b601d6f9ca5e992502578c4310876f to < 44590dc53c9e949d2fed399a571a89c3d7d0b245affected27c24fda62b601d6f9ca5e992502578c4310876f to < 99b65f0ea3370c13687ff870330c425b6ca44e89affected27c24fda62b601d6f9ca5e992502578c4310876f to < 4e9b5e8669b3602a4e01b6d1e9539b72e42c84d5affected27c24fda62b601d6f9ca5e992502578c4310876f to < 1308d72903d792d10b82bc4ef08b8a4452308b04affected27c24fda62b601d6f9ca5e992502578c4310876f to < 0d255e63fcf3f13a570d7ac11678fa1164ac015caffected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.44 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/622180fe44fb52d4d7bafcd67922959823fec263 ↗
- https://git.kernel.org/stable/c/44590dc53c9e949d2fed399a571a89c3d7d0b245 ↗
- https://git.kernel.org/stable/c/99b65f0ea3370c13687ff870330c425b6ca44e89 ↗
- https://git.kernel.org/stable/c/4e9b5e8669b3602a4e01b6d1e9539b72e42c84d5 ↗
- https://git.kernel.org/stable/c/1308d72903d792d10b82bc4ef08b8a4452308b04 ↗
- https://git.kernel.org/stable/c/0d255e63fcf3f13a570d7ac11678fa1164ac015c ↗