{
  "id": "CVE-2026-52919",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52919",
  "published_at": "2026-06-24T07:14:15.201Z",
  "title": "batman-adv: fix tp_meter counter underflow during shutdown",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: fix tp_meter counter underflow during shutdown\n\nbatadv_tp_sender_shutdown() unconditionally decrements the \"sending\"\natomic counter. If multiple paths (e.g. timeout, user cancel, and\nnormal finish) call this function, the counter can underflow to -1.\n\nSince the sender logic treats any non-zero value as \"still sending\",\na negative value causes the sender kthread to loop indefinitely.\nThis leads to a use-after-free when the interface is removed while\nthe zombie thread is still active.\n\nFix this by using atomic_xchg() to ensure the counter only transitions\nfrom 1 to 0 once.\n\n[sven: added missing change in batadv_tp_send]",
  "cwe": "CWE-191",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c e75e2ab463b5b34df6b98f94d740aff327ce9f6b",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c abae88fa254f2981d39ac003a7b302528a22af64",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c c66d20a3ff095e3f000551d208ec2606616db15c",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c c1bac194733aabd731aafa6a01350c229e187dba",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c 01cefc5923889e29dbb5f281c3d457714ceb9c00",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c 90ae3eae06b7b8ab9f6250b9497c860915b4c17b",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c aeae11c5dad9cd0d50723890bdd866f8e6db2e7d",
          "\u003e= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \u003c 94f3b133168d1c49895e7cc6afbcf1cc0b354602"
        ],
        "fixed_in": [
          "e75e2ab463b5b34df6b98f94d740aff327ce9f6b",
          "abae88fa254f2981d39ac003a7b302528a22af64",
          "c66d20a3ff095e3f000551d208ec2606616db15c",
          "c1bac194733aabd731aafa6a01350c229e187dba",
          "01cefc5923889e29dbb5f281c3d457714ceb9c00",
          "90ae3eae06b7b8ab9f6250b9497c860915b4c17b",
          "aeae11c5dad9cd0d50723890bdd866f8e6db2e7d",
          "94f3b133168d1c49895e7cc6afbcf1cc0b354602"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.8"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.142",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e75e2ab463b5b34df6b98f94d740aff327ce9f6b or abae88fa254f2981d39ac003a7b302528a22af64 or c66d20a3ff095e3f000551d208ec2606616db15c or c1bac194733aabd731aafa6a01350c229e187dba or 01cefc5923889e29dbb5f281c3d457714ceb9c00 or 90ae3eae06b7b8ab9f6250b9497c860915b4c17b or aeae11c5dad9cd0d50723890bdd866f8e6db2e7d or 94f3b133168d1c49895e7cc6afbcf1cc0b354602 or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
