CVE-2022-49235
ath9k_htc: fix uninit value bugs
Check your servers for CVE-2022-49235
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-2022-49235 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:
ath9k_htc: fix uninit value bugs
Syzbot reported 2 KMSAN bugs in ath9k. All of them are caused by missing field initialization.
In htc_connect_service() svc_meta_len and pad are not initialized. Based on code it looks like in current skb there is no service data, so simply initialize svc_meta_len to 0.
htc_issue_send() does not initialize htc_frame_hdr::control array. Based on firmware code, it will initialize it by itself, so simply zero whole array to make KMSAN happy
Fail logs:
BUG: KMSAN: kernel-usb-infoleak in usb_submit_urb+0x6c1/0x2aa0 drivers/usb/core/urb.c:430 usb_submit_urb+0x6c1/0x2aa0 drivers/usb/core/urb.c:430 hif_usb_send_regout drivers/net/wireless/ath/ath9k/hif_usb.c:127 [inline] hif_usb_send+0x5f0/0x16f0 drivers/net/wireless/ath/ath9k/hif_usb.c:479 htc_issue_send drivers/net/wireless/ath/ath9k/htc_hst.c:34 [inline] htc_connect_service+0x143e/0x1960 drivers/net/wireless/ath/ath9k/htc_hst.c:275 ...
Uninit was created at: slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:3251 [inline] __kmalloc_node_track_caller+0xe0c/0x1510 mm/slub.c:4974 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0x545/0xf90 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1126 [inline] htc_connect_service+0x1029/0x1960 drivers/net/wireless/ath/ath9k/htc_hst.c:258 ...
Bytes 4-7 of 18 are uninitialized Memory access of size 18 starts at ffff888027377e00
BUG: KMSAN: kernel-usb-infoleak in usb_submit_urb+0x6c1/0x2aa0 drivers/usb/core/urb.c:430 usb_submit_urb+0x6c1/0x2aa0 drivers/usb/core/urb.c:430 hif_usb_send_regout drivers/net/wireless/ath/ath9k/hif_usb.c:127 [inline] hif_usb_send+0x5f0/0x16f0 drivers/net/wireless/ath/ath9k/hif_usb.c:479 htc_issue_send drivers/net/wireless/ath/ath9k/htc_hst.c:34 [inline] htc_connect_service+0x143e/0x1960 drivers/net/wireless/ath/ath9k/htc_hst.c:275 ...
Uninit was created at: slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:3251 [inline] __kmalloc_node_track_caller+0xe0c/0x1510 mm/slub.c:4974 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0x545/0xf90 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1126 [inline] htc_connect_service+0x1029/0x1960 drivers/net/wireless/ath/ath9k/htc_hst.c:258 ...
Bytes 16-17 of 18 are uninitialized Memory access of size 18 starts at ffff888027377e00
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- 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
Weakness
- CWE-908 Use of Uninitialized Resource
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 5c2a6a8daa17a3f65b38b9a5574bb362c13fa1d9 affected from fb9987d0f748c983bb795a86f47522313f701a08, before e352acdd378e9263cc4c6018e588f2dac7161d07 affected from fb9987d0f748c983bb795a86f47522313f701a08, before ee4222052a76559c20e821bc3519cefb58b6d3e9 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 4d244b731188e0b63fc40a9d2dec72e9181fb37c affected from fb9987d0f748c983bb795a86f47522313f701a08, before 11f11ac281f0c0b363d2940204f28bae0422ed71 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 0b700f7d06492de34964b6f414120043364f8191 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 7da6169b6ebb75816b57be3beb829afa74f3b4b6 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 5abf2b761b998063f5e2bae93fd4ab10e2a80f10 affected from fb9987d0f748c983bb795a86f47522313f701a08, before d1e0df1c57bd30871dd1c855742a7c346dbca853
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.9.311 up to and including 4.9.* unaffected from 4.14.276 up to and including 4.14.* unaffected from 4.19.238 up to and including 4.19.* unaffected from 5.4.189 up to and including 5.4.* unaffected from 5.10.110 up to and including 5.10.* unaffected from 5.15.33 up to and including 5.15.* unaffected from 5.16.19 up to and including 5.16.* unaffected from 5.17.2 up to and including 5.17.* unaffected 5.18 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-2022-49235 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49235
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-2022-49235
trivy image --scanners vuln IMAGE | grep CVE-2022-49235
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/5c2a6a8daa17a3f65b38b9a5574bb362c13fa1d9 git.kernel.org
- https://git.kernel.org/stable/c/e352acdd378e9263cc4c6018e588f2dac7161d07 git.kernel.org
- https://git.kernel.org/stable/c/ee4222052a76559c20e821bc3519cefb58b6d3e9 git.kernel.org
- https://git.kernel.org/stable/c/4d244b731188e0b63fc40a9d2dec72e9181fb37c git.kernel.org
- https://git.kernel.org/stable/c/11f11ac281f0c0b363d2940204f28bae0422ed71 git.kernel.org
- https://git.kernel.org/stable/c/0b700f7d06492de34964b6f414120043364f8191 git.kernel.org
- https://git.kernel.org/stable/c/7da6169b6ebb75816b57be3beb829afa74f3b4b6 git.kernel.org
- https://git.kernel.org/stable/c/5abf2b761b998063f5e2bae93fd4ab10e2a80f10 git.kernel.org
- https://git.kernel.org/stable/c/d1e0df1c57bd30871dd1c855742a7c346dbca853 git.kernel.org
Source: the record CVE-2022-49235 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse