Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access with net-admin capability
-
DeliveryLoad/enable batman-adv and start tp_meter
-
ExploitDrive congestion window to 0x20000000 maximum
-
ExecutionTrigger divide-by-zero in batadv_tp_update_cwnd
-
ImpactKernel panic / denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Requires the batman-adv kernel module to be built, loaded, and actively running a throughput-meter (tp_meter) session; the divide-by-zero occurs specifically when the congestion window (cwnd) reaches its maximum value 0x20000000, causing the scaled divisor (cwnd * 8) to overflow u32 and wrap to 0. Exploitation is limited by: local access only (AV:L), low-privilege requirement (PR:L) - in practice initiating/managing a tp_meter session typically needs CAP_NET_ADMIN - and the non-default nature of the component (batman-adv mesh networking is not enabled in typical deployments). No user interaction is required (UI:N), and impact is limited to availability (kernel crash); there is no confidentiality or integrity impact. |
| Impact | This is a low-to-moderate priority issue despite being in the Linux kernel. The signals are consistent and point to limited real-world risk: the CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) describes a local, low-privilege denial-of-service with no confidentiality or integrity impact; EPSS is very low at 0.17% (6th percentile); there is no CISA KEV listing, so there is no evidence of active exploitation. The vuln.today decision label is 'this_month' (routine patching), not act_now/emergency. The flaw is a CWE-369 divide-by-zero in the batman-adv throughput meter (tp_meter): when the congestion window reaches its maximum 0x20000000, the scaled arithmetic in batadv_tp_update_cwnd() overflows u32 and the divisor wraps to 0. Crucially, the effect is confined to the batman-adv mesh module, which must be compiled in, loaded, and actively running a throughput measurement - a narrow precondition that sharply limits exposure. A public PoC reference exists (vuldb) but it is not verified as working exploit code, so exploitability should not be overstated. No signals conflict; all of them (low EPSS, no KEV, availability-only, local vector, niche component) agree this is a genuine but low-urgency fix. |
| Exploit ScenarioDerived | A local actor with permission to drive a batman-adv throughput test (via batctl, typically requiring CAP_NET_ADMIN) runs a tp_meter session over a mesh interface; if the congestion window reaches its maximum value, the cwnd-update calculation divides by zero and crashes the kernel, causing a denial of service. A public PoC reference exists but is not verified as working exploit code. Because the CVSS vector is AV:L/AC:L/PR:L with only availability impact, this is a local crash, not remote code execution or data exposure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
A divide-by-zero in the batman-adv throughput meter (tp_meter) can crash the Linux kernel when the mesh congestion window reaches its maximum value of 0x20000000, because the scaled divisor in batadv_tp_update_cwnd() overflows 32-bit arithmetic and wraps to zero. Affected are kernels containing the tp_meter code since 4.8 through the fixed stable releases (5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3 and 7.2-rc1). Triggering requires local access with low privileges (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) and, in practice, a loaded batman-adv module running an active tp_meter session, which typically implies CAP_NET_ADMIN; impact is availability only (kernel crash). There is no public exploit identified at time of analysis, EPSS is 0.17% (6th percentile), and the issue is not listed in CISA KEV.
RemediationAI
Install the vendor-released kernel updates containing the fix: mainline/stable 7.1.3 or 7.2-rc1, or the corresponding stable branches 6.18.38, 6.12.95, 6.6.144, 6.1.177, 5.15.211 and 5.10.260; the upstream changes are the commits referenced from git.kernel.org (e.g. 33ccd52f3cc9ed46ce395199f89aa3234dc83314, 35264c4d46067d6312871488c810cef387f8c1f6, 1381b021bf886b793fa5ffb895a8efae7ba0318f) and the corrected expression is (mss ** 2) * 8 / cwnd. Ubuntu users should apply USN-8726-1 (https://ubuntu.com/security/notices/USN-8726-1) or USN-8727-1 (https://ubuntu.com/security/notices/USN-8727-1) as applicable, and see also the kernel stable links and the oss-sec post (https://seclists.org/oss-sec/2026/q3/230) and VulDB entry (https://vuldb.com/vuln/380521) for tracking. Where patching must be deferred, the practical compensating control is to avoid load of the batman-adv module on untrusted-workload hosts or to prevent unprivileged users from obtaining CAP_NET_ADMIN, since starting a tp_meter session is what reaches the vulnerable arithmetic; both measures trade away mesh networking functionality or administrative flexibility rather than removing the underlying bug, so upgrading remains the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
batman-adv is the in-kernel B.A.T.M.A.N. advanced mesh networking module, and its tp_meter facility measures link throughput by driving a congestion window (cwnd) that is bounded between the MSS and 0x20000000. The window update routine batadv_tp_update_cwnd() originally computed ((mss * 8) 2) / (cwnd * 8); when cwnd equals 0x20000000, the left shift of three bits pushes the divisor past U32_MAX+1, wrapping it to 0 and producing a divide-by-zero (CWE-369). The upstream fix rewrites the expression as (mss 2) * 8 / cwnd, preserving the factor-of-8 precision scaling while removing the divisor overflow; the changelog also notes that mss must stay at or below 16383 (floor((32-3)/2) bits) to keep the dividend safe for 32-bit arithmetic, and that mss is currently pinned to BATADV_TP_PLEN in batadv_tp_recv_ack(), so the residual dividend overflow is theoretical rather than imminent. The bug is arithmetic in nature and is reached only through the throughput-meter code path on a loaded, active batman-adv instance; the trigger for reaching the maximum cwnd value is not further described in the available sources. Note that some feed tags classify this as a 'Buffer Overflow', which does not match the CWE-369 divide-by-zero root cause.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local trigger via batman-adv tp_meter requiring net-admin-level privilege (PR:L), no user interaction, and a kernel-crash denial of service only, so C:N/I:N/A:H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: tp_meter: avoid divide-by-zero for dec_cwnd
The cwnd is always MSS <= cwnd <= 0x20000000. But the calculation in batadv_tp_update_cwnd() assumes unsigned 32 bit arithmetics.
((mss * 8) ** 2) / (cwnd * 8)
In case cwnd is actually 0x20000000, it will be shifted by 3 bit to the left end up at 0x100000000 or U32_MAX + 1. It will therefore wrap around and be 0 - resulting in:
((mss * 8) ** 2) / 0
This is of course invalid and cannot be calculated. The calculation should must be simplified to avoid this overflow:
(mss ** 2) * 8 / cwnd
It will keep the precision enhancement from the scaling (by 8) but avoid the overflow in the divisor.
In theory, there could still be an overflow in the dividend. It is at the moment fixed to BATADV_TP_PLEN in batadv_tp_recv_ack() - so it is not an imminent problem. But allowing it to use the whole u32 bit range, would mean that it can still use up to 67 bits. To keep this calculation safe for 32 bit arithmetic, mss must never use more than floor((32 - 3) / 2) bits - or in other words: must never be larger than 16383.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-45502
GHSA-f3pj-q27g-923q
NVD
CVE.org
EPSS
VulDB
Exploit-DB