{"id":"CVE-2026-52931","aliases":["CVE-2026-52931"],"related":[],"kind":"vulnerability","state":"published","title":"batman-adv: tp_meter: avoid use of uninit sender vars","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tp_meter: avoid use of uninit sender vars\n\nbatadv_tp_recv_ack() and batadv_tp_stop() are only valid for tp_vars in the\nBATADV_TP_SENDER role. When called with a BATADV_TP_RECEIVER role, it\nproceeds to read sender-only members that were never initialized, leading\nto undefined behavior.\n\nThis can be triggered when a node that is currently acting as a receiver in\nan ongoing tp_meter session receives a malicious ACK packet.\n\nGuard against this by checking tp_vars->role immediately after the\nlookup and bailing out if it is not BATADV_TP_SENDER, before any of\nthose members are accessed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tp_meter: avoid use of uninit sender vars\n\nbatadv_tp_recv_ack() and batadv_tp_stop() are only valid for tp_vars in the\nBATADV_TP_SENDER role. When called with a BATADV_TP_RECEIVER role, it\nproceeds to read sender-only members that were never initialized, leading\nto undefined behavior.\n\nThis can be triggered when a node that is currently acting as a receiver in\nan ongoing tp_meter session receives a malicious ACK packet.\n\nGuard against this by checking tp_vars->role immediately after the\nlookup and bailing out if it is not BATADV_TP_SENDER, before any of\nthose members are accessed.","source":"cvelist"}],"published":"2026-06-24T07:14:23.349Z","modified":"2026-10-19T20:18:47.920Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-457"],"affected":[{"ranges":[{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"0e388af04b3958b178a1b979527f93eb46ea1fee","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"1a21c055f66e78973712a4a1be2a554f1ee2e4f4","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"9884c9c02d3c90e9215db3c5128f59045d20ae91","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"53f931e0146ae5bdab4cba302646827d06b3794b","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"ecdaa3e4d91040206afe21bc8a0d1198a0971ff3","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"dc2ae5fbd2dadc26735092f140b246841d969a11","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"85397e48afe6be83ffca5ad3f4792296bfc81d3d","status":"affected"},{"type":"git","introduced":"33a3bb4a3345bb511f9c69c913da95d4693e2a4e","fixed":"6c65cf23d4c6170fcf5714c32aa64689718cb142","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.142","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.142"},{"status":"affected","introduced":"6.7","fixed":"6.12.92"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0e388af04b3958b178a1b979527f93eb46ea1fee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a21c055f66e78973712a4a1be2a554f1ee2e4f4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9884c9c02d3c90e9215db3c5128f59045d20ae91","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53f931e0146ae5bdab4cba302646827d06b3794b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecdaa3e4d91040206afe21bc8a0d1198a0971ff3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc2ae5fbd2dadc26735092f140b246841d969a11","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85397e48afe6be83ffca5ad3f4792296bfc81d3d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c65cf23d4c6170fcf5714c32aa64689718cb142","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:22:56.523Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52931","url":"https://www.cve.org/CVERecord?id=CVE-2026-52931","licence":"CVE Terms of Use","modified":"2026-10-19T19:47:08.135Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52931","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52931","licence":"Public domain","modified":"2026-10-19T20:18:47.920Z"}],"updatedAt":"2026-11-25T22:59:25.587Z","epss":{"score":0.00499,"percentile":0.44378,"date":"2026-12-01T12:00:22.000Z"}}