# CVE-2022-50179: ath9k: fix use-after-free in ath9k\_hif\_usb\_rx\_cb

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-06-18T11:03:28.841Z
- **Modified:** 2026-11-05T20:17:26.423Z

## Who should check

- Anyone running Linux \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< ab7a0ddf5f1cdec63cb21840369873806fc36d80; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< e9e21206b8ea62220b486310c61277e7ebfe7cec; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< eccd7c3e2596b574241a7670b5b53f5322f470e5; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 03ca957c5f7b55660957eda20b5db4110319ac7a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b66ebac40f64336ae2d053883bee85261060bd27; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0ac4827f78c7ffe8eef074bc010e7e34bc22f533
- Anyone running Linux 2.6.35

## Description

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

ath9k: fix use-after-free in ath9k\_hif\_usb\_rx\_cb

Syzbot reported use-after-free Read in ath9k\_hif\_usb\_rx\_cb() \[0\]. The
problem was in incorrect htc\_handle-\>drv\_priv initialization.

Probable call trace which can trigger use-after-free:

ath9k\_htc\_probe\_device()
  /\* htc\_handle-\>drv\_priv = priv; \*/
  ath9k\_htc\_wait\_for\_target()      \<--- Failed
  ieee80211\_free\_hw()		   \<--- priv pointer is freed

\<IRQ\>
...
ath9k\_hif\_usb\_rx\_cb()
  ath9k\_hif\_usb\_rx\_stream()
   RX\_STAT\_INC()		\<--- htc\_handle-\>drv\_priv access

In order to not add fancy protection for drv\_priv we can move
htc\_handle-\>drv\_priv initialization at the end of the
ath9k\_htc\_probe\_device() and add helper macro to make
all \*\_STAT\_\* macros NULL safe, since syzbot has reported related NULL
deref in that macros \[1\]

## Affected and fixed versions

- Linux: \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< ab7a0ddf5f1cdec63cb21840369873806fc36d80; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< e9e21206b8ea62220b486310c61277e7ebfe7cec; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< eccd7c3e2596b574241a7670b5b53f5322f470e5; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 03ca957c5f7b55660957eda20b5db4110319ac7a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b66ebac40f64336ae2d053883bee85261060bd27; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0ac4827f78c7ffe8eef074bc010e7e34bc22f533 (cvelist)
- Linux: 2.6.35 (cvelist)

## Mitigation

- Upgrade Linux to 0ac4827f78c7ffe8eef074bc010e7e34bc22f533 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50179.md
Affected: Linux >= fb9987d0f748c983bb795a86f47522313f701a08, < 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e; >= fb9987d0f748c983bb795a86f47522313f701a08, < ab7a0ddf5f1cdec63cb21840369873806fc36d80; >= fb9987d0f748c983bb795a86f47522313f701a08, < e9e21206b8ea62220b486310c61277e7ebfe7cec; >= fb9987d0f748c983bb795a8…
Fixed in: Linux 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e, Linux 03ca957c5f7b55660957eda20b5db4110319ac7a, Linux 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6, Linux 0ac4827f78c7ffe8eef074bc010e7e34bc22f533

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-50179 being exploited?

There is no confirmed exploitation: CVE-2022-50179 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-50179?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< ab7a0ddf5f1cdec63cb21840369873806fc36d80; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< e9e21206b8ea62220b486310c61277e7ebfe7cec; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< eccd7c3e2596b574241a7670b5b53f5322f470e5; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 03ca957c5f7b55660957eda20b5db4110319ac7a; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< b66ebac40f64336ae2d053883bee85261060bd27; \>= fb9987d0f748c983bb795a86f47522313f701a08, \< 0ac4827f78c7ffe8eef074bc010e7e34bc22f533; Linux 2.6.35.

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

Yes. Fixed in Linux 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e, Linux 03ca957c5f7b55660957eda20b5db4110319ac7a, Linux 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6, Linux 0ac4827f78c7ffe8eef074bc010e7e34bc22f533. Upgrade Linux to 0ac4827f78c7ffe8eef074bc010e7e34bc22f533 or later.

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

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

- patch: <https://git.kernel.org/stable/c/62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e>
- patch: <https://git.kernel.org/stable/c/ab7a0ddf5f1cdec63cb21840369873806fc36d80>
- patch: <https://git.kernel.org/stable/c/e9e21206b8ea62220b486310c61277e7ebfe7cec>
- patch: <https://git.kernel.org/stable/c/eccd7c3e2596b574241a7670b5b53f5322f470e5>
- patch: <https://git.kernel.org/stable/c/03ca957c5f7b55660957eda20b5db4110319ac7a>
- patch: <https://git.kernel.org/stable/c/6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6>
- patch: <https://git.kernel.org/stable/c/b66ebac40f64336ae2d053883bee85261060bd27>
- patch: <https://git.kernel.org/stable/c/0ac4827f78c7ffe8eef074bc010e7e34bc22f533>

## 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-50179>

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