{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99761",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.433Z",
        "datePublished": "2026-11-20T05:51:29.023Z",
        "dateUpdated": "2026-11-23T08:07:09.138Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:07:09.138Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->list_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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "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().\nAC: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.\nPR: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().\nUI: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().\nS: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.\nC: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.\nI: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.\nA: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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/batman-adv/main.c"
                    ],
                    "versions": [
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "c39b54b2cbdc94e7d8893ece8d3e14babb745fae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "59797c2df15a582bae0d7f9ef9666420489df6ce",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "54f1e9545f64a730284368ad209ce31c9dedc4aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "318b5a4eb1cecf7a4d5291f5265925119b454eab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "310479adf366e73944e0d75cc8ec11e99327dafc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d31b3ce81683ce3c9fd10afa70892e373b21067",
                            "lessThan": "f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/batman-adv/main.c"
                    ],
                    "versions": [
                        {
                            "version": "3.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c39b54b2cbdc94e7d8893ece8d3e14babb745fae"
                },
                {
                    "url": "https://git.kernel.org/stable/c/10b097f7fdd7aadb43f1e3b0bc0f7189d859df8e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/59797c2df15a582bae0d7f9ef9666420489df6ce"
                },
                {
                    "url": "https://git.kernel.org/stable/c/54f1e9545f64a730284368ad209ce31c9dedc4aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/318b5a4eb1cecf7a4d5291f5265925119b454eab"
                },
                {
                    "url": "https://git.kernel.org/stable/c/310479adf366e73944e0d75cc8ec11e99327dafc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e"
                }
            ],
            "title": "batman-adv: stop originator purge worker before freeing TT",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}