CVE-2026-99589
published high CVSS 3.1 · 8.3batman-adv: tt: clear ROAM flag when re-adding a pending local client
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 072fad3b319198aa8310b632b8f18a1188f3fb8c · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 03bcdcc6e63983f79005104f672bf556e86b7d4f · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 16efb7b5a683c762976d581a35ef7cf9f5614d9a · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 045c0ff38474cf8ebb68ba9eb2081974ef9fdab6 · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < fcf9688afc291bd9d383051c12e8bc148b4add62 · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 658e7e37113f2ef875ea1b17e626f47d54c331ba · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 32d45d029d9ffdeb99e86ed21406a70485fe08cc · 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < cc2186d7854785b30d423f5d43757b086b300e55 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: clear ROAM flag when re-adding a pending local client When a ROAMING_ADV is received for an announced local client, batadv_tt_local_mark_removed() sets BATADV_TT_CLIENT_ROAM, queues a DEL|ROAM change and marks the entry as BATADV_TT_CLIENT_PENDING. If the client sends a frame again before the next TTVN commit, batadv_tt_local_add_existing() only clears the PENDING flag and returns early. The ADD cancels the queued DEL, but the entry keeps the ROAM flag: * batadv_is_my_client() reports the client as not served by this node * batadv_tt_local_client_is_roaming() reroutes unicast frames for it to the node which sent the ROAMING_ADV The ROAM flag is only removed with the next frame of the client. Since BATADV_TT_CLIENT_ROAM is set together with BATADV_TT_CLIENT_PENDING, it has to be cleared also at the same time with BATADV_TT_CLIENT_PENDING when the client roamed back.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:A - batadv_batman_skb_recv (ETH_P_BATMAN packet_type on the hard interface) takes a BATADV_UNICAST_TVLV frame containing struct batadv_tvlv_roam_adv. batadv_roam_tvlv_unicast_handler_v1 passes roaming_adv->client to batadv_tt_global_add, and batadv_tt_local_mark_removed sets ROAM|PENDING. batadv_tt_local_add_existing, from batadv_interface_tx via batadv_tt_local_add, returns without clearing ROAM. Ethertype 0x4305 must target this node's MAC. AC:L - OGM processing creates the attacker's originator with batadv_orig_node_new and no authentication, after which the attacker sends the ROAMING_ADV. batadv_recv_bcast_packet still delivers a broadcast through batadv_interface_rx, and the client's reply hits batadv_tt_local_add_existing before batadv_tt_local_commit_changes (orig_interval defaults to 1000ms). A later ROAMING_ADV sets PENDING again, so further frames keep taking that early return. PR:N - batadv_recv_unicast_tvlv only checks batadv_check_unicast_packet for a minimum header and a local ethernet destination, and batadv_roam_tvlv_unicast_handler_v1 only requires batadv_orig_hash_find to know the sender. That originator is created from the unauthenticated OGM. No credential or capability is consulted. UI:N - The attacker sends the ROAMING_ADV and elicits the client frame that reaches batadv_tt_local_add_existing. No person has to mount an image, open a file, or take any other action. S:U - The stuck BATADV_TT_CLIENT_ROAM flag only changes forwarding of that client's frames inside this kernel. It does not cross a guest/host, IOMMU, or other security boundary. C:H - With the flag set, batadv_tt_local_client_is_roaming makes batadv_check_unicast_ttvn call batadv_reroute_unicast_packet, which copies the originator from batadv_transtable_search for roaming_adv->client into unicast_packet->dest. batadv_route_unicast_packet then forwards the intact payload to the sender. The attacker picks the client MAC and can repeat it for every local client. I:L - That reroute only overwrites the batman unicast destination and TTVN. The path has no out-of-bounds write or use-after-free, so the attacker cannot change arbitrary kernel memory or the payload bytes; misdelivery is limited to frames for the named client. A:H - batadv_is_my_client is false while BATADV_TT_CLIENT_ROAM remains set, so batadv_recv_unicast_packet forwards those frames instead of calling batadv_interface_rx. Repeating the ROAMING_ADV keeps PENDING set and batadv_tt_local_add_existing never clears ROAM, so unicast to the client stays denied for the whole attack.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 072fad3b319198aa8310b632b8f18a1188f3fb8c (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 03bcdcc6e63983f79005104f672bf556e86b7d4f (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 16efb7b5a683c762976d581a35ef7cf9f5614d9a (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 045c0ff38474cf8ebb68ba9eb2081974ef9fdab6 (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < fcf9688afc291bd9d383051c12e8bc148b4add62 (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 658e7e37113f2ef875ea1b17e626f47d54c331ba (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < 32d45d029d9ffdeb99e86ed21406a70485fe08cc (affected · git)068ee6e204e1f48ba24ec91ce40f5ca833a57a81 to < cc2186d7854785b30d423f5d43757b086b300e55 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/03bcdcc6e63983f79005104f672bf556e86b7d4f
- https://git.kernel.org/stable/c/045c0ff38474cf8ebb68ba9eb2081974ef9fdab6
- https://git.kernel.org/stable/c/072fad3b319198aa8310b632b8f18a1188f3fb8c
- https://git.kernel.org/stable/c/16efb7b5a683c762976d581a35ef7cf9f5614d9a
- https://git.kernel.org/stable/c/32d45d029d9ffdeb99e86ed21406a70485fe08cc
- https://git.kernel.org/stable/c/658e7e37113f2ef875ea1b17e626f47d54c331ba
- https://git.kernel.org/stable/c/cc2186d7854785b30d423f5d43757b086b300e55
- https://git.kernel.org/stable/c/fcf9688afc291bd9d383051c12e8bc148b4add62
Provider assertions
1Linux · cna
batman-adv: tt: clear ROAM flag when re-adding a pending local client
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e11b5ebc7bc185671c2f6bf83a6d459679ba2447e9103e38486e061a265cfd01
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record