Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35982

MEDIUM 5.1EPSS 21%

batman-adv: Avoid infinite loop trying to resize local TT

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= a19d3d85e1b854e4a483a55d740a42458085560d, < 04720ea2e6c64459a90ca28570ea78335eccd924; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b3ddf6904073990492454b1dd1c10a24be8c74c6; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 87b6af1a7683e021710c08fc0551fc078346032f; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 3fe79b2c83461edbbf86ed8a6f3924820ff89259; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 4ca2a5fb54ea2cc43edea614207fcede562d91c2; >= a19d3d85e1b854e4a483a55d740a42458085560d, < ca54e2671548616ad34885f90d4f26f7adb088f0; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b1f532a3b1e6d2e5559c7ace49322922637a28aa
  • Anyone running Linux 3.13

Vulnerability facts

Affected
Linux >= a19d3d85e1b854e4a483a55d740a42458085560d, < 04720ea2e6c64459a90ca28570ea78335eccd924; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b3ddf6904073990492454b1dd1c10a24be8c74c6; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 87b6af1a7683e021710c08fc0551fc078346032f; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 3fe79b2c83461edbbf86ed8a6f3924820ff89259; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 4ca2a5fb54ea2cc43edea614207fcede562d91c2; >= a19d3d85e1b854e4a483a55d740a42458085560d, < ca54e2671548616ad34885f90d4f26f7adb088f0; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b1f532a3b1e6d2e5559c7ace49322922637a28aa; Linux 3.13
Fixed in
Linux 04720ea2e6c64459a90ca28570ea78335eccd924, Linux 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d, Linux 87b6af1a7683e021710c08fc0551fc078346032f, Linux 3fe79b2c83461edbbf86ed8a6f3924820ff89259, Linux 4ca2a5fb54ea2cc43edea614207fcede562d91c2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
CWE
CWE-835
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: Avoid infinite loop trying to resize local TT If the MTU of one of an attached interface becomes too small to transmit the local translation table then it must be resized to fit inside all fragments (when enabled) or a single packet. But if the MTU becomes too low to transmit even the header + the VLAN specific part then the resizing of the local TT will never succeed. This can for example happen when the usable space is 110 bytes and 11 VLANs are on top of batman-adv. In this case, at least 116 byte would be needed. There will just be an endless spam of batman_adv: batadv0: Forced to purge local tt entries to fit new maximum fragment MTU (110) in the log but the function will never finish. Problem here is that the timeout will be halved all the time and will then stagnate at 0 and therefore never be able to reduce the table even more. There are other scenarios possible with a similar result. The number of BATADV_TT_CLIENT_NOPURGE entries in the local TT can for example be too high to fit inside a packet. Such a scenario can therefore happen also with only a single VLAN + 7 non-purgable addresses - requiring at least 120 bytes. While this should be handled proactively when: * interface with too low MTU is added * VLAN is added * non-purgeable local mac is added * MTU of an attached interface is reduced * fragmentation setting gets disabled (which most likely requires dropping attached interfaces) not all of these scenarios can be prevented because batman-adv is only consuming events without the the possibility to prevent these actions (non-purgable MAC address added, MTU of an attached interface is reduced). It is therefore necessary to also make sure that the code is able to handle also the situations when there were already incompatible system configuration are present.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a19d3d85e1b854e4a483a55d740a42458085560d, < 04720ea2e6c64459a90ca28570ea78335eccd924; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b3ddf6904073990492454b1dd1c10a24be8c74c6; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 87b6af1a7683e021710c08fc0551fc078346032f; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 3fe79b2c83461edbbf86ed8a6f3924820ff89259; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 4ca2a5fb54ea2cc43edea614207fcede562d91c2; >= a19d3d85e1b854e4a483a55d740a42458085560d, < ca54e2671548616ad34885f90d4f26f7adb088f0; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b1f532a3b1e6d2e5559c7ace49322922637a28aa—cvelist
Linux3.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35982. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35982.md
Affected: Linux >= a19d3d85e1b854e4a483a55d740a42458085560d, < 04720ea2e6c64459a90ca28570ea78335eccd924; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b3ddf6904073990492454b1dd1c10a24be8c74c6; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d; >= a19d3d85e1b854e4a483a55…
Fixed in: Linux 04720ea2e6c64459a90ca28570ea78335eccd924, Linux 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d, Linux 87b6af1a7683e021710c08fc0551fc078346032f, Linux 3fe79b2c83461edbbf86ed8a6f3924820ff89259, Linux 4ca2a5fb54ea2cc43edea614207fcede562d91c2

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.

References

FAQ

Is CVE-2024-35982 being exploited?

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

How serious is CVE-2024-35982?

Medium: CVSS 5.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-35982?

Linux >= a19d3d85e1b854e4a483a55d740a42458085560d, < 04720ea2e6c64459a90ca28570ea78335eccd924; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b3ddf6904073990492454b1dd1c10a24be8c74c6; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 87b6af1a7683e021710c08fc0551fc078346032f; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 3fe79b2c83461edbbf86ed8a6f3924820ff89259; >= a19d3d85e1b854e4a483a55d740a42458085560d, < 4ca2a5fb54ea2cc43edea614207fcede562d91c2; >= a19d3d85e1b854e4a483a55d740a42458085560d, < ca54e2671548616ad34885f90d4f26f7adb088f0; >= a19d3d85e1b854e4a483a55d740a42458085560d, < b1f532a3b1e6d2e5559c7ace49322922637a28aa; Linux 3.13.

Is there a fix for CVE-2024-35982?

Yes. Fixed in Linux 04720ea2e6c64459a90ca28570ea78335eccd924, Linux 70a8be9dc2fb65d67f8c1e0c88c587e08e2e575d, Linux 87b6af1a7683e021710c08fc0551fc078346032f, Linux 3fe79b2c83461edbbf86ed8a6f3924820ff89259, Linux 4ca2a5fb54ea2cc43edea614207fcede562d91c2. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-35982?

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.

Sponsors