Bluetooth: bnep: Fix UAF read of dev->name
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.142, 6.12.92, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: Fix UAF read of dev->name bnep_add_connection() needs to keep holding the bnep_session_sem while reading dev->name (just like bnep_get_connlist() does); otherwise the bnep_session() thread can concurrently free the net_device, which can for example be triggered by a concurrent bnep_del_connection(). (This UAF is fairly uninteresting from a security perspective; calling bnep_add_connection() requires passing a capable(CAP_NET_ADMIN) check. It also requires completely tearing down a netdev during a fairly tight race window.)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in a75bbcb10cb21acc169b785e9804f57d97873a9c; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 4907596f25b1720fa948371ac5f6c1f8da10a5bc; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 915a92182e2cda9cd7d2479020a44c6eda986f7c; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in fe69f634b076ae3ca81c5a5b845d9bba527036f7; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in b21805258d7e926adfd455fc820a447b90da3b82; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 5506aec795135cdd4cbf4e845929155663b25055; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e7578529b97e5d4e439cf8f3e637c2303015338f; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 59e932ded949fa6f0340bf7c6d7818f962fa4fd2
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.142; From 6.7.0 · fixed in 6.12.92; From 6.13.0 · fixed in 6.18.34; From 6.19.0 · fixed in 7.0.11
References 8
git.kernel.org
- stable/c/a75bbcb10cb21acc169b785e9804f57d97873a9c
- stable/c/4907596f25b1720fa948371ac5f6c1f8da10a5bc
- stable/c/915a92182e2cda9cd7d2479020a44c6eda986f7c
- stable/c/fe69f634b076ae3ca81c5a5b845d9bba527036f7
- stable/c/b21805258d7e926adfd455fc820a447b90da3b82
- stable/c/5506aec795135cdd4cbf4e845929155663b25055
- stable/c/e7578529b97e5d4e439cf8f3e637c2303015338f
- stable/c/59e932ded949fa6f0340bf7c6d7818f962fa4fd2