{"id":"CVE-2026-52934","aliases":["CVE-2026-52934"],"related":[],"kind":"vulnerability","state":"published","title":"batman-adv: tvlv: reject oversized TVLV packets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-24T07:14:25.321Z","modified":"2026-08-05T12:31:52.290Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"c02aa6c0c9d1bea9bb75dea362b75ad225137bae","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"1595628a2f877d052eda18865ccf539392c47c04","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"6448a49344e87487b61bd88cb850cd694a0f576d","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"13493b00dd1e05a705981e052158652ea23eb482","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"94db72e9dac202e017ee3db22c59d17e4f3bf171","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"ede47988ac5687793745b17c1634a496a2299919","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"94a3d72cd9b21116d7c6d5bdc57c11401fc28557","status":"affected"},{"type":"git","introduced":"ef26157747d42254453f6b3ac2bd8bd3c53339c3","fixed":"f50487e3566358b2b982b7801945e858c78ad9ab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.13","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.93"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52934","url":"https://www.cve.org/CVERecord?id=CVE-2026-52934","licence":"CVE Terms of Use","modified":"2026-08-05T12:31:52.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52934","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52934","licence":"Public domain","modified":"2026-07-08T17:48:48.370Z"}],"updatedAt":"2026-11-25T22:59:25.588Z","epss":{"score":0.00244,"percentile":0.16754,"date":"2026-12-01T12:00:22.000Z"}}