{"id":"CVE-2026-52926","summary":"batman-adv: clear current gateway during teardown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: clear current gateway during teardown\n\nbatadv_gw_node_free() removes the gateway list entries during mesh teardown,\nbut it does not clear the currently selected gateway. This leaves stale\ngateway state behind across cleanup and can break a later mesh recreation.\n\nClear bat_priv-\u003egw.curr_gw before walking the gateway list so the selected\ngateway reference is dropped as part of teardown.","modified":"2026-07-22T18:22:54.558261035Z","published":"2026-06-24T07:14:20.057Z","related":["SUSE-SU-2026:3130-1","SUSE-SU-2026:3166-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52926.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/17e3a441111cd1a530cd6ee69a22f3161d80d810"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30bda3ef4b0cac777f1a7c314cd08b8ff6437365"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6de089b545db013433cf934bb4e4433dec2dd65f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a340a51ed801eab7bb454150c226323b865263cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae7aeb0ce3c0ebbe357ed525779acac197a18086"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2ec4c712d19141ca7bf7fbbb1d842f73abaa186"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52926.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52926"},{"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":"2265c141086474bbae55a5bb3afa1ebb78ccaa7c"},{"fixed":"a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f"},{"fixed":"e2ec4c712d19141ca7bf7fbbb1d842f73abaa186"},{"fixed":"9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17"},{"fixed":"6de089b545db013433cf934bb4e4433dec2dd65f"},{"fixed":"30bda3ef4b0cac777f1a7c314cd08b8ff6437365"},{"fixed":"ae7aeb0ce3c0ebbe357ed525779acac197a18086"},{"fixed":"17e3a441111cd1a530cd6ee69a22f3161d80d810"},{"fixed":"a340a51ed801eab7bb454150c226323b865263cc"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-52926.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"5.10.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-52926.json"}}],"schema_version":"1.7.5"}