CVE-2024-49938
wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
Check your servers for CVE-2024-49938
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-49938 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fb9987d0f748c983bb795a86f47522313f701a08, before e6b9bf32e0695e4f374674002de0527d2a6768eb affected from fb9987d0f748c983bb795a86f47522313f701a08, before d1f2fbc6a769081503f6ffedbb5cd1ac497f0e77 affected from fb9987d0f748c983bb795a86f47522313f701a08, before b02eb7c86ff2ef1411c3095ec8a52b13f68db04f affected from fb9987d0f748c983bb795a86f47522313f701a08, before 012ae530afa0785102360de452745d33c99a321b affected from fb9987d0f748c983bb795a86f47522313f701a08, before 6a875220670475d9247e576c15dc29823100a4e4 affected from fb9987d0f748c983bb795a86f47522313f701a08, before e37e348835032d6940ec89308cc8996ded691d2d affected from fb9987d0f748c983bb795a86f47522313f701a08, before 2c230210ec0ae6ed08306ac70dc21c24b817bb95 affected from fb9987d0f748c983bb795a86f47522313f701a08, before a9f4e28e8adaf0715bd4e01462af0a52ee46b01f affected from fb9987d0f748c983bb795a86f47522313f701a08, before 94745807f3ebd379f23865e6dab196f220664179
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.55 up to and including 6.6.* unaffected from 6.10.14 up to and including 6.10.* unaffected from 6.11.3 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-49938 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49938
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-49938
trivy image --scanners vuln IMAGE | grep CVE-2024-49938
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e6b9bf32e0695e4f374674002de0527d2a6768eb git.kernel.org
- https://git.kernel.org/stable/c/d1f2fbc6a769081503f6ffedbb5cd1ac497f0e77 git.kernel.org
- https://git.kernel.org/stable/c/b02eb7c86ff2ef1411c3095ec8a52b13f68db04f git.kernel.org
- https://git.kernel.org/stable/c/012ae530afa0785102360de452745d33c99a321b git.kernel.org
- https://git.kernel.org/stable/c/6a875220670475d9247e576c15dc29823100a4e4 git.kernel.org
- https://git.kernel.org/stable/c/e37e348835032d6940ec89308cc8996ded691d2d git.kernel.org
- https://git.kernel.org/stable/c/2c230210ec0ae6ed08306ac70dc21c24b817bb95 git.kernel.org
- https://git.kernel.org/stable/c/a9f4e28e8adaf0715bd4e01462af0a52ee46b01f git.kernel.org
- https://git.kernel.org/stable/c/94745807f3ebd379f23865e6dab196f220664179 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-49938 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse