# CVE-2026-90225: nfc: llcp: read llcp_sock->local under the socket lock in getsockopt

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:34.658Z
- Modified: 2026-10-19T09:19:12.790Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before 56fd158fef20268f48db6cdfe5d722e930134eda; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before 8ba8cec0586727cc135ca4827921fc7b52946d71; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before ed5240bab3468988077fe8bf29b935eaecc9ff89; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before fe65727a4a21b11c18eebae1338482767a897b76; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before 2d8ac24565be85bf56580b87bf1b874d35625eb5; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before 156e65bd29307f5053835bff60bc1ba342fa010f; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before d1b73962675cdc5a58e2707e25b548d8b495fde0; from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 before 36812527052c5bfb1ec6c1e292d67a5bf76b750f; 3.10 (not affected: before 3.10; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/56fd158fef20268f48db6cdfe5d722e930134eda>
- <https://git.kernel.org/stable/c/8ba8cec0586727cc135ca4827921fc7b52946d71>
- <https://git.kernel.org/stable/c/ed5240bab3468988077fe8bf29b935eaecc9ff89>
- <https://git.kernel.org/stable/c/fe65727a4a21b11c18eebae1338482767a897b76>
- <https://git.kernel.org/stable/c/2d8ac24565be85bf56580b87bf1b874d35625eb5>
- <https://git.kernel.org/stable/c/156e65bd29307f5053835bff60bc1ba342fa010f>
- <https://git.kernel.org/stable/c/d1b73962675cdc5a58e2707e25b548d8b495fde0>
- <https://git.kernel.org/stable/c/36812527052c5bfb1ec6c1e292d67a5bf76b750f>

## Sources

- CVE List: [CVE-2026-90225](https://www.cve.org/CVERecord?id=CVE-2026-90225), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90225](https://nvd.nist.gov/vuln/detail/CVE-2026-90225), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90225 · Whole record: https://cve.day/CVE-2026-90225.json · Rebuilt by cve.day 2026-11-25T22:59:39.348Z
