# CVE-2026-63836: batman-adv: tp\_meter: avoid divide-by-zero for dec\_cwnd

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-369
- **Published:** 2026-07-19T12:02:27.166Z
- **Modified:** 2026-11-12T19:50:47.910Z

## Who should check

- Anyone running Linux \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 35264c4d46067d6312871488c810cef387f8c1f6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 1381b021bf886b793fa5ffb895a8efae7ba0318f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< d08b69da40a101df1e28bfe1e8fa7a09ffa41107; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< cd74176cf1685f35a2e5f212d15748bbfecb53b6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 7d2a44bc6bbe39aed03c68864aa0e54e04a50278; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 585616dab0aa9c45bc11b2c8082ca78533bc00e9; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 33ccd52f3cc9ed46ce395199f89aa3234dc83314
- Anyone running Linux 4.8

## 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.

## Affected and fixed versions

- Linux: \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 35264c4d46067d6312871488c810cef387f8c1f6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 1381b021bf886b793fa5ffb895a8efae7ba0318f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< d08b69da40a101df1e28bfe1e8fa7a09ffa41107; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< cd74176cf1685f35a2e5f212d15748bbfecb53b6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 7d2a44bc6bbe39aed03c68864aa0e54e04a50278; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 585616dab0aa9c45bc11b2c8082ca78533bc00e9; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 33ccd52f3cc9ed46ce395199f89aa3234dc83314 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 33ccd52f3cc9ed46ce395199f89aa3234dc83314 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63836. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63836.md
Affected: Linux >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 35264c4d46067d6312871488c810cef387f8c1f6; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < 1381b021bf886b793fa5ffb895a8efae7ba0318f; >= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, < d08b69da40a101df1e28bfe1e8fa7a09ffa41107; >= 33a3bb4a3345bb511f9c69c…
Fixed in: Linux 35264c4d46067d6312871488c810cef387f8c1f6, Linux 1381b021bf886b793fa5ffb895a8efae7ba0318f, Linux 7d2a44bc6bbe39aed03c68864aa0e54e04a50278, Linux 585616dab0aa9c45bc11b2c8082ca78533bc00e9, Linux 33ccd52f3cc9ed46ce395199f89aa3234dc83314

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63836 being exploited?

There is no confirmed exploitation: CVE-2026-63836 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-63836?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63836?

Linux \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 35264c4d46067d6312871488c810cef387f8c1f6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 1381b021bf886b793fa5ffb895a8efae7ba0318f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< d08b69da40a101df1e28bfe1e8fa7a09ffa41107; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< cd74176cf1685f35a2e5f212d15748bbfecb53b6; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 7d2a44bc6bbe39aed03c68864aa0e54e04a50278; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 585616dab0aa9c45bc11b2c8082ca78533bc00e9; \>= 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, \< 33ccd52f3cc9ed46ce395199f89aa3234dc83314; Linux 4.8.

### Is there a fix for CVE-2026-63836?

Yes. Fixed in Linux 35264c4d46067d6312871488c810cef387f8c1f6, Linux 1381b021bf886b793fa5ffb895a8efae7ba0318f, Linux 7d2a44bc6bbe39aed03c68864aa0e54e04a50278, Linux 585616dab0aa9c45bc11b2c8082ca78533bc00e9, Linux 33ccd52f3cc9ed46ce395199f89aa3234dc83314. Upgrade Linux to 33ccd52f3cc9ed46ce395199f89aa3234dc83314 or later.

### How do I check if I'm affected by CVE-2026-63836?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/35264c4d46067d6312871488c810cef387f8c1f6>
- patch: <https://git.kernel.org/stable/c/1381b021bf886b793fa5ffb895a8efae7ba0318f>
- patch: <https://git.kernel.org/stable/c/d08b69da40a101df1e28bfe1e8fa7a09ffa41107>
- patch: <https://git.kernel.org/stable/c/cd74176cf1685f35a2e5f212d15748bbfecb53b6>
- patch: <https://git.kernel.org/stable/c/ac229c86e49fdb96d91f51bc2fa37a9c4f58c44f>
- patch: <https://git.kernel.org/stable/c/7d2a44bc6bbe39aed03c68864aa0e54e04a50278>
- patch: <https://git.kernel.org/stable/c/585616dab0aa9c45bc11b2c8082ca78533bc00e9>
- patch: <https://git.kernel.org/stable/c/33ccd52f3cc9ed46ce395199f89aa3234dc83314>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63836>

HTML: <https://flawdb.com/CVE-2026-63836> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63836>
