CVE Database›Document archive›CVE-2024-46755

CVE-2024-46755

kernel: wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · September 18, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's mwifiex Wi-Fi driver. The mwifiex_get_priv_by_id() function can return a pointer to unused private data. A local user, by repeatedly starting and interrupting a Wi-Fi Access Point configuration using wpa_supplicant, can trigger a NULL pointer dereference. This vulnerability leads to a kernel crash, resulting in a Denial of Service (DoS).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To prevent the mwifiex kernel modules from loading, blacklist them. This will disable WiFi functionality provided by Marvell mwifiex devices.

Create a file /etc/modprobe.d/blacklist-mwifiex.conf with the following content:

blacklist mwifiex
blacklist mwifiex_sdio

After creating the file, regenerate the initramfs and reboot the system for the changes to take effect.

dracut -f -v
reboot

This mitigation will impact the functionality of any Marvell WiFi hardware that relies on these drivers.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference