CVE-2023-52502
Last modified
CVE-2023-52502 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.6, < 4.19.297 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.259 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.199 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.136 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.59 | — |
| Linux | Linux Kernel | >= 6.2, < 6.5.8 | — |
| Linux | Linux Kernel | 6.6 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-52502?
How severe is CVE-2023-52502?
How do I fix CVE-2023-52502?
Are you affected by CVE-2023-52502?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
