CVE-2023-52507

nfc: nci: assert requested protocol is valid

No CVSS score yet EPSS 0.24%

Published 2 Mar 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52507

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-2023-52507 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: assert requested protocol is valid

The protocol is used in a bit mask to determine if the protocol is supported. Assert the provided protocol is less than the maximum defined so it doesn't potentially perform a shift-out-of-bounds and provide a clearer error for undefined protocols vs unsupported ones.

Exploitation

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

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 2c231a247a1d1628e41fa1eefd1a5307c41c5f53
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before a686f84101680b8442181a8846fbd3c934653729
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 95733ea130e35ef9ec5949a5908dde3feaba92cb
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before a424807d860ba816aaafc3064b46b456361c0802
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 25dd54b95abfdca423b65a4ee620a774777d8213
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 853dda54ba59ea70d5580a298b7ede4707826848
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 6584eba7688dcf999542778b07f63828c21521da
affected from 6a2968aaf50c7a22fced77a5e24aa636281efca8, before 354a6e707e29cb0c007176ee5b8db8be7bd2dee0
Other versions: unaffected
Linux
affected 3.2
unaffected before 3.2
unaffected from 4.14.328 up to and including 4.14.*
unaffected from 4.19.297 up to and including 4.19.*
unaffected from 5.4.259 up to and including 5.4.*
unaffected from 5.10.199 up to and including 5.10.*
unaffected from 5.15.136 up to and including 5.15.*
unaffected from 6.1.59 up to and including 6.1.*
unaffected from 6.5.8 up to and including 6.5.*
unaffected 6.6 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-2023-52507 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52507

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-2023-52507
trivy image --scanners vuln IMAGE | grep CVE-2023-52507

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-2023-52507 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.