Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 27c24fda62b601d6f9ca5e992502578c4310876f before 44590dc53c9e949d2fed399a571a89c3d7d0b245; affected 27c24fda62b601d6f9ca5e992502578c4310876f before 99b65f0ea3370c13687ff870330c425b6ca44e89; affected 27c24fda62b601d6f9ca5e992502578c4310876f before 4e9b5e8669b3602a4e01b6d1e9539b72e42c84d5; affected 27c24fda62b601d6f9ca5e992502578c4310876f before 1308d72903d792d10b82bc4ef08b8a4452308b04; affected 27c24fda62b601d6f9ca5e992502578c4310876f before 0d255e63fcf3f13a570d7ac11678fa1164ac015c |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- 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
ADP enrichment
No English description supplied.
No references supplied.