CVE-2026-63836
Last modified
CVE-2026-63836 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 35264c4d46067d6312871488c810cef387f8c1f6; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 1381b021bf886b793fa5ffb895a8efae7ba0318f; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < d08b69da40a101df1e28bfe1e8fa7a09ffa41107; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < cd74176cf1685f35a2e5f212d15748bbfecb53b6; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 7d2a44bc6bbe39aed03c68864aa0e54e04a50278; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 585616dab0aa9c45bc11b2c8082ca78533bc00e9; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 33ccd52f3cc9ed46ce395199f89aa3234dc83314 |
| Linux | Linux | 4.8 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-63836?
How severe is CVE-2026-63836?
How do I fix CVE-2026-63836?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63830In the Linux kernel, the following vulnerability has been re…9.4
- CVE-2026-63831In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-63832In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-63833In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-63834In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63835In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63837In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63838In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63839In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6384A flaw was found in gimp. This buffer overflow vulnerability…7.8
- CVE-2026-63840In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-63841In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-63836?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
