Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2024-49938
VULNERABILITY

CVE-2024-49938

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

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

Timeline

Published
Oct 21, 2024 18:15
Modified
Oct 15, 2026 01:19
Last observed
Oct 15, 2026 12:24

CWE

CWE-824

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References