AZL-115663: CVE-2026-99759 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: tt: don't drop local events queued during TVLV update
batadvtttvlvcontainerupdate() read the number of local changes without holding changeslistlock. batadvttlocalevent() is not serialized by the commitlock and can queue new events before the changeslist is flushed:
CPU0 CPU1 batadvtttvlvcontainerupdate() num = ...localchanges; batadvttlocalevent() listaddtail(...); ...localchanges++; spinlockbh(&...changeslistlock); / only num events copied but all freed /
The additional events were freed without ever being sent. Other nodes will only notice this via a CRC mismatch and must request the full table.
The number of changes and the changeslist must therefore be taken atomically. Events queued afterwards then stay in the tt.changeslist for the next TT round.
The changes can no longer be kept for the next round when the TVLV buffer allocation fails. But they would be sent with a skipped TTVN anyway, so the other nodes have to request the full table in this case either way. The last changeset is only dropped in this case when the TTVN was incremented. Without new changes, it still describes the current TTVN.
Previously, the unconsumed changes caused a retry of the TVLV container update in the next commit round. Since the changes are now consumed, the next round would only take the path without changes and wait for BATADVTTOGMAPPENDMAX rounds before updating the container again. Until then, the outdated container with the previous TTVN would still be announced. The ogmappendcnt is therefore reset on failure to retry the update in the next OGM interval.
This doesn't make the CRC consistent with the announced changeset. The local table modifications are still not serialized with the commit and batadvttlocaltransitionnew() can still make a client part of the CRC for which the event is only part of the next TT round. Such an inconsistency is detected by the CRC check of the other nodes and solved via a full table request.