{
  "id": "CVE-2026-31659",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31659",
  "published_at": "2026-04-24T14:45:10.254Z",
  "title": "batman-adv: reject oversized global TT response buffers",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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: reject oversized global TT response buffers\n\nbatadv_tt_prepare_tvlv_global_data() builds the allocation length for a\nglobal TT response in 16-bit temporaries. When a remote originator\nadvertises a large enough global TT, the TT payload length plus the VLAN\nheader offset can exceed 65535 and wrap before kmalloc().\n\nThe full-table response path still uses the original TT payload length when\nit fills tt_change, so the wrapped allocation is too small and\nbatadv_tt_prepare_tvlv_global_data() writes past the end of the heap object\nbefore the later packet-size check runs.\n\nFix this by rejecting TT responses whose TVLV value length cannot fit in\nthe 16-bit TVLV payload length field.",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:3.13:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c 7e5d007e0df946bffb8542fb112e0044014a5897",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c 2997f4bd1f982e7013709946e00be89b507693fa",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c 95c71365a2222908441b54d6f2c315e0c79fcec3",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c 69d61639bc7e963c3b645e570279d731e7c89062",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c f970646b9a39539d1bac86822ac78b5915455ea9",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c de6c1dc3c7d01a152607e6fcecee4d5288283f10",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c cf2199171ef799ca7270019125f4a91bd20ad4d9",
          "\u003e= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, \u003c 3a359bf5c61d52e7f09754108309d637532164a6"
        ],
        "fixed_in": [
          "7e5d007e0df946bffb8542fb112e0044014a5897",
          "2997f4bd1f982e7013709946e00be89b507693fa",
          "95c71365a2222908441b54d6f2c315e0c79fcec3",
          "69d61639bc7e963c3b645e570279d731e7c89062",
          "f970646b9a39539d1bac86822ac78b5915455ea9",
          "de6c1dc3c7d01a152607e6fcecee4d5288283f10",
          "cf2199171ef799ca7270019125f4a91bd20ad4d9",
          "3a359bf5c61d52e7f09754108309d637532164a6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.13"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.169",
          "6.6.135",
          "6.12.82",
          "6.18.23",
          "6.19.13",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 7e5d007e0df946bffb8542fb112e0044014a5897 or 2997f4bd1f982e7013709946e00be89b507693fa or 95c71365a2222908441b54d6f2c315e0c79fcec3 or 69d61639bc7e963c3b645e570279d731e7c89062 or f970646b9a39539d1bac86822ac78b5915455ea9 or de6c1dc3c7d01a152607e6fcecee4d5288283f10 or cf2199171ef799ca7270019125f4a91bd20ad4d9 or 3a359bf5c61d52e7f09754108309d637532164a6 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.169 or 6.6.135 or 6.12.82 or 6.18.23 or 6.19.13 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
