{"id":"CVE-2026-99761","summary":"batman-adv: stop originator purge worker before freeing TT","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: stop originator purge worker before freeing TT\n\nbatadv_mesh_free() releases the translation tables via batadv_tt_free()\nbefore batadv_originator_free() stops orig_work. The purge worker can\ntherefore still run while the TT is torn down. When an originator times\nout, batadv_purge_orig_ref() calls batadv_tt_global_del_orig(), which\nloads tt.global_hash and walks all buckets while taking their locks:\n\n  CPU0                          CPU1\n  batadv_tt_free()              batadv_purge_orig()\n                                  batadv_tt_global_del_orig()\n                                    hash = ...tt.global_hash;\n    batadv_tt_global_table_free()\n      batadv_hash_destroy(hash);\n                                    spin_lock_bh(&hash-\u003elist_locks[i]);\n\nDisable orig_work at the beginning of batadv_mesh_free(), directly after\nthe mesh was marked as deactivating. The second\ndisable_delayed_work_sync() in batadv_originator_free() is harmless because\nit is free'd anyway.","modified":"2026-11-23T20:49:22.573886579Z","published":"2026-11-20T05:51:29.023Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99761.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/310479adf366e73944e0d75cc8ec11e99327dafc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/318b5a4eb1cecf7a4d5291f5265925119b454eab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54f1e9545f64a730284368ad209ce31c9dedc4aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59797c2df15a582bae0d7f9ef9666420489df6ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c39b54b2cbdc94e7d8893ece8d3e14babb745fae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99761.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99761"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9d31b3ce81683ce3c9fd10afa70892e373b21067"},{"fixed":"c39b54b2cbdc94e7d8893ece8d3e14babb745fae"},{"fixed":"10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e"},{"fixed":"59797c2df15a582bae0d7f9ef9666420489df6ce"},{"fixed":"54f1e9545f64a730284368ad209ce31c9dedc4aa"},{"fixed":"2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b"},{"fixed":"318b5a4eb1cecf7a4d5291f5265925119b454eab"},{"fixed":"310479adf366e73944e0d75cc8ec11e99327dafc"},{"fixed":"f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99761.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99761.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}