{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52931: batman-adv: tp_meter: avoid use of uninit sender vars","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52931","status":"final","version":"1","initial_release_date":"2026-06-24T07:14:23.349Z","current_release_date":"2026-06-28T06:36:51.143Z","revision_history":[{"date":"2026-06-24T07:14:23.349Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52931 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52931"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52931"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/0e388af04b3958b178a1b979527f93eb46ea1fee"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/1a21c055f66e78973712a4a1be2a554f1ee2e4f4"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/9884c9c02d3c90e9215db3c5128f59045d20ae91"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/53f931e0146ae5bdab4cba302646827d06b3794b"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/ecdaa3e4d91040206afe21bc8a0d1198a0971ff3"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/dc2ae5fbd2dadc26735092f140b246841d969a11"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/85397e48afe6be83ffca5ad3f4792296bfc81d3d"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/6c65cf23d4c6170fcf5714c32aa64689718cb142"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <0e388af04b3958b178a1b979527f93eb46ea1fee","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <0e388af04b3958b178a1b979527f93eb46ea1fee","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <1a21c055f66e78973712a4a1be2a554f1ee2e4f4","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <1a21c055f66e78973712a4a1be2a554f1ee2e4f4","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <9884c9c02d3c90e9215db3c5128f59045d20ae91","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <9884c9c02d3c90e9215db3c5128f59045d20ae91","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <53f931e0146ae5bdab4cba302646827d06b3794b","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <53f931e0146ae5bdab4cba302646827d06b3794b","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <ecdaa3e4d91040206afe21bc8a0d1198a0971ff3","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <ecdaa3e4d91040206afe21bc8a0d1198a0971ff3","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <dc2ae5fbd2dadc26735092f140b246841d969a11","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <dc2ae5fbd2dadc26735092f140b246841d969a11","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <85397e48afe6be83ffca5ad3f4792296bfc81d3d","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <85397e48afe6be83ffca5ad3f4792296bfc81d3d","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <6c65cf23d4c6170fcf5714c32aa64689718cb142","product":{"name":"Linux Linux >=33a3bb4a3345bb511f9c69c913da95d4693e2a4e <6c65cf23d4c6170fcf5714c32aa64689718cb142","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"4.8","product":{"name":"Linux Linux 4.8","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.10.258","product":{"name":"Linux Linux 5.10.258","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.15.209","product":{"name":"Linux Linux 5.15.209","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.175","product":{"name":"Linux Linux 6.1.175","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.142","product":{"name":"Linux Linux 6.6.142","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.92","product":{"name":"Linux Linux 6.12.92","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.34","product":{"name":"Linux Linux 6.18.34","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.11","product":{"name":"Linux Linux 7.0.11","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-18","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.8:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52931","title":"batman-adv: tp_meter: avoid use of uninit sender vars","notes":[{"category":"description","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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"],"fixed":["CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 0e388af04b3958b178a1b979527f93eb46ea1fee, 1a21c055f66e78973712a4a1be2a554f1ee2e4f4, 5.10.258, 5.15.209, 53f931e0146ae5bdab4cba302646827d06b3794b, 6.1.175, 6.6.142, 6.12.92, 6.18.34, 6c65cf23d4c6170fcf5714c32aa64689718cb142, 7.0.11, 7.1, 85397e48afe6be83ffca5ad3f4792296bfc81d3d, 9884c9c02d3c90e9215db3c5128f59045d20ae91, dc2ae5fbd2dadc26735092f140b246841d969a11, ecdaa3e4d91040206afe21bc8a0d1198a0971ff3.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}]}]}