batman-adv: stop originator purge worker before freeing TT (Linux Linux)

CVE-2026-99761
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < c39b54b2cbdc94e7d8893ece8d3e14babb745fae
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 59797c2df15a582bae0d7f9ef9666420489df6ce
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 54f1e9545f64a730284368ad209ce31c9dedc4aa
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 318b5a4eb1cecf7a4d5291f5265925119b454eab
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < 310479adf366e73944e0d75cc8ec11e99327dafc
affected : ≥ 9d31b3ce81683ce3c9fd10afa70892e373b21067 < f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e
Other versions : unaffected
Linux · Linux
affected : 3.19
unaffected : ≥ 0 < 3.19
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.5 ≤ 7.3.*
unaffected : ≥ 7.4-rc2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD