nfc: llcp: read llcp_sock->local under the socket lock in getsockopt

Summary

CVECVE-2026-90225
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:18 UTC
Updated2026-09-18 18:17:47 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: nfc: llcp: read llcp_sock->local under the socket lock in getsockopt nfc_llcp_getsockopt() read llcp_sock->local before lock_sock(sk) and then dereferenced the cached pointer inside the locked region. llcp_sock_bind() assigns and clears llcp_sock->local under the same socket lock, dropping the last reference on its error path. A getsockopt() racing an in-flight bind() can observe the pointer, block on lock_sock(), and then dereference a freed nfc_llcp_local once bind() has unwound. Move the llcp_sock->local read and the NULL check inside the lock_sock(sk) region so bind() cannot mutate or free the pointer between the load and the use.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

EPSS: 0.001640000 probability, percentile 0.060450000 (date 2026-09-20)


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

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

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 56fd158fef20268f48db6cdfe5d722e930134eda git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 8ba8cec0586727cc135ca4827921fc7b52946d71 git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 ed5240bab3468988077fe8bf29b935eaecc9ff89 git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 fe65727a4a21b11c18eebae1338482767a897b76 git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 2d8ac24565be85bf56580b87bf1b874d35625eb5 git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 156e65bd29307f5053835bff60bc1ba342fa010f git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 d1b73962675cdc5a58e2707e25b548d8b495fde0 git Not specified
CNA Linux Linux affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 36812527052c5bfb1ec6c1e292d67a5bf76b750f git Not specified
CNA Linux Linux affected 3.10 Not specified
CNA Linux Linux unaffected 3.10 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ed5240bab3468988077fe8bf29b935eaecc9ff89 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fe65727a4a21b11c18eebae1338482767a897b76 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/56fd158fef20268f48db6cdfe5d722e930134eda 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d1b73962675cdc5a58e2707e25b548d8b495fde0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/156e65bd29307f5053835bff60bc1ba342fa010f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/36812527052c5bfb1ec6c1e292d67a5bf76b750f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8ba8cec0586727cc135ca4827921fc7b52946d71 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2d8ac24565be85bf56580b87bf1b874d35625eb5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© 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