{"id":"CVE-2026-52934","published":"2026-06-24T07:14:25Z","modified":"2026-08-05T12:31:52Z","title":"batman-adv: tvlv: reject oversized TVLV packets","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27052,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae","tags":[]},{"url":"https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04","tags":[]},{"url":"https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d","tags":[]},{"url":"https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482","tags":[]},{"url":"https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171","tags":[]},{"url":"https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919","tags":[]},{"url":"https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557","tags":[]},{"url":"https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < c02aa6c0c9d1bea9bb75dea362b75ad225137bae",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < 1595628a2f877d052eda18865ccf539392c47c04",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < 6448a49344e87487b61bd88cb850cd694a0f576d",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < 13493b00dd1e05a705981e052158652ea23eb482",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < 94db72e9dac202e017ee3db22c59d17e4f3bf171",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < ede47988ac5687793745b17c1634a496a2299919",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < 94a3d72cd9b21116d7c6d5bdc57c11401fc28557",">= ef26157747d42254453f6b3ac2bd8bd3c53339c3, < f50487e3566358b2b982b7801945e858c78ad9ab"]},{"vendor":"Linux","product":"Linux","versions":["3.13"]}],"euvd":{"id":"EUVD-2026-38704","exploited":false,"provenance":"source"}}