8.3high
net: nfc: nci: Fix parameter validation for packet data
- Severity
- 8.3high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: nfc: nci: Fix parameter validation for packet data Since commit 9c328f54741b ("net: nfc: nci: Add parameter validation for packet data") communication with nci nfc chips is not working any more. The mentioned commit tries to fix access of uninitialized data, but failed to understand that in some cases the data packet is of variable length and can therefore not be compared to the maximum packet length given by the sizeof(struct).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8fcc7315a10a84264e55bb65ede10f0af20a983f before a24a8a582da4426b2042e510a1080df84083b51d, from bfdda0123dde406dbff62e7e9136037e97998a15 before f5218426f765eee22e178df9c126d974792fb6a5, from 0ba68bea1e356f466ad29449938bea12f5f3711f before ad058a4317db7fdb3f09caa6ed536d24a62ce6a0, from 74837bca0748763a77f77db47a0bdbe63b347628 before 3b91160e9a91b5a2662875417dc42dc5b0bf03ea, from 9c328f54741bd5465ca1dc717c84c04242fac2e1 before c692db813a7e3b7c3c17d6e9a3ad2a018bf1142b, from 9c328f54741bd5465ca1dc717c84c04242fac2e1 before 498fc5d0d650c77e87fcc73808d4f43240c21805, from 9c328f54741bd5465ca1dc717c84c04242fac2e1 before 571dcbeb8e635182bb825ae758399831805693c2, c395d1e548cc68e84584ffa2e3ca9796a78bf7b9 and 6 more Not affected: before 6.18, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.* | CVE List |
| linux linux_kernel | from 5.15.195 before 5.15.202, from 6.1.156 before 6.1.165, from 6.6.112 before 6.6.128, from 6.12.53 before 6.12.75, from 6.17.3 before 6.18, from 6.18 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: nfc: nci: Fix parameter validation for packet data Since commit 9c328f54741b ("net: nfc: nci: Add parameter validation for packet data") communication with nci nfc chips is not working any more. The mentioned commit tries to fix access of uninitialized data, but failed to understand that in some cases the data packet is of variable length and can therefore not be compared to the maximum packet length given by the sizeof(struct).
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: nfc: nci: Corrección de la validación de parámetros para datos de paquetes Desde el commit 9c328f54741b (’net: nfc: nci: Añadir validación de parámetros para datos de paquetes’), la comunicación con los chips nfc nci ya no funciona. El commit mencionado intenta corregir el acceso a datos no inicializados, pero no logró entender que en algunos casos el paquete de datos es de longitud variable y por lo tanto no puede ser comparado con la longitud máxima del paquete dada por el sizeof(struct).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43291 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-43291 changed 2026-11-11 | Public domain |