CVE-2026-99761

batman-adv: stop originator purge worker before freeing TT

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9d31b3ce81683ce3c9fd10afa70892e373b21067 to before 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5bAffected
  • 9d31b3ce81683ce3c9fd10afa70892e373b21067 to before 318b5a4eb1cecf7a4d5291f5265925119b454eabAffected
  • 9d31b3ce81683ce3c9fd10afa70892e373b21067 to before 310479adf366e73944e0d75cc8ec11e99327dafcAffected
  • 9d31b3ce81683ce3c9fd10afa70892e373b21067 to before f89eda5a9ccf82cba06b085b42ebc4886b8dfe9eAffected
LinuxLinux
  • 3.19Affected
  • before 3.19Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.