CVE-2022-42719: Use After Free

Published Oct 13, 2022
·
Updated

A use-after-free in the mac80211 stack when parsing a multi-BSSID element in the Linux kernel 5.2 through 5.19.x before 5.19.16 could be used by attackers (able to inject WLAN frames) to crash the kernel and potentially execute code.

Other sources

In ieee80211parseelemscrc of util.c, there is a possible use after free due to a logic error in the code. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

134 affected componentsFixes available
Linux Linux kernel>=5.2<5.4.219
Linux Linux kernel>=5.5<5.10.149
Linux Linux kernel>=5.11<5.15.74
Linux Linux kernel>=5.16<5.19.16
Linux Linux kernel>=6.0<6.0.2
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Google Android
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.4<5.4.0-1089.97~18.04.1
5.4.0-1089.97~18.04.1
ubuntu/linux-azure-5.4<5.4.0-1095.101~18.04.1
5.4.0-1095.101~18.04.1
ubuntu/linux-gcp-5.4<5.4.0-1093.102~18.04.1
5.4.0-1093.102~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-132.148~18.04.1
5.4.0-132.148~18.04.1
ubuntu/linux-ibm-5.4<5.4.0-1037.42~18.04.1
5.4.0-1037.42~18.04.1
ubuntu/linux-oracle-5.4<5.4.0-1087.96~18.04.1
5.4.0-1087.96~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1074.85~18.04.1
5.4.0-1074.85~18.04.1
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/backport-iwlwifi-dkms*
ubuntu/backport-iwlwifi-dkms<8324-0ubuntu3~20.04.5
8324-0ubuntu3~20.04.5
ubuntu/linux<5.4.0-132.148
5.4.0-132.148
ubuntu/linux-aws<5.4.0-1089.97
5.4.0-1089.97
ubuntu/linux-aws-5.15<5.15.0-1022.26~20.04.1
5.15.0-1022.26~20.04.1
ubuntu/linux-azure<5.4.0-1095.101
5.4.0-1095.101
ubuntu/linux-azure-5.15<5.15.0-1022.27~20.04.1
5.15.0-1022.27~20.04.1
ubuntu/linux-bluefield<5.4.0-1050.56
5.4.0-1050.56
ubuntu/linux-gcp<5.4.0-1093.102
5.4.0-1093.102
ubuntu/linux-gcp-5.15<5.15.0-1021.28~20.04.1
5.15.0-1021.28~20.04.1
ubuntu/linux-gke<5.4.0-1087.94
5.4.0-1087.94
ubuntu/linux-gke-5.15<5.15.0-1019.23~20.04.1
5.15.0-1019.23~20.04.1
ubuntu/linux-gkeop<5.4.0-1057.61
5.4.0-1057.61
ubuntu/linux-gkeop-5.15<5.15.0-1007.10~20.04.1
5.15.0-1007.10~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-52.58~20.04.1
5.15.0-52.58~20.04.1
ubuntu/linux-ibm<5.4.0-1037.42
5.4.0-1037.42
ubuntu/linux-intel-iotg-5.15<5.15.0-1018.23~20.04.1
5.15.0-1018.23~20.04.1
ubuntu/linux-iot<5.4.0-1006.8
5.4.0-1006.8
ubuntu/linux-kvm<5.4.0-1079.85
5.4.0-1079.85
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-52.58~20.04.1
5.15.0-52.58~20.04.1
ubuntu/linux-oem-5.14<5.14.0-1054.61
5.14.0-1054.61
ubuntu/linux-oracle<5.4.0-1087.96
5.4.0-1087.96
ubuntu/linux-oracle-5.15<5.15.0-1021.27~20.04.1
5.15.0-1021.27~20.04.1
ubuntu/linux-raspi<5.4.0-1074.85
5.4.0-1074.85
ubuntu/linux-riscv-5.15<5.15.0-1022.26~20.04.1
5.15.0-1022.26~20.04.1
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1089.97+fips1
5.4.0-1089.97+fips1
ubuntu/linux-azure-fips<5.4.0-1095.101+fips1
5.4.0-1095.101+fips1
ubuntu/linux-fips<5.4.0-1065.74
5.4.0-1065.74
ubuntu/linux-gcp-fips<5.4.0-1093.102+fips1
5.4.0-1093.102+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/backport-iwlwifi-dkms<9858-0ubuntu3.1
9858-0ubuntu3.1
ubuntu/linux<5.15.0-52.58
5.15.0-52.58
ubuntu/linux-aws<5.15.0-1022.26
5.15.0-1022.26
ubuntu/linux-aws-6.2*
ubuntu/linux-azure<5.15.0-1022.27
5.15.0-1022.27
ubuntu/linux-azure-fde<5.15.0-1024.30.1
5.15.0-1024.30.1
ubuntu/linux-gcp<5.15.0-1021.28
5.15.0-1021.28
ubuntu/linux-gcp-6.2*
ubuntu/linux-gke<5.15.0-1019.23
5.15.0-1019.23
ubuntu/linux-gkeop<5.15.0-1007.10
5.15.0-1007.10
ubuntu/linux-ibm<5.15.0-1017.20
5.15.0-1017.20
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg<5.15.0-1018.23
5.15.0-1018.23
ubuntu/linux-kvm<5.15.0-1020.24
5.15.0-1020.24
ubuntu/linux-lowlatency<5.15.0-52.58
5.15.0-52.58
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-nvidia<5.15.0-1015.15
5.15.0-1015.15
ubuntu/linux-oem-5.17<5.17.0-1020.21
5.17.0-1020.21
ubuntu/linux-oem-6.1*
ubuntu/linux-oracle<5.15.0-1021.27
5.15.0-1021.27
ubuntu/linux-raspi<5.15.0-1017.19
5.15.0-1017.19
ubuntu/linux-realtime*
ubuntu/linux-riscv<5.15.0-1022.26
5.15.0-1022.26
ubuntu/linux-realtime<5.15.0-1024.25
5.15.0-1024.25
ubuntu/backport-iwlwifi-dkms*
ubuntu/linux-raspi-realtime*
ubuntu/backport-iwlwifi-dkms*
ubuntu/backport-iwlwifi-dkms*
ubuntu/backport-iwlwifi-dkms*
android/:linux_kernel:>=:0<:2023-01-05
:2023-01-05
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
alpine/linux-lts<5.15.74-r0
5.15.74-r0
debian/linux
5.10.149-16.0.2-1
debian/linux-5.10
5.10.149-2~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1089.97~18.04.1
  2. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1095.101~18.04.1
  3. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1093.102~18.04.1
  4. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-132.148~18.04.1
  5. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1037.42~18.04.1
  6. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1087.96~18.04.1
  7. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1074.85~18.04.1
  8. Upgrade

    Upgrade ubuntu/backport-iwlwifi-dkms to a version that resolves this vulnerability.

    Fixed in 8324-0ubuntu3~20.04.5
  9. Upgrade

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

    Fixed in 5.4.0-132.148
  10. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1089.97
  11. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.26~20.04.1
  12. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1095.101
  13. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.27~20.04.1
  14. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1050.56
  15. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1093.102
  16. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.28~20.04.1
  17. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1087.94
  18. Upgrade

    Upgrade ubuntu/linux-gke-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.23~20.04.1
  19. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1057.61
  20. Upgrade

    Upgrade ubuntu/linux-gkeop-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1007.10~20.04.1
  21. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-52.58~20.04.1
  22. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1037.42
  23. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1018.23~20.04.1
  24. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1006.8
  25. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1079.85
  26. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-52.58~20.04.1
  27. Upgrade

    Upgrade ubuntu/linux-oem-5.14 to a version that resolves this vulnerability.

    Fixed in 5.14.0-1054.61
  28. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1087.96
  29. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.27~20.04.1
  30. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1074.85
  31. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.26~20.04.1
  32. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1089.97+fips1
  33. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1095.101+fips1
  34. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1065.74
  35. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1093.102+fips1
  36. Upgrade

    Upgrade ubuntu/backport-iwlwifi-dkms to a version that resolves this vulnerability.

    Fixed in 9858-0ubuntu3.1
  37. Upgrade

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

    Fixed in 5.15.0-52.58
  38. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.26
  39. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.27
  40. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1024.30.1
  41. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.28
  42. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.23
  43. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1007.10
  44. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1017.20
  45. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1018.23
  46. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1020.24
  47. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-52.58
  48. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1015.15
  49. Upgrade

    Upgrade ubuntu/linux-oem-5.17 to a version that resolves this vulnerability.

    Fixed in 5.17.0-1020.21
  50. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.27
  51. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1017.19
  52. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.26
  53. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1024.25
  54. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2023-01-05
  55. Upgrade

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

    Fixed in 6.0.2-1
  56. Upgrade

    Upgrade alpine/linux-lts to a version that resolves this vulnerability.

    Fixed in 5.15.74-r0
  57. Upgrade

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

    Fixed in 5.10.149-1Fixed in 6.0.2-1
  58. Upgrade

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

    Fixed in 5.10.149-2~deb10u1

Event History

Oct 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software
Jan 1, 2023
Advisory Published
via OSV·12:00 AM
Feb 15, 2023
Data Sourced
08:15 PM
Weakness
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Nov 7, 2023
Data Sourced
via NVD·03:53 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:53 AM
Affected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
May 21, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:25 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·05:05 AM
Affected Software
Sep 30, 2026
Updated
via Android·12:00 AM
Affected Software
Oct 14, 2026
Updated
via NVD·07:16 PM
SeverityWeaknessAffected Software
Oct 22, 2026
Updated
via Ubuntu·12:00 AM
Description
Nov 12, 2026
Updated
via OSV·05:23 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2022-42719?

CVE-2022-42719 has a high severity due to its potential for allowing kernel crashes and code execution through a use-after-free vulnerability.

2

How do I fix CVE-2022-42719?

To fix CVE-2022-42719, you should update your Linux kernel to version 5.19.16 or later.

3

Which Linux kernel versions are affected by CVE-2022-42719?

CVE-2022-42719 affects Linux kernel versions from 5.2 up to 5.19.x before 5.19.16.

4

What are the possible impacts of exploiting CVE-2022-42719?

Exploiting CVE-2022-42719 could lead to a kernel crash and may allow attackers to execute arbitrary code.

5

Which distributions are impacted by CVE-2022-42719?

CVE-2022-42719 impacts several distributions including Google Android and various Debian and Fedora releases.

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