wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
Summary
| CVE | CVE-2024-49938 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-10-21 18:15:15 UTC |
| Updated | 2026-05-12 12:17:18 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-824
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 e6b9bf32e0695e4f374674002de0527d2a6768eb git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 d1f2fbc6a769081503f6ffedbb5cd1ac497f0e77 git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 b02eb7c86ff2ef1411c3095ec8a52b13f68db04f git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 012ae530afa0785102360de452745d33c99a321b git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 6a875220670475d9247e576c15dc29823100a4e4 git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 e37e348835032d6940ec89308cc8996ded691d2d git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 2c230210ec0ae6ed08306ac70dc21c24b817bb95 git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 a9f4e28e8adaf0715bd4e01462af0a52ee46b01f git | Not specified |
| CNA | Linux | Linux | affected fb9987d0f748c983bb795a86f47522313f701a08 94745807f3ebd379f23865e6dab196f220664179 git | Not specified |
| CNA | Linux | Linux | affected 2.6.35 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.35 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.323 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.285 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.227 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.168 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.113 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.55 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.14 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11.3 6.11.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | unaffected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/e37e348835032d6940ec89308cc8996ded691d2d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a9f4e28e8adaf0715bd4e01462af0a52ee46b01f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e6b9bf32e0695e4f374674002de0527d2a6768eb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/94745807f3ebd379f23865e6dab196f220664179 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00002.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/6a875220670475d9247e576c15dc29823100a4e4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d1f2fbc6a769081503f6ffedbb5cd1ac497f0e77 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/012ae530afa0785102360de452745d33c99a321b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-355557.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/2c230210ec0ae6ed08306ac70dc21c24b817bb95 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/b02eb7c86ff2ef1411c3095ec8a52b13f68db04f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.