CVE-2023-52502
net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
- 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
- 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
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn() Sili Luo reported a race in nfc_llcp_sock_get(), leading to UAF. Getting a reference on the socket found in a lookup while holding a lock should happen before releasing the lock. nfc_llcp_sock_get_sn() has a similar problem. Finally nfc_llcp_recv_snl() needs to make sure the socket found by nfc_llcp_sock_from_sn() does not disappear.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.6
References 7
git.kernel.org
- stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0a
- stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2d
- stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9
- stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8
- stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc
- stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c
- stable/c/31c07dffafce914c1d1543c135382a11ff058d93