CVE-2026-90226

nfc: llcp: avoid userspace overflow on invalid optlen

No CVSS score yet EPSS 0.22%

Published 17 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90226

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90226 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

nfc: llcp: avoid userspace overflow on invalid optlen

nfc_llcp_getsockopt() casts optval to (u32 __user *) for put_user(), so the kernel always stores 4 bytes regardless of the caller-supplied optlen. The existing min_t(u32, len, sizeof(u32)) only clamps the length reported back to userspace; it does not constrain the store. A call with optlen < 4 therefore writes past the user buffer, violating the getsockopt(2) contract for all five supported optnames.

Reject any call with optlen < sizeof(u32) up front. 'len' is int, so a plain size comparison would promote a negative optlen to size_t and slip past the check; an explicit 'len < 0' test is added first to catch negative values before the size compare.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.28% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 42859562b7cc4313a84a584f338118edb7087066
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 598dcd53c52f8eeb9dd5382198c03960d5d40fcd
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 7e40f2f5e7bc06c3ddef781180ce4f7994176547
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 35573c6cb081af2f4a7caeea291302aca5484526
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before b4c5abaea06292e1dddb70eac1b51589b32c77a3
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 8bf228fa02b1ed8ce622fb81fa8edc42be9aeb67
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before bd6f1277b62bc1df348ca21739df2bc546fcd493
affected from 26fd76cab2e61cedc5c25f7151fb31b57ddc53c7, before 99985bfa8336fadcc69190ba2dcbd5386af3d661
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.6 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90226 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90226

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-90226
trivy image --scanners vuln IMAGE | grep CVE-2026-90226

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-90226 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.