9.8critical
media: dvb-net: fix OOB access in ULE extension header tables
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: dvb-net: fix OOB access in ULE extension header tables The ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables in handle_one_ule_extension() are declared with 255 elements (valid indices 0-254), but the index htype is derived from network-controlled data as (ule_sndu_type & 0x00FF), giving a range of 0-255. When htype equals 255, an out-of-bounds read occurs on the function pointer table, and the OOB value may be called as a function pointer. Add a bounds check on htype against the array size before either table is accessed. Out-of-range values now cause the SNDU to be discarded.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e51238718217c4abdb3ccc3b0c0cde265c7ec629, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b2bd2ee73b697c177157bba534e1b1064c2e66a0, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 29ef43ceb121d67b87f4cbb08439e4e9e732eff8, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1a6da3dbb9985d00743073a1cc1f96e59f5abc30, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 145e50c2c700fa52b840df7bab206043997dd18e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f2b65dcb78c8990e4c68a906627433be1fe38a92, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 24d87712727a5017ad142d63940589a36cd25647 and 1 more Not affected: before 2.6.12, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.167 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.78 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.12.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.167, from 6.2 before 6.6.130, from 6.7 before 6.12.78, from 6.13 before 6.18.19, from 6.19 before 6.19.9, 2.6.12 and 1 more | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: dvb-net: fix OOB access in ULE extension header tables The ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables in handle_one_ule_extension() are declared with 255 elements (valid indices 0-254), but the index htype is derived from network-controlled data as (ule_sndu_type & 0x00FF), giving a range of 0-255. When htype equals 255, an out-of-bounds read occurs on the function pointer table, and the OOB value may be called as a function pointer. Add a bounds check on htype against the array size before either table is accessed. Out-of-range values now cause the SNDU to be discarded.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: dvb-net: corregir acceso fuera de límites en las tablas de cabecera de extensión ULE Las tablas ule_mandatory_ext_handlers[] y ule_optional_ext_handlers[] en handle_one_ule_extension() están declaradas con 255 elementos (índices válidos 0-254), pero el índice htype se deriva de datos controlados por la red como (ule_sndu_type & 0x00FF), dando un rango de 0-255. Cuando htype es igual a 255, ocurre una lectura fuera de límites en la tabla de punteros de función, y el valor fuera de límites puede ser llamado como un puntero de función. Añadir una comprobación de límites en htype contra el tamaño del array antes de que se acceda a cualquiera de las tablas. Los valores fuera de rango ahora hacen que el SNDU sea descartado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31405 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-31405 changed 2026-07-24 | Public domain |