CVE-2026-99761
published high CVSS 3.1 · 7.8batman-adv: stop originator purge worker before freeing TT
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9d31b3ce81683ce3c9fd10afa70892e373b21067 to < c39b54b2cbdc94e7d8893ece8d3e14babb745fae · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 59797c2df15a582bae0d7f9ef9666420489df6ce · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 54f1e9545f64a730284368ad209ce31c9dedc4aa · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 318b5a4eb1cecf7a4d5291f5265925119b454eab · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 310479adf366e73944e0d75cc8ec11e99327dafc · 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.19 (affected) · 0 to < 3.19 (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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: stop originator purge worker before freeing TT batadv_mesh_free() releases the translation tables via batadv_tt_free() before batadv_originator_free() stops orig_work. The purge worker can therefore still run while the TT is torn down. When an originator times out, batadv_purge_orig_ref() calls batadv_tt_global_del_orig(), which loads tt.global_hash and walks all buckets while taking their locks: CPU0 CPU1 batadv_tt_free() batadv_purge_orig() batadv_tt_global_del_orig() hash = ...tt.global_hash; batadv_tt_global_table_free() batadv_hash_destroy(hash); spin_lock_bh(&hash->list_locks[i]); Disable orig_work at the beginning of batadv_mesh_free(), directly after the mesh was marked as deactivating. The second disable_delayed_work_sync() in batadv_originator_free() is harmless because it is free'd anyway.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The freed tt.global_hash is destroyed in batadv_mesh_free() after a local RTM_DELLINK: batadv_meshif_destroy_netlink() unregisters the device, netdev_run_todo() calls priv_destructor batadv_meshif_free(), and batadv_tt_free() reaches batadv_hash_destroy() while orig_work can still run batadv_tt_global_del_orig(). AC:L - The attacker creates the orig_node by injecting an ETH_P_BATMAN OGM on a veth enslaved as a hardif, so batadv_batman_skb_recv() reaches batadv_iv_ogm_orig_get(); after last_seen exceeds 2*BATADV_PURGE_TIMEOUT, batadv_purge_orig_ref() calls batadv_tt_global_del_orig() and the attacker deletes the device during that walk. Extra originators stretch the 1024-bucket loop and the sequence can be repeated. PR:L - RTM_NEWLINK/RTM_DELLINK for kind batadv are authorized by CAP_NET_ADMIN in the netns user namespace inside rtnl_link_get_net_capable(); batadv_link_ops and batadv_meshif_init_late() do not require init_net, so unshare(CLONE_NEWUSER|CLONE_NEWNET) can create and destroy the mesh device that runs batadv_mesh_free(). UI:N - The attacker alone creates the batadv device, enslaves their own veth, sends the OGM that populates orig_hash, and issues the RTM_DELLINK that enters batadv_mesh_free(). S:U - batadv_tt_global_del_orig() corrupts the host kernel heap, the freed batadv_hashtable and its TT buckets, under the same kernel security authority as the RTM_DELLINK caller. C:H - batadv_hash_destroy() kfree()s the hashtable, then batadv_tt_global_del_orig() still loads hash->size, hash->table and hash->list_locks and walks every bucket's hlist. Reclaiming that object lets the attacker aim those fields at kernel memory and read it through the walk. I:H - That walk spin_lock_bh()s hash->list_locks[i] and, for each node treated as a batadv_tt_global_entry, batadv_tt_global_del_orig_node() hlist_del_rcu()s the orig_list entry and drops its kref. Attacker-controlled bucket contents are a write and control-flow primitive. A:H - spin_lock_bh() on the kfreed list_locks, or an hlist walk of reclaimed table memory inside batadv_tt_global_del_orig(), oopses the kernel. orig_work keeps being queued every BATADV_ORIG_WORK_PERIOD until batadv_originator_free(), so one overlap takes the machine down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9d31b3ce81683ce3c9fd10afa70892e373b21067 to < c39b54b2cbdc94e7d8893ece8d3e14babb745fae (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 59797c2df15a582bae0d7f9ef9666420489df6ce (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 54f1e9545f64a730284368ad209ce31c9dedc4aa (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 318b5a4eb1cecf7a4d5291f5265925119b454eab (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < 310479adf366e73944e0d75cc8ec11e99327dafc (affected · git)9d31b3ce81683ce3c9fd10afa70892e373b21067 to < f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.19 (affected)0 to < 3.19 (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/10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e
- https://git.kernel.org/stable/c/2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b
- https://git.kernel.org/stable/c/310479adf366e73944e0d75cc8ec11e99327dafc
- https://git.kernel.org/stable/c/318b5a4eb1cecf7a4d5291f5265925119b454eab
- https://git.kernel.org/stable/c/54f1e9545f64a730284368ad209ce31c9dedc4aa
- https://git.kernel.org/stable/c/59797c2df15a582bae0d7f9ef9666420489df6ce
- https://git.kernel.org/stable/c/c39b54b2cbdc94e7d8893ece8d3e14babb745fae
- https://git.kernel.org/stable/c/f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e
Provider assertions
1Linux · cna
batman-adv: stop originator purge worker before freeing TT
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c0e4809088ff40f48d8272d81b923844ff437b2a4ab6baf7ba968c4e2833ae7b
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record