Skip to content
Heist/ feed
Back to feed
UnratedFix available

batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown The receiver shutdown timer handler, batadv_tp_receiver_shutdown(), is responsible for releasing the tp_vars reference it holds. However, the existing logic for coordinating this release with batadv_tp_stop_all() was flawed. timer_shutdown_sync() guarantees the timer will not fire again after it returns, but it returns non-zero only when the timer was pending at the time of the call. If the timer had already expired (and batadv_tp_stop_all() would unsucessfully try to rearm itself), batadv_tp_stop_all() skips its batadv_tp_vars_put(), and batadv_tp_receiver_shutdown() fails to put its own reference as well. Fix this by introducing a new atomic variable receiving that is set to 1 when the receiver is initialized and cleared atomically with atomic_xchg() by whichever side claims it first. Only the side that observes the transition from 1 to 0 is responsible for releasing the tp_vars timer reference, eliminating the uncertainty.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.92, 6.18.34, 6.6.142, 7.0.11
CVEs
CVE-2026-64092
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:01 UTC · Revision 1

Source evidence

batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown

core-osv · Original source

Published 19 Jul 2026, 15:40 UTC

In the Linux kernel, the following vulnerability has been resolved: batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown The receiver shutdown timer handler, batadv_tp_receiver_shutdown(), is responsible for releasing the tp_vars reference it holds. However, the existing logic for coordinating this release with batadv_tp_stop_all() was flawed. timer_shutdown_sync() guarantees the timer will not fire again after it returns, but it returns non-zero only when the timer was pending at the time of the call. If the timer had already expired (and batadv_tp_stop_all() would unsucessfully try to rearm itself), batadv_tp_stop_all() skips its batadv_tp_vars_put(), and batadv_tp_receiver_shutdown() fails to put its own reference as well. Fix this by introducing a new atomic variable receiving that is set to 1 when the receiver is initialized and cleared atomically with atomic_xchg() by whichever side claims it first. Only the side that observes the transition from 1 to 0 is responsible for releasing the tp_vars timer reference, eliminating the uncertainty.

osv:CVE-2026-64092

Kernel

Fixed versions: 6.6.142, 6.12.92, 6.18.34, 7.0.11

Complete source record
{
  "id": "ee1f59a895c42472d25fe4b05f4703b47466b7e9720d15bdff9a4558935c9180",
  "url": "https://osv.dev/vulnerability/CVE-2026-64092",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown The receiver shutdown timer handler, batadv_tp_receiver_shutdown(), is responsible for releasing the tp_vars reference it holds. However, the existing logic for coordinating this release with batadv_tp_stop_all() was flawed. timer_shutdown_sync() guarantees the timer will not fire again after it returns, but it returns non-zero only when the timer was pending at the time of the call. If the timer had already expired (and batadv_tp_stop_all() would unsucessfully try to rearm itself), batadv_tp_stop_all() skips its batadv_tp_vars_put(), and batadv_tp_receiver_shutdown() fails to put its own reference as well. Fix this by introducing a new atomic variable receiving that is set to 1 when the receiver is initialized and cleared atomically with atomic_xchg() by whichever side claims it first. Only the side that observes the transition from 1 to 0 is responsible for releasing the tp_vars timer reference, eliminating the uncertainty.",
    "evidence": "osv:CVE-2026-64092",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.142",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.92",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-64092",
      "aliases": [
        "CVE-2026-64092"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "268078acae72daa12b17b2b299701cb9924e469a"
                },
                {
                  "fixed": "7715c73f33260af724d734c41b794457e9be8dbc"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "58943b7ea356294749dae3e75b96c0ee292c00be"
                },
                {
                  "fixed": "297e1bc4a915b7cd3e65a79ed906b23fb3d7aaae"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "79bc0eaeef2c5797317bf2da8e3159a74d62ec47"
                },
                {
                  "fixed": "0b1bedf114ea93fef929b31f0d70a9eedcc601de"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "26dfeee8db81354bfdade155f27f9e16510ad196"
                },
                {
                  "fixed": "a9f0bfd624ee8a286d6fd2bf0f796e730efb49b0"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "03660dab86f93319178a24667f6998526dc4355d"
                },
                {
                  "fixed": "b285bc0a97f43823a4967fb6d286de4c7f53d541"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8634c1dbd73adb74d40533ebb7e914efb82e71fb"
                },
                {
                  "fixed": "d078501dde9b57210f1808cdef4b59463d1f5fc8"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3d3cf6a7314aca4df0a6dde28ce784a2a30d0166"
                },
                {
                  "fixed": "77098e4bea37af51d3962efa88a5af2ea5e1ac57"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.10.259"
                },
                {
                  "fixed": "5.11"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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.272",
            "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"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64092.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.621145952Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0b1bedf114ea93fef929b31f0d70a9eedcc601de",
        "https://git.kernel.org/stable/c/297e1bc4a915b7cd3e65a79ed906b23fb3d7aaae",
        "https://git.kernel.org/stable/c/77098e4bea37af51d3962efa88a5af2ea5e1ac57",
        "https://git.kernel.org/stable/c/7715c73f33260af724d734c41b794457e9be8dbc",
        "https://git.kernel.org/stable/c/a9f0bfd624ee8a286d6fd2bf0f796e730efb49b0",
        "https://git.kernel.org/stable/c/b285bc0a97f43823a4967fb6d286de4c7f53d541",
        "https://git.kernel.org/stable/c/d078501dde9b57210f1808cdef4b59463d1f5fc8",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64092.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-64092",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64092.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-64092",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 506986,
  "published_at": "2026-07-19T15:40:00.603+00:00"
}