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.
Exploitability Profile
Triage Priority
CVSS v3.1
Authoritative NIST NVD score
None Observed
No active abuse flagged
Not Observed
No public PoC links extracted
Confirmed
0 patch mentions · 8 advisories
Stable
Peak 1 on Jul 19, 2026
1mention
Across 1 tracked day
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Monitor mention velocity for PoC drops, exploit tooling, or active exploitation inflection.
| Authority | Version | Score | Vector String |
|---|---|---|---|
NISTNIST NVD | v3.1 | 5.5MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1 total mentions across 1 observed day · Peak 1 on Jul 19, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| OS | Linux | All versions | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |