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

CVE-2026-90225
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < 56fd158fef20268f48db6cdfe5d722e930134eda ; affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < 8ba8cec0586727cc135ca4827921fc7b52946d71 ; affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < ed5240bab3468988077fe8bf29b935eaecc9ff89 ; affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < fe65727a4a21b11c18eebae1338482767a897b76 ; affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < 2d8ac24565be85bf56580b87bf1b874d35625eb5 ; affected 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 < 156e65bd29307f5053835bff60bc1ba342fa010f
Linux · Linuxaffected 3.10 ; unaffected 0 < 3.10 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD