# CVE-2022-50709: wifi: ath9k: avoid uninit memory read in ath9k\_htc\_rx\_msg()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:23.194Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= fb9987d0f748c983bb795a86f47522313f701a08, \< f3d2a3b7e290d0bdbddfcee5a6c3d922e2b7e02a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 84242f15f911f34aec9b22f99d1e9bff19723dbe; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 2c485f4f2a64258acc5228e78ffb828c68d9e770; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 9661724f6206bd606ecf13acada676a9975d230b; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b1b4144508adfc585e43856b31baaf9008a3beb4; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0d2649b288b7b9484e3d4380c0d6c4720a17e473; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 4891a50f5ed8bfcb8f2a4b816b0676f398687783; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b383e8abed41cc6ff1a3b34de75df9397fa4878c
- Anyone running Linux 2.6.35

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath9k: avoid uninit memory read in ath9k\_htc\_rx\_msg()

syzbot is reporting uninit value at ath9k\_htc\_rx\_msg() \[1\], for
ioctl(USB\_RAW\_IOCTL\_EP\_WRITE) can call ath9k\_hif\_usb\_rx\_stream() with
pkt\_len = 0 but ath9k\_hif\_usb\_rx\_stream() uses
\_\_dev\_alloc\_skb(pkt\_len + 32, GFP\_ATOMIC) based on an assumption that
pkt\_len is valid. As a result, ath9k\_hif\_usb\_rx\_stream() allocates skb
with uninitialized memory and ath9k\_htc\_rx\_msg() is reading from
uninitialized memory.

Since bytes accessed by ath9k\_htc\_rx\_msg() is not known until
ath9k\_htc\_rx\_msg() is called, it would be difficult to check minimal valid
pkt\_len at "if (pkt\_len \> 2 \* MAX\_RX\_BUF\_SIZE) {" line in
ath9k\_hif\_usb\_rx\_stream().

We have two choices. One is to workaround by adding \_\_GFP\_ZERO so that
ath9k\_htc\_rx\_msg() sees 0 if pkt\_len is invalid. The other is to let
ath9k\_htc\_rx\_msg() validate pkt\_len before accessing. This patch chose
the latter.

Note that I'm not sure threshold condition is correct, for I can't find
details on possible packet length used by this protocol.

## Affected and fixed versions

- Linux: \>= fb9987d0f748c983bb795a86f47522313f701a08, \< f3d2a3b7e290d0bdbddfcee5a6c3d922e2b7e02a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 84242f15f911f34aec9b22f99d1e9bff19723dbe; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 2c485f4f2a64258acc5228e78ffb828c68d9e770; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 9661724f6206bd606ecf13acada676a9975d230b; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b1b4144508adfc585e43856b31baaf9008a3beb4; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0d2649b288b7b9484e3d4380c0d6c4720a17e473; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 4891a50f5ed8bfcb8f2a4b816b0676f398687783; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b383e8abed41cc6ff1a3b34de75df9397fa4878c (cvelist)
- Linux: 2.6.35 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50709. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50709.md
Affected: Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < f3d2a3b7e290d0bdbddfcee5a6c3d922e2b7e02a; >= fb9987d0f748c983bb795a86f47522313f701a08, < 84242f15f911f34aec9b22f99d1e9bff19723dbe; >= fb9987d0f748c983bb795a86f47522313f701a08, < 2c485f4f2a64258acc5228e78ffb828c68d9e770; >= fb9987d0f748c983bb795a8…
Fixed in: Linux 84242f15f911f34aec9b22f99d1e9bff19723dbe, Linux 2c485f4f2a64258acc5228e78ffb828c68d9e770, Linux 9661724f6206bd606ecf13acada676a9975d230b, Linux 0d2649b288b7b9484e3d4380c0d6c4720a17e473, Linux 4891a50f5ed8bfcb8f2a4b816b0676f398687783

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50709 being exploited?

There is no confirmed exploitation: CVE-2022-50709 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50709?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50709?

Linux \>= fb9987d0f748c983bb795a86f47522313f701a08, \< f3d2a3b7e290d0bdbddfcee5a6c3d922e2b7e02a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 84242f15f911f34aec9b22f99d1e9bff19723dbe; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 2c485f4f2a64258acc5228e78ffb828c68d9e770; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 9661724f6206bd606ecf13acada676a9975d230b; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b1b4144508adfc585e43856b31baaf9008a3beb4; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0d2649b288b7b9484e3d4380c0d6c4720a17e473; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 4891a50f5ed8bfcb8f2a4b816b0676f398687783; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b383e8abed41cc6ff1a3b34de75df9397fa4878c; Linux 2.6.35.

### Is there a fix for CVE-2022-50709?

Yes. Fixed in Linux 84242f15f911f34aec9b22f99d1e9bff19723dbe, Linux 2c485f4f2a64258acc5228e78ffb828c68d9e770, Linux 9661724f6206bd606ecf13acada676a9975d230b, Linux 0d2649b288b7b9484e3d4380c0d6c4720a17e473, Linux 4891a50f5ed8bfcb8f2a4b816b0676f398687783. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50709?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f3d2a3b7e290d0bdbddfcee5a6c3d922e2b7e02a>
- other: <https://git.kernel.org/stable/c/84242f15f911f34aec9b22f99d1e9bff19723dbe>
- other: <https://git.kernel.org/stable/c/2c485f4f2a64258acc5228e78ffb828c68d9e770>
- other: <https://git.kernel.org/stable/c/9661724f6206bd606ecf13acada676a9975d230b>
- other: <https://git.kernel.org/stable/c/b1b4144508adfc585e43856b31baaf9008a3beb4>
- other: <https://git.kernel.org/stable/c/0d2649b288b7b9484e3d4380c0d6c4720a17e473>
- other: <https://git.kernel.org/stable/c/4891a50f5ed8bfcb8f2a4b816b0676f398687783>
- other: <https://git.kernel.org/stable/c/b383e8abed41cc6ff1a3b34de75df9397fa4878c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50709>

HTML: <https://flawdb.com/CVE-2022-50709> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50709>
