CVE-2026-99759
batman-adv: tt: don't drop local events queued during TVLV update
- CVSS
- —
- EPSS
- 0.18% (p8)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: don't drop local events queued during TVLV update batadv_tt_tvlv_container_update() read the number of local changes without holding changes_list_lock. batadv_tt_local_event() is not serialized by the commit_lock and can queue new events before the changes_list is flushed: CPU0 CPU1 batadv_tt_tvlv_container_update() num = ...local_changes; batadv_tt_local_event() list_add_tail(...); ...local_changes++; spin_lock_bh(&...changes_list_lock); /* 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 changes_list must therefore be taken atomically. Events queued afterwards then stay in the tt.changes_list 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 BATADV_TT_OGM_APPEND_MAX rounds before updating the container again. Until then, the outdated container with the previous TTVN would still be announced. The ogm_append_cnt 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 batadv_tt_local_transition_new() 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.
Fixed in
13ca299f047263cd238bd42efcdf6168755686d9 · 5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 · 6.12.118 · 6.18.64 · 7.3.5 · 9c456c887ad9c8950097473590923ce8b553d488 · ad8c4a893f18fe031370ec76e48ed9a7ac905373 · cb9c398903d37d242de0eaf080cedb0ca5531d38 · cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 · da9816e6aec5dfbfd6795bc512743d05f2029e62 · ed7a0dfdd370acb48be7a281df732c1bebcc7f1d
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.1.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <13ca299f047263cd238bd42efcdf6168755686d9 | 13ca299f047263cd238bd42efcdf6168755686d9 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 | 5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <9c456c887ad9c8950097473590923ce8b553d488 | 9c456c887ad9c8950097473590923ce8b553d488 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <ad8c4a893f18fe031370ec76e48ed9a7ac905373 | ad8c4a893f18fe031370ec76e48ed9a7ac905373 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <cb9c398903d37d242de0eaf080cedb0ca5531d38 | cb9c398903d37d242de0eaf080cedb0ca5531d38 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 | cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <da9816e6aec5dfbfd6795bc512743d05f2029e62 | da9816e6aec5dfbfd6795bc512743d05f2029e62 |
| vendor | Linux | >=a73105b8d4c765d9ebfb664d0a66802127d8e4c7, <ed7a0dfdd370acb48be7a281df732c1bebcc7f1d | ed7a0dfdd370acb48be7a281df732c1bebcc7f1d |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 13d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/9c456c887ad9c8950097473590923ce8b553d488 other
- https://git.kernel.org/stable/c/5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 other
- https://git.kernel.org/stable/c/cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 other
- https://git.kernel.org/stable/c/ed7a0dfdd370acb48be7a281df732c1bebcc7f1d other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99759.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99759 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://git.kernel.org/stable/c/ad8c4a893f18fe031370ec76e48ed9a7ac905373 other
- https://git.kernel.org/stable/c/da9816e6aec5dfbfd6795bc512743d05f2029e62 other
- https://git.kernel.org/stable/c/cb9c398903d37d242de0eaf080cedb0ca5531d38 other
- https://git.kernel.org/stable/c/13ca299f047263cd238bd42efcdf6168755686d9 other