Description
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.
References (11)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
0.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-824
Status
published
Products (9)
linux/Kernel
2.6.35 - 4.19.323linux
linux/Kernel
4.20.0 - 5.4.285linux
linux/Kernel
5.11.0 - 5.15.168linux
linux/Kernel
5.16.0 - 6.1.113linux
linux/Kernel
5.5.0 - 5.10.227linux
linux/Kernel
6.11.0 - 6.11.3linux
linux/Kernel
6.2.0 - 6.6.55linux
linux/Kernel
6.7.0 - 6.10.14linux
linux/linux_kernel
< 5.10.227
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026