CVE-2023-52502
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.25%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.25% probability · 16th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-362, CWE-416
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93Patch
- https://git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9Patch
- https://git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2dPatch
- https://git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15cPatch
- https://git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8Patch
- https://git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dcPatch
- https://git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0aPatch
- https://git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93Patch
- https://git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9Patch
- https://git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2dPatch
- https://git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15cPatch
- https://git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8Patch
- https://git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dcPatch
- https://git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0aPatch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.