CVEvulnerability

CVE-2023-52502

8.8 HIGH Published 2024-03-02 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-03-02
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.3 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-362, CWE-416

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.

Affected configurations

• 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

Related

Weakness · CWE (2)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
  • CWE-416 Use After Free weakness

References