# CVE-2026-99761: batman-adv: stop originator purge worker before freeing TT

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-20T05:51:29.023Z
- Modified: 2026-11-23T08:18:16.633Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before c39b54b2cbdc94e7d8893ece8d3e14babb745fae; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 59797c2df15a582bae0d7f9ef9666420489df6ce; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 54f1e9545f64a730284368ad209ce31c9dedc4aa; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 318b5a4eb1cecf7a4d5291f5265925119b454eab; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before 310479adf366e73944e0d75cc8ec11e99327dafc; from 9d31b3ce81683ce3c9fd10afa70892e373b21067 before f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e; 3.19 (not affected: before 3.19; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/c39b54b2cbdc94e7d8893ece8d3e14babb745fae>
- <https://git.kernel.org/stable/c/10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e>
- <https://git.kernel.org/stable/c/59797c2df15a582bae0d7f9ef9666420489df6ce>
- <https://git.kernel.org/stable/c/54f1e9545f64a730284368ad209ce31c9dedc4aa>
- <https://git.kernel.org/stable/c/2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b>
- <https://git.kernel.org/stable/c/318b5a4eb1cecf7a4d5291f5265925119b454eab>
- <https://git.kernel.org/stable/c/310479adf366e73944e0d75cc8ec11e99327dafc>
- <https://git.kernel.org/stable/c/f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e>

## Sources

- CVE List: [CVE-2026-99761](https://www.cve.org/CVERecord?id=CVE-2026-99761), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99761](https://nvd.nist.gov/vuln/detail/CVE-2026-99761), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99761 · Whole record: https://cve.day/CVE-2026-99761.json · Rebuilt by cve.day 2026-11-25T22:59:52.335Z
