CVE-2026-99097
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
26/10/2026
Última modificación:
26/10/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tee: shm: reject zero-sized allocations in tee_dyn_shm_alloc_helper()<br />
<br />
tee_dyn_shm_alloc_helper() derives nr_pages from a caller-supplied size<br />
and passes it to alloc_pages_exact() without checking it. For size == 0<br />
nr_pages is 0, and alloc_pages_exact(0) calls get_order(0), which is<br />
documented as undefined and returns BITS_PER_LONG - PAGE_SHIFT. The page<br />
allocator then trips its order > MAX_PAGE_ORDER warning and fails the<br />
allocation; on a panic_on_warn kernel that ends the boot.<br />
<br />
This can be triggered by TEE_IOC_SHM_ALLOC with struct<br />
tee_ioctl_shm_alloc_data where size is 0.<br />
<br />
Reject a zero page count, as register_shm_helper() already does for the<br />
register path.


