CVE-2025-21735

NFC: nci: Add bounds checking in nci_hci_create_pipe()

8.8 high EPSS 0.38%

Published 27 Feb 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21735

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-2025-21735 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: nci: Add bounds checking in nci_hci_create_pipe()

The "pipe" variable is a u8 which comes from the network. If it's more than 127, then it results in memory corruption in the caller, nci_hci_connect_gate().

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a1b0b9415817c14d207921582f269d03f848b69f, before bd249109d266f1d52548c46634a15b71656e0d44
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 674e17c5933779a8bf5c15d596fdfcb5ccdebbc2
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 10b3f947b609713e04022101f492d288a014ddfa
affected from a1b0b9415817c14d207921582f269d03f848b69f, before d5a461c315e5ff92657f84d8ba50caa5abf5c22a
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 172cdfc3a5ea20289c58fb73dadc6fd4a8784a4e
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 2ae4bade5a64d126bd18eb66bd419005c5550218
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 59c7ed20217c0939862fbf8145bc49d5b3a13f4f
affected from a1b0b9415817c14d207921582f269d03f848b69f, before 110b43ef05342d5a11284cc8b21582b698b4ef1c
Other versions: unaffected
Linux
affected 4.4
unaffected before 4.4
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.78 up to and including 6.6.*
unaffected from 6.12.14 up to and including 6.12.*
unaffected from 6.13.3 up to and including 6.13.*
unaffected 6.14 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-2025-21735 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21735

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-2025-21735
trivy image --scanners vuln IMAGE | grep CVE-2025-21735

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-2025-21735 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.