CVE Database›CVE-2024-49938

CVE-2024-49938

kernel: wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · October 21, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's ath9k_htc Wi-Fi driver. An issue exists where the skb_trim() function, used for resetting the length of a socket buffer (skb) before resubmitting a USB Request Block (urb), can encounter an uninitialized length value in certain error conditions. A local attacker could potentially exploit this vulnerability to cause a denial of service by triggering these error paths.

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 mitigate this issue, prevent the ath9k_htc kernel module from loading if the affected Atheros wireless hardware is not required. This can be achieved by blacklisting the module. Create a file /etc/modprobe.d/blacklist-ath9k_htc.conf with the following content:

blacklist ath9k_htc

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

dracut -f -v
reboot

Disabling this module will impact wireless functionality if ath9k_htc is in use.

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-824 · Access of Uninitialized Pointer