CVE-2023-52507
JSON

7.1high

nfc: nci: assert requested protocol is valid

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 2c231a247a1d1628e41fa1eefd1a5307c41c5f53, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before a686f84101680b8442181a8846fbd3c934653729, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 95733ea130e35ef9ec5949a5908dde3feaba92cb, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before a424807d860ba816aaafc3064b46b456361c0802, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 25dd54b95abfdca423b65a4ee620a774777d8213, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 853dda54ba59ea70d5580a298b7ede4707826848, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 6584eba7688dcf999542778b07f63828c21521da, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 354a6e707e29cb0c007176ee5b8db8be7bd2dee0 and 1 more
Not affected: before 3.2, from 4.14.328 up to 4.14.*, from 4.19.297 up to 4.19.*, from 5.4.259 up to 5.4.*, from 5.10.199 up to 5.10.*, from 5.15.136 up to 5.15.*
CVE List
linux linux_kernelfrom 3.2 before 4.14.328, from 4.15 before 4.19.297, from 4.20 before 5.4.259, from 5.5 before 5.10.199, from 5.11 before 5.15.136, from 5.16 before 6.1.59, from 6.2 before 6.5.8, 6.6NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: nci: afirmar que el protocolo solicitado es válido El protocolo se utiliza en una máscara de bits para determinar si el protocolo es compatible. Afirme que el protocolo proporcionado es menor que el máximo definido para que no realice potencialmente un desplazamiento fuera de los límites y proporcione un error más claro para los protocolos no definidos frente a los no compatibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52507 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52507 changed 2026-06-17Public domain