Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-31475

Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/04/2026
Última modificación:
23/04/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ASoC: sma1307: fix double free of devm_kzalloc() memory<br /> <br /> A previous change added NULL checks and cleanup for allocation<br /> failures in sma1307_setting_loaded().<br /> <br /> However, the cleanup for mode_set entries is wrong. Those entries are<br /> allocated with devm_kzalloc(), so they are device-managed resources and<br /> must not be freed with kfree(). Manually freeing them in the error path<br /> can lead to a double free when devres later releases the same memory.<br /> <br /> Drop the manual kfree() loop and let devres handle the cleanup.

Impacto