{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ef26157747d42254453f6b3ac2bd8bd3c53339c3"
            },
            {
              "fixed": "c02aa6c0c9d1bea9bb75dea362b75ad225137bae"
            },
            {
              "fixed": "1595628a2f877d052eda18865ccf539392c47c04"
            },
            {
              "fixed": "6448a49344e87487b61bd88cb850cd694a0f576d"
            },
            {
              "fixed": "13493b00dd1e05a705981e052158652ea23eb482"
            },
            {
              "fixed": "94db72e9dac202e017ee3db22c59d17e4f3bf171"
            },
            {
              "fixed": "ede47988ac5687793745b17c1634a496a2299919"
            },
            {
              "fixed": "94a3d72cd9b21116d7c6d5bdc57c11401fc28557"
            },
            {
              "fixed": "f50487e3566358b2b982b7801945e858c78ad9ab"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.13.0"
            },
            {
              "fixed": "5.10.259"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52934.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tvlv: reject oversized TVLV packets\n\nbatadv_tvlv_container_ogm_append() builds a TVLV packet section from\nthe tvlv.container_list. The total size of this section is computed by\nbatadv_tvlv_container_list_size(), which sums the sizes of all registered\ncontainers.\n\nThe return type and accumulator in batadv_tvlv_container_list_size() were\nu16. If the accumulated size exceeds U16_MAX, the value wraps around,\ncausing the subsequent allocation in batadv_tvlv_container_ogm_append()\nto be undersized. The memcpy-style copy that follows would then write\nbeyond the end of the allocated buffer, corrupting kernel memory.\n\nFix this by widening the return type of batadv_tvlv_container_list_size()\nto size_t. In batadv_tvlv_container_ogm_append(), check the computed length\nagainst U16_MAX before proceeding, and bail out as if the allocation had\nfailed when the limit is exceeded.",
  "id": "CVE-2026-52934",
  "modified": "2026-07-10T03:54:50.220802902Z",
  "published": "2026-06-24T07:14:25.321Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52934.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52934"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "batman-adv: tvlv: reject oversized TVLV packets"
}