CVE-2024-49938CWE-824

CVE-2024-49938

Medium · published October 21, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
16.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.7th percentile
Weakness
CWE-824 · Access of Uninitialized Pointer
Published
2024-10-21T22:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 5.10.2275.10.227
linux/linux_kernel≥ 5.11, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.556.6.55
linux/linux_kernel≥ 6.7, < 6.10.146.10.14
linux/linux_kernel≥ 6.11, < 6.11.36.11.3
References (13)
EPSS history
Timeline
  • 21 OCT 18:01Z
    wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
    cvelistv5