CVE-2022-50179

ath9k: fix use-after-free in ath9k_hif_usb_rx_cb

No CVSS score yet EPSS 0.27%

Published 18 Jun 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50179

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

Check my servers

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]

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

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.

ProductVersions
Linux
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e
affected from fb9987d0f748c983bb795a86f47522313f701a08, before ab7a0ddf5f1cdec63cb21840369873806fc36d80
affected from fb9987d0f748c983bb795a86f47522313f701a08, before e9e21206b8ea62220b486310c61277e7ebfe7cec
affected from fb9987d0f748c983bb795a86f47522313f701a08, before eccd7c3e2596b574241a7670b5b53f5322f470e5
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 03ca957c5f7b55660957eda20b5db4110319ac7a
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6
affected from fb9987d0f748c983bb795a86f47522313f701a08, before b66ebac40f64336ae2d053883bee85261060bd27
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 0ac4827f78c7ffe8eef074bc010e7e34bc22f533
Other versions: unaffected
Linux
affected 2.6.35
unaffected before 2.6.35
unaffected from 4.14.291 up to and including 4.14.*
unaffected from 4.19.256 up to and including 4.19.*
unaffected from 5.4.211 up to and including 5.4.*
unaffected from 5.10.137 up to and including 5.10.*
unaffected from 5.15.61 up to and including 5.15.*
unaffected from 5.18.18 up to and including 5.18.*
unaffected from 5.19.2 up to and including 5.19.*
unaffected 6.0 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-50179 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50179

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-50179
trivy image --scanners vuln IMAGE | grep CVE-2022-50179

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

Source: the record CVE-2022-50179 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.