CVE-2026-63836: batman-adv: tp_meter: avoid divide-by-zero for dec_cwnd
Vulnerability summary
CVE-2026-63836 is a medium (CVSS 5.5) Divide By Zero vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 43 · Related 39Timeline
- 19-07-2026PublishedVulnerability first disclosed.
- 17-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 0.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu168 products
- linuxAll versions (No fix recorded) | < 5.15.0-198.208 | < 6.8.0-147.147 | < 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1117.124 | < 6.8.0-1067.70 | < 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 35264c4d46067d6312871488c810cef387f8c1f6 | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 1381b021bf886b793fa5ffb895a8efae7ba0318f | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < d08b69da40a101df1e28bfe1e8fa7a09ffa41107 | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < cd74176cf1685f35a2e5f212d15748bbfecb53b6 | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 7d2a44bc6bbe39aed03c68864aa0e54e04a50278 | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 585616dab0aa9c45bc11b2c8082ca78533bc00e9 | ≥ 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 33ccd52f3cc9ed46ce395199f89aa3234dc83314 | 4.8
- linux_kernel≥ 4.8, < 5.10.260 | ≥ 5.11, < 5.15.211 | ≥ 5.16, < 6.1.177 | ≥ 6.2, < 6.6.144 | ≥ 6.7, < 6.12.95 | ≥ 6.13, < 6.18.38 | ≥ 6.19, < 7.1.3
Debian1 product
- linux< 6.1.177-1 | < 6.12.95-1 | < 7.1.3-1
3 vendors · 171 products