CVE-2026-74679
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/08/2026
Última modificación:
22/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: f_ncm: Use unsigned int for ndp_index<br />
<br />
The variable ndp_index is declared as a signed integer, but it stores<br />
the return value of get_ncm(), which is unsigned.<br />
<br />
A malicious host can supply a large offset that overflows the signed<br />
ndp_index, making it negative. Because ndp_index is compared against<br />
unsigned bounds, this negative value bypasses sanity checks and leads<br />
to an out-of-bounds read when calculating the address of the NDP<br />
block (ntb_ptr + ndp_index).<br />
<br />
Fix this by changing ndp_index to unsigned int to ensure consistent<br />
unsigned comparisons throughout the function.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21
- https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3
- https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591
- https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857
- https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a
- https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833
- https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337
- https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262


