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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-03-02T21:52:17.218Z

Updated: 2024-08-02T23:03:20.409Z

Reserved: 2024-02-20T12:30:33.313Z

Link: CVE-2023-52502

cve-icon Vulnrichment

Updated: 2024-05-23T19:01:15.910Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-02T22:15:47.203

Modified: 2024-03-04T13:58:23.447

Link: CVE-2023-52502

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-03-02T00:00:00Z

Links: CVE-2023-52502 - Bugzilla