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. 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*

History

19 Mar 2025, 16:11

Type Values Removed Values Added
CWE CWE-416
CWE-362
References () https://git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93 - () https://git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93 - Patch
References () https://git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9 - () https://git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9 - Patch
References () https://git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2d - () https://git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2d - Patch
References () https://git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c - () https://git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c - Patch
References () https://git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8 - () https://git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8 - Patch
References () https://git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc - () https://git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc - Patch
References () https://git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0a - () https://git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0a - Patch
CPE cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
First Time Linux linux Kernel
Linux

Information

Published : 2024-03-02 22:15

Updated : 2025-03-19 16:11


NVD link : CVE-2023-52502

Mitre link : CVE-2023-52502

CVE.ORG link : CVE-2023-52502


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-416

Use After Free