CVE-2023-52502
net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
Reported by linux · Published March 2, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc, d888d3f70b0de32b4f51534175f039ddab15eef8, d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c, 6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9, 31c07dffafce914c1d1543c135382a11ff058d93, 3.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8f50020ed9b81ba909ce9573f9d05263cdebf502, 8f50020ed9b81ba909ce9573f9d05263cdebf502, 8f50020ed9b81ba909ce9573f9d05263cdebf502 |
| Linux | Linux | 3.6, 0, 4.19.297 |
| Linux | Linux | 3.6, 4.19.297, 5.10.199 |
| linux | linux_kernel | 3.6, 3.6, 3.6 |
Timeline
- Mar 2, 2024 CVE Published
- Mar 3, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 25, 2026 Security Advisory (17 in total, the first dated here)
- May 28, 2026 Distribution Patch (16 in total, the first dated here)
- Aug 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-52502
vulnetix vdb fixes CVE-2023-52502
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52502/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart