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

High 8.8 Published Updated

An integer overflow in the batman-adv kernel module allows attackers to corrupt kernel memory, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-52934?

CVE-2026-52934 is a high-severity vulnerability in Linux kernel, published on 24 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2026-52934?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-52934?

Apply the vendor's patch.

Is CVE-2026-52934 being exploited?

There is no known exploitation of CVE-2026-52934 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-90938, BELL-CVE-2026-52934, DEBIAN-CVE-2026-52934, GHSA-w473-pp3w-rqc2, ROOT-OS-DEBIAN-11-CVE-2026-52934, ROOT-OS-DEBIAN-12-CVE-2026-52934 and 3 more.

Is CVE-2026-52934 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free