# CVE-2026-52934: batman-adv: tvlv: reject oversized TVLV packets

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-24 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2026-52934, DEBIAN-CVE-2026-52934
- Record: https://cvemate.com/vulnerability/CVE-2026-52934 · JSON: https://cvemate.com/vulnerability/CVE-2026-52934/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

batman-adv: tvlv: reject oversized TVLV packets

batadv_tvlv_container_ogm_append() builds a TVLV packet section from
the tvlv.container_list. The total size of this section is computed by
batadv_tvlv_container_list_size(), which sums the sizes of all registered
containers.

The return type and accumulator in batadv_tvlv_container_list_size() were
u16. If the accumulated size exceeds U16_MAX, the value wraps around,
causing the subsequent allocation in batadv_tvlv_container_ogm_append()
to be undersized. The memcpy-style copy that follows would then write
beyond the end of the allocated buffer, corrupting kernel memory.

Fix this by widening the return type of batadv_tvlv_container_list_size()
to size_t. In batadv_tvlv_container_ogm_append(), check the computed length
against U16_MAX before proceeding, and bail out as if the allocation had
failed when the limit is exceeded.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.244%, percentile 16.679%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 171)

- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-146.146 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1066.69 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1066.69~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1066.69+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1123.132 \| \< 6.8.0-1070.78 \| \< 7.0.0-1010.10

## References (first 20 of 41)

- <https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae>
- <https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04>
- <https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d>
- <https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482>
- <https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171>
- <https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919>
- <https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557>
- <https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab>
- <https://ubuntu.com/security/CVE-2026-52934>
- <https://www.cve.org/CVERecord?id=CVE-2026-52934>
- <https://git.kernel.org/linus/f50487e3566358b2b982b7801945e858c78ad9ab>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>

---

Data as of 2026-12-06T10:13:50.465Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
