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

CVE-2026-64218

Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/07/2026
Última modificación:
30/07/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> batman-adv: bla: fix report_work leak on backbone_gw purge<br /> <br /> batadv_bla_purge_backbone_gw() removes stale backbone gateway entries,<br /> but fails to properly handle their associated report_work:<br /> <br /> - If report_work is running, the purge must wait for it to finish before<br /> freeing the backbone_gw, otherwise the worker may access freed memory<br /> (e.g. bat_priv).<br /> - If report_work is pending, the purge must cancel it and release the<br /> reference held for that pending work item.<br /> <br /> The previous implementation called hlist_for_each_entry_safe() inside a<br /> spin_lock_bh() section, but cancel_work_sync() may sleep and therefore<br /> cannot be called from within a spinlock-protected region.<br /> <br /> Restructure the loop to handle one entry per spinlock critical section:<br /> acquire the lock, find the next entry to purge, remove it from the hash<br /> list, then release the lock before calling cancel_work_sync() and<br /> dropping the hash_entry reference. Repeat until no more entries require<br /> purging.