Skip to main content

Linux Kernel EUVDEUVD-2026-45502

| CVE-2026-63836 MEDIUM
Divide By Zero (CWE-369)
2026-07-19 Linux GHSA-f3pj-q27g-923q
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access with net-admin capability
  2. Delivery
    Load/enable batman-adv and start tp_meter
  3. Exploit
    Drive congestion window to 0x20000000 maximum
  4. Execution
    Trigger divide-by-zero in batadv_tp_update_cwnd
  5. Impact
    Kernel 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <33ccd52f3cc9ed46ce395199f89aa3234dc83314
Linux patch: 7.1.3
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <35264c4d46067d6312871488c810cef387f8c1f6
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <585616dab0aa9c45bc11b2c8082ca78533bc00e9
Linux patch: 5.15.211
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <7d2a44bc6bbe39aed03c68864aa0e54e04a50278
Linux 4.8
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <d08b69da40a101df1e28bfe1e8fa7a09ffa41107
Linux patch: 6.12.95
Linux patch: 5.10.260
Linux patch: 6.18.38
Linux patch: 0
Linux patch: 6.6.144
Linux patch: 6.1.177
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <cd74176cf1685f35a2e5f212d15748bbfecb53b6
Linux patch: 7.2-rc1
Linux 33a3bb4a3345bb511f9c69c913da95d4693e2a4e <1381b021bf886b793fa5ffb895a8efae7ba0318f

Affected Packages

euvd linux no fix

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 12, 2026 - 19:52 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 14:17 EUVD
CVE Published
Jul 19, 2026 - 12:02 nvd
MEDIUM 5.5
CVE Published
Jul 19, 2026 - 12:02 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
batman-adv is a niche mesh-routing kernel module, not deployed in most production systems
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy