CVE Catalog

CVE-2024-49938

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

16th percentile - higher than 16% of all known CVEs

Summary

In the Linux kernel, a vulnerability in the wifi ath9k_htc driver involves using skb_trim() to reset length before resubmit, which can cause issues with uninitialized length. It was changed to __skb_set_length().

Risk Assessment

This can lead to a system crash or undefined behavior. It affects systems running vulnerable Linux kernel versions using ath9k_htc.

Recommendation

Update the Linux kernel to a version that includes the fix, which uses __skb_set_length(skb, 0) instead of skb_trim(). Apply security updates.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit Syzbot points out that skb_trim() has a sanity check on the existing length of the skb, which can be uninitialised in some error paths. The intent here is clearly just to reset the length to zero before resubmitting, so switch to calling __skb_set_length(skb, 0) directly. In addition, __skb_set_length() already contains a call to skb_reset_tail_pointer(), so remove the redundant call. The syzbot report came from ath9k_hif_usb_reg_in_cb(), but there's a similar usage of skb_trim() in ath9k_hif_usb_rx_cb(), change both while we're at it.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS