CVE-2024-40981
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40981 affects the Linux kernel's batman-adv (Batman Advanced) component, specifically in the batadv_purge_orig_ref() function. The vulnerability was discovered and reported on July 12, 2024, and affects multiple versions of the Linux kernel from versions prior to 4.19.317 up through versions prior to 6.9.7 (NVD).

Technical details

The vulnerability manifests as a soft lockup condition in the batadv_purge_orig_ref() function of the Batman Advanced networking protocol implementation. The issue occurs during the processing of hash buckets, where the CPU can become stuck for extended periods. The CVSS v3.1 base score is 5.5 (MEDIUM) with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, while the CVSS v4.0 score is 4.8 with vector string CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L (NVD).

Impact

The vulnerability can lead to a denial of service condition through CPU soft lockups, potentially affecting system availability. The issue specifically impacts the Batman Advanced mesh networking functionality in the Linux kernel (NVD).

Mitigation and workarounds

A patch has been developed and merged into the Linux kernel that bypasses empty buckets in the batadv_purge_orig_ref() function to prevent the soft lockup condition. The fix has been backported to multiple stable kernel versions. Users should update to patched kernel versions: 4.19.317 or later, 5.4.279 or later, 5.10.221 or later, 5.15.162 or later, 6.1.96 or later, 6.6.36 or later, or 6.9.7 or later (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management