AZL-115669: CVE-2026-99761 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: stop originator purge worker before freeing TT
batadvmeshfree() releases the translation tables via batadvttfree() before batadvoriginatorfree() stops origwork. The purge worker can therefore still run while the TT is torn down. When an originator times out, batadvpurgeorigref() calls batadvttglobaldelorig(), which loads tt.globalhash and walks all buckets while taking their locks:
CPU0 CPU1 batadvttfree() batadvpurgeorig() batadvttglobaldelorig() hash = ...tt.globalhash; batadvttglobaltablefree() batadvhashdestroy(hash); spinlockbh(&hash->listlocks[i]);
Disable origwork at the beginning of batadvmeshfree(), directly after the mesh was marked as deactivating. The second disabledelayedworksync() in batadvoriginatorfree() is harmless because it is free'd anyway.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In batadv_mesh_free(), disable orig_work at the beginning, before freeing the translation tables.