Skip to main content
Network Thinking Solutions Logo

CVE-2026-63836

Linux kernel: batman-adv: tp_meter: avoid divide-by-zero for dec_cwnd

All CVEs
CVE-2026-63836Published 7/19/2026

Linux kernel: batman-adv: tp_meter: avoid divide-by-zero for dec_cwnd

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
7/19/2026
Last modified
11/12/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.8, < 5.10.260

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.211

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.177

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.144

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.95

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.38

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 7.1.3

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 35264c4d46067d6312871488c810cef387f8c1f6

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 1381b021bf886b793fa5ffb895a8efae7ba0318f

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < d08b69da40a101df1e28bfe1e8fa7a09ffa41107

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < cd74176cf1685f35a2e5f212d15748bbfecb53b6

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 7d2a44bc6bbe39aed03c68864aa0e54e04a50278

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 585616dab0aa9c45bc11b2c8082ca78533bc00e9

Verify advisory

Source
Linux
Linux
≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 33ccd52f3cc9ed46ce395199f89aa3234dc83314

Verify advisory

Source
Linux
Linux
4.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.