CVE-2023-52502
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52502 is a vulnerability in the Linux kernel's NFC (Near Field Communication) subsystem, specifically affecting the LLCP (Logical Link Control Protocol) socket handling. The vulnerability was discovered by Sili Luo and reported in October 2023. The issue involves race conditions in the nfc_llcp_sock_get() and nfc_llcp_sock_get_sn() functions that could lead to a Use-After-Free (UAF) vulnerability (Kernel Git).

Technical details

The vulnerability stems from a race condition where a reference to a socket found during lookup was not properly handled while holding a lock. Specifically, the issue occurs in the Linux kernel's NFC subsystem where the socket reference counting in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn() functions was performed after releasing the lock, creating a potential Use-After-Free condition. The CVSS v3.1 base score is 6.3 (Medium) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).

Impact

The vulnerability could allow an attacker to potentially cause a Use-After-Free condition in the kernel's NFC subsystem. This could lead to high confidentiality and availability impacts, though no integrity impact has been identified. The vulnerability requires local access and high complexity to exploit (NVD).

Exploitability

The vulnerability requires local access and high complexity to exploit. It affects the NFC subsystem's LLCP socket handling, specifically when managing socket references during lookup operations. The issue was fixed in the mainline kernel through proper lock handling and reference counting (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by modifying the nfc_llcp_sock_get() and nfc_llcp_sock_get_sn() functions to properly handle socket references while holding the lock. The fix ensures that socket reference counting is performed before releasing the lock and adds proper socket cleanup in nfc_llcp_recv_snl(). Users should update their Linux kernel to a version containing the fix (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-bluefield
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-oracle-5.4
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-oracle-6.8
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management