net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()

Summary

CVECVE-2023-52502
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-03-02 22:15:47 UTC
Updated2026-08-04 10:18:30 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 6.3 MEDIUM from ADP

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

Problem Types: CWE-362 | CWE-416 | CWE-noinfo Not enough information


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED6.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary6.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
3.1CNADECLARED8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 e863f5720a5680e50c4cecf12424d7cc31b3eb0a git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 7adcf014bda16cdbf804af5c164d94d5d025db2d git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9 git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 d888d3f70b0de32b4f51534175f039ddab15eef8 git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c git Not specified
CNA Linux Linux affected 8f50020ed9b81ba909ce9573f9d05263cdebf502 31c07dffafce914c1d1543c135382a11ff058d93 git Not specified
CNA Linux Linux affected 3.6 Not specified
CNA Linux Linux unaffected 3.6 semver Not specified
CNA Linux Linux unaffected 4.19.297 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.259 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.199 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.136 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.59 6.1.* semver Not specified
CNA Linux Linux unaffected 6.5.8 6.5.* semver Not specified
CNA Linux Linux unaffected 6.6 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2d af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0a af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 755966 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0857-1)
  • 755988 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0975-1)
  • 756004 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0926-1)
  • 756005 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0925-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report