CVE-2024-57898
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57898 affects the Linux kernel's wifi subsystem, specifically the cfg80211 component. The vulnerability was discovered and disclosed on January 15, 2025, and involves an issue with the link ID bitmap clearing process during link deletion operations (NVD).

Technical details

The vulnerability occurs in the link deletion process where the link ID is prematurely removed from the validlinks bitmap before completing clean-up operations. Some functions, particularly cfg80211cacevent(), require the link ID to remain in the validlinks bitmap during the cleanup process. The issue manifests in the following call flow: nl80211removelink() → cfg80211removelink() → ieee80211delintflink() → ieee80211vifsetlinks() → ieee80211vifupdatelinks() → ieee80211linkstop() → cfg80211cac_event() (Kernel Commit).

Impact

When the vulnerability is triggered, it results in a WARN_ON() condition being hit due to the premature clearing of the link ID from the bitmap. This can affect the proper functioning of the wireless network interface management system in the Linux kernel (NVD).

Mitigation and workarounds

The issue has been fixed by modifying the link deletion process to clear the link ID from the bitmap only after completing the link clean-up operations. The fix involves passing a masked value to simulate the non-existence of the link ID while maintaining it in the valid_links bitmap during the cleanup process (Kernel Commit).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

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