{"id":"CVE-2026-64092","summary":"batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown\n\nThe receiver shutdown timer handler, batadv_tp_receiver_shutdown(), is\nresponsible for releasing the tp_vars reference it holds. However, the\nexisting logic for coordinating this release with batadv_tp_stop_all() was\nflawed.\n\ntimer_shutdown_sync() guarantees the timer will not fire again after it\nreturns, but it returns non-zero only when the timer was pending at the\ntime of the call. If the timer had already expired (and\nbatadv_tp_stop_all() would unsucessfully try to  rearm itself),\nbatadv_tp_stop_all() skips its batadv_tp_vars_put(), and\nbatadv_tp_receiver_shutdown() fails to put its own reference as well.\n\nFix this by introducing a new atomic variable receiving that is set to 1\nwhen the receiver is initialized and cleared atomically with atomic_xchg()\nby whichever side claims it first. Only the side that observes the\ntransition from 1 to 0 is responsible for releasing the tp_vars timer\nreference, eliminating the uncertainty.","modified":"2026-10-08T02:51:10.441818488Z","published":"2026-07-19T15:40:00.603Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64092.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b1bedf114ea93fef929b31f0d70a9eedcc601de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/297e1bc4a915b7cd3e65a79ed906b23fb3d7aaae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77098e4bea37af51d3962efa88a5af2ea5e1ac57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7715c73f33260af724d734c41b794457e9be8dbc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9f0bfd624ee8a286d6fd2bf0f796e730efb49b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b285bc0a97f43823a4967fb6d286de4c7f53d541"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d078501dde9b57210f1808cdef4b59463d1f5fc8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64092.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64092"},{"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":"268078acae72daa12b17b2b299701cb9924e469a"},{"fixed":"7715c73f33260af724d734c41b794457e9be8dbc"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58943b7ea356294749dae3e75b96c0ee292c00be"},{"fixed":"297e1bc4a915b7cd3e65a79ed906b23fb3d7aaae"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"79bc0eaeef2c5797317bf2da8e3159a74d62ec47"},{"fixed":"0b1bedf114ea93fef929b31f0d70a9eedcc601de"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"26dfeee8db81354bfdade155f27f9e16510ad196"},{"fixed":"a9f0bfd624ee8a286d6fd2bf0f796e730efb49b0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"03660dab86f93319178a24667f6998526dc4355d"},{"fixed":"b285bc0a97f43823a4967fb6d286de4c7f53d541"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8634c1dbd73adb74d40533ebb7e914efb82e71fb"},{"fixed":"d078501dde9b57210f1808cdef4b59463d1f5fc8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3d3cf6a7314aca4df0a6dde28ce784a2a30d0166"},{"fixed":"77098e4bea37af51d3962efa88a5af2ea5e1ac57"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5.10.259"},{"fixed":"5.11"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5e7d0ac936354c36810e74ac3056b334ed1f4058"}]}],"versions":["v6.6.141","v6.6.140","v6.12.91","v6.12.90","v6.18.33","v6.18.32","v7.0.10","v7.0.9","v5.10.271","v5.10.270","v5.10.269","v5.10.268","v5.10.267","v5.10.266","v5.10.265","v5.10.264","v5.10.263","v5.10.262","v5.10.261","v5.10.260","v5.10.259"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64092.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.140"},{"fixed":"6.6.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.12.90"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.32"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.0.9"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64092.json"}}],"schema_version":"1.9.0"}