CVE-2022-1679: Use After Free

Published Feb 7, 2022
·
Updated

A use-after-free flaw was found in the Linux kernel’s Atheros wireless adapter driver in the way a user forces the ath9khtcwaitfortarget function to fail with some input messages. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Other sources

A vulnerability was found in ath9khtcprobedevice in drivers/net/wireless/ath/ath9k/htcdrvinit.c in the Linux kernel. In this flaw, a local user may gain access to kernel memory, leading to a system crash or a leak of internal kernel information. In more details. After ieee80211allochw executes finished, it saves variable priv into htchandle->drvpriv. Then, if function ath9khtcwaitfortarget executes failed, it directly frees variable hw by function ieee80211freehw, but it doesn't clear htchandle->drvpriv. At now, the usb communication channel has been established. Function ath9khifusbrxstream is used to process received messages. It calls macro RXSTATINC to count packets' number. And this macro uses htchandle->drvpriv which has been freed before.

Reference: https://lore.kernel.org/lkml/87ilqc7jv9.fsf@kernel.org/t/

Red Hat

Affected Software

47 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-477.10.1.rt7.274.el8_8
0:4.18.0-477.10.1.rt7.274.el8_8
redhat/kernel<0:4.18.0-477.10.1.el8_8
0:4.18.0-477.10.1.el8_8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
Linux Linux kernel>=2.6.35<4.14.291
Linux Linux kernel>=4.15<4.19.256
Linux Linux kernel>=4.20<5.4.211
Linux Linux kernel>=5.5<5.10.137
Linux Linux kernel>=5.11<5.15.61
Linux Linux kernel>=5.16<5.18.18
Linux Linux kernel>=5.19<5.19.2
Debian Debian Linux=10.0
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
Linux Linux kernel=5.18-rc7
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
redhat/Linux kernel<5.18
5.18
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.rt7.274.el8_8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.el8_8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.el9_1
  4. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.rt21.168.el9_1
  5. Upgrade

    Upgrade redhat/Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.18
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  7. Compensating control

    Prevent the affected kernel module from loading automatically by blacklisting the ath9k module (ath9k), as described in Red Hat solution 41278.

Event History

Feb 7, 2022
CVE Published
10:00 AM
May 11, 2022
Data Sourced
via Red Hat·01:33 PM
DescriptionSeverityAffected Software
May 16, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 22, 2026
Data Sourced
via Launchpad·11:07 AM
Description
Aug 12, 2026
Data Sourced
via Debian·12:27 PM
DescriptionAffected Software
Aug 15, 2026
Data Sourced
via Ubuntu·12:29 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1679?

CVE-2022-1679 has a medium severity rating allowing local users to crash the system or potentially escalate privileges.

2

How do I fix CVE-2022-1679?

To fix CVE-2022-1679, update your Linux kernel to the recommended versions, such as 0:4.18.0-477.10.1.rt7.274.el8_8 or newer for Red Hat.

3

Who is affected by CVE-2022-1679?

CVE-2022-1679 affects systems running the Linux kernel versions that are vulnerable, particularly those with Atheros wireless adapter drivers.

4

Can CVE-2022-1679 be exploited remotely?

CVE-2022-1679 cannot be exploited remotely as it requires local user access to trigger the vulnerability.

5

What impact does CVE-2022-1679 have on system security?

CVE-2022-1679 can lead to system crashes and privilege escalation, potentially compromising system integrity and confidentiality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203