CVE-2024-40929
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40929 affects the Linux kernel's iwlwifi driver component. The vulnerability was discovered and disclosed on July 12, 2024, and involves a potential out-of-bounds access issue in the iwlwifi module's MVM (Modular Virtual Machine) scanning functionality. The vulnerability affects various versions of the Linux kernel that include the iwlwifi driver (NVD).

Technical details

The vulnerability exists in the iwlwifi driver's MVM scanning functionality where the code accesses the ssids pointer without properly checking the nssids value first. In some versions of cfg80211, the ssids pointer might be valid even when nssids is 0, which can lead to an out-of-bounds access. The issue stems from the adaptive dwell support feature introduced in commit c1a7515393e4 (Kernel Commit).

Impact

If exploited, this vulnerability could lead to an out-of-bounds memory access in the kernel's wireless networking subsystem. This could potentially result in system crashes, memory corruption, or potential privilege escalation, affecting systems using the Intel wireless (iwlwifi) driver (NVD).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux kernel versions through patches that add proper validation of n_ssids before accessing the ssids pointer. Ubuntu has released fixes for various versions including 24.04 LTS (6.8.0-44.44), 22.04 LTS (5.15.0-121.131), and 20.04 LTS (5.4.0-200.220). Red Hat has also released fixes for affected versions in RHEL 9 (Ubuntu Security, Red Hat Security).

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-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 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