CVE-2021-42008: High severity Linux Linux kernel vulnerability

Published Oct 4, 2021
·
Updated

Last updated 25 April 2025

Other sources

The decodedata function in drivers/net/hamradio/6pack.c in the Linux kernel before 5.13.13 has a slab out-of-bounds write. Input from a process that has the CAPNETADMIN capability can lead to root access.

— Launchpad

Affected Software

139 affected componentsFixes available
Linux Linux kernel>=2.6.12<4.4.282
Linux Linux kernel>=4.5<4.9.281
Linux Linux kernel>=4.10<4.14.245
Linux Linux kernel>=4.15<4.19.205
Linux Linux kernel>=4.20<5.4.143
Linux Linux kernel>=5.5<5.10.61
Linux Linux kernel>=5.11<5.13.13
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
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
Debian Debian Linux=9.0
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
NetApp H410c Firmware
NetApp H410c
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
ubuntu/linux-aws<4.4.0-1099.104
4.4.0-1099.104
ubuntu/linux-azure<4.15.0-1125.138~14.04.1
4.15.0-1125.138~14.04.1
ubuntu/linux-lts-xenial<4.4.0-219.252~14.04.1
4.4.0-219.252~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-219.252
4.4.0-219.252
ubuntu/linux-aws<4.4.0-1135.149
4.4.0-1135.149
ubuntu/linux-aws-hwe<4.15.0-1113.120~16.04.1
4.15.0-1113.120~16.04.1
ubuntu/linux-azure<4.15.0-1125.138~16.04.1
4.15.0-1125.138~16.04.1
ubuntu/linux-gcp<4.15.0-1110.124~16.04.1
4.15.0-1110.124~16.04.1
ubuntu/linux-hwe<4.15.0-161.169~16.04.1
4.15.0-161.169~16.04.1
ubuntu/linux-kvm<4.4.0-1100.109
4.4.0-1100.109
ubuntu/linux-oracle<4.15.0-1082.90~16.04.1
4.15.0-1082.90~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1069.75
4.4.0-1069.75
ubuntu/linux-fips*
ubuntu/linux<4.15.0-161.169
4.15.0-161.169
ubuntu/linux-aws<4.15.0-1114.121
4.15.0-1114.121
ubuntu/linux-aws-5.4<5.4.0-1058.61~18.04.3
5.4.0-1058.61~18.04.3
ubuntu/linux-azure-4.15<4.15.0-1125.138
4.15.0-1125.138
ubuntu/linux-azure-5.4<5.4.0-1062.65~18.04.1
5.4.0-1062.65~18.04.1
ubuntu/linux-dell300x<4.15.0-1029.34
4.15.0-1029.34
ubuntu/linux-gcp-4.15<4.15.0-1110.124
4.15.0-1110.124
ubuntu/linux-gcp-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1054.57~18.04.1
5.4.0-1054.57~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1025.26~18.04.1
5.4.0-1025.26~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-89.100~18.04.1
5.4.0-89.100~18.04.1
ubuntu/linux-kvm<4.15.0-1101.103
4.15.0-1101.103
ubuntu/linux-oracle<4.15.0-1082.90
4.15.0-1082.90
ubuntu/linux-oracle-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1045.49~18.04.1
5.4.0-1045.49~18.04.1
ubuntu/linux-raspi2<4.15.0-1097.103
4.15.0-1097.103
ubuntu/linux-snapdragon<4.15.0-1114.123
4.15.0-1114.123
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-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2055.57
4.15.0-2055.57
ubuntu/linux-azure-fips<4.15.0-2037.41
4.15.0-2037.41
ubuntu/linux-fips<4.15.0-1071.80
4.15.0-1071.80
ubuntu/linux-gcp-fips<4.15.0-2020.22
4.15.0-2020.22
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-89.100
5.4.0-89.100
ubuntu/linux-aws<5.4.0-1058.61
5.4.0-1058.61
ubuntu/linux-aws-5.11<5.11.0-1020.21~20.04.2
5.11.0-1020.21~20.04.2
ubuntu/linux-azure<5.4.0-1062.65
5.4.0-1062.65
ubuntu/linux-azure-5.11<5.11.0-1020.21~20.04.1
5.11.0-1020.21~20.04.1
ubuntu/linux-bluefield<5.4.0-1020.23
5.4.0-1020.23
ubuntu/linux-gcp<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-gcp-5.11<5.11.0-1021.23~20.04.1
5.11.0-1021.23~20.04.1
ubuntu/linux-gke<5.4.0-1054.57
5.4.0-1054.57
ubuntu/linux-gkeop<5.4.0-1025.26
5.4.0-1025.26
ubuntu/linux-hwe-5.11<5.11.0-38.42~20.04.1
5.11.0-38.42~20.04.1
ubuntu/linux-ibm<5.4.0-1006.7
5.4.0-1006.7
ubuntu/linux-kvm<5.4.0-1048.50
5.4.0-1048.50
ubuntu/linux-oem-5.10<5.10.0-1050.52
5.10.0-1050.52
ubuntu/linux-oem-5.13<5.13.0-1014.18
5.13.0-1014.18
ubuntu/linux-oracle<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-oracle-5.11<5.11.0-1020.21~20.04.1
5.11.0-1020.21~20.04.1
ubuntu/linux-raspi<5.4.0-1045.49
5.4.0-1045.49
ubuntu/linux-riscv-5.11<5.11.0-1021.22~20.04.1
5.11.0-1021.22~20.04.1
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.8*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-fips<5.4.0-1035.41
5.4.0-1035.41
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

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

    Fixed in 4.4.0-1099.104
  3. Upgrade

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

    Fixed in 4.15.0-1125.138~14.04.1
  4. Upgrade

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

    Fixed in 4.4.0-219.252~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-219.252
  6. Upgrade

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

    Fixed in 4.4.0-1135.149
  7. Upgrade

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

    Fixed in 4.15.0-1113.120~16.04.1
  8. Upgrade

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

    Fixed in 4.15.0-1125.138~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-1110.124~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-161.169~16.04.1
  11. Upgrade

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

    Fixed in 4.4.0-1100.109
  12. Upgrade

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

    Fixed in 4.15.0-1082.90~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1069.75
  14. Upgrade

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

    Fixed in 4.15.0-161.169
  15. Upgrade

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

    Fixed in 4.15.0-1114.121
  16. Upgrade

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

    Fixed in 5.4.0-1058.61~18.04.3
  17. Upgrade

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

    Fixed in 4.15.0-1125.138
  18. Upgrade

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

    Fixed in 5.4.0-1062.65~18.04.1
  19. Upgrade

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

    Fixed in 4.15.0-1029.34
  20. Upgrade

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

    Fixed in 4.15.0-1110.124
  21. Upgrade

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

    Fixed in 5.4.0-1056.60~18.04.1
  22. Upgrade

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

    Fixed in 5.4.0-1054.57~18.04.1
  23. Upgrade

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

    Fixed in 5.4.0-1025.26~18.04.1
  24. Upgrade

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

    Fixed in 5.4.0-89.100~18.04.1
  25. Upgrade

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

    Fixed in 4.15.0-1101.103
  26. Upgrade

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

    Fixed in 4.15.0-1082.90
  27. Upgrade

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

    Fixed in 5.4.0-1056.60~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-1045.49~18.04.1
  29. Upgrade

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

    Fixed in 4.15.0-1097.103
  30. Upgrade

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

    Fixed in 4.15.0-1114.123
  31. Upgrade

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

    Fixed in 4.15.0-2055.57
  32. Upgrade

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

    Fixed in 4.15.0-2037.41
  33. Upgrade

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

    Fixed in 4.15.0-1071.80
  34. Upgrade

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

    Fixed in 4.15.0-2020.22
  35. Upgrade

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

    Fixed in 5.4.0-89.100
  36. Upgrade

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

    Fixed in 5.4.0-1058.61
  37. Upgrade

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

    Fixed in 5.11.0-1020.21~20.04.2
  38. Upgrade

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

    Fixed in 5.4.0-1062.65
  39. Upgrade

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

    Fixed in 5.11.0-1020.21~20.04.1
  40. Upgrade

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

    Fixed in 5.4.0-1020.23
  41. Upgrade

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

    Fixed in 5.4.0-1056.60
  42. Upgrade

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

    Fixed in 5.11.0-1021.23~20.04.1
  43. Upgrade

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

    Fixed in 5.4.0-1054.57
  44. Upgrade

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

    Fixed in 5.4.0-1025.26
  45. Upgrade

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

    Fixed in 5.11.0-38.42~20.04.1
  46. Upgrade

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

    Fixed in 5.4.0-1006.7
  47. Upgrade

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

    Fixed in 5.4.0-1048.50
  48. Upgrade

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

    Fixed in 5.10.0-1050.52
  49. Upgrade

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

    Fixed in 5.13.0-1014.18
  50. Upgrade

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

    Fixed in 5.4.0-1056.60
  51. Upgrade

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

    Fixed in 5.11.0-1020.21~20.04.1
  52. Upgrade

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

    Fixed in 5.4.0-1045.49
  53. Upgrade

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

    Fixed in 5.11.0-1021.22~20.04.1
  54. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  55. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  56. Upgrade

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

    Fixed in 5.4.0-1035.41
  57. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  58. Upgrade

    Upgrade Linux kernel (drivers/net/hamradio/6pack.c) to a version that resolves this vulnerability.

    Fixed in 5.13.13

Event History

Oct 4, 2021
CVE Published
via MITRE·11:17 PM
Data Sourced
via MITRE·11:17 PM
Description
Oct 5, 2021
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
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·12:15 AM
DescriptionSeverityAffected Software
Dec 3, 2021
Exploit Published
via GitHub·01:18 PM
May 12, 2023
Data Sourced
12:59 PM
Weakness
Data Sourced
via NVD·12:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
12:59 PM
Affected Software
Nov 21, 2024
Updated
via NVD·06:27 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·04:09 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:37 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-42008?

CVE-2021-42008 is classified as a critical vulnerability because it allows for a slab out-of-bounds write that can lead to root access.

2

How do I fix CVE-2021-42008?

To fix CVE-2021-42008, upgrade the Linux kernel to version 5.13.13 or later.

3

Which versions of the Linux kernel are affected by CVE-2021-42008?

CVE-2021-42008 affects Linux kernel versions prior to 5.13.13.

4

What are the potential impacts of CVE-2021-42008?

The potential impacts of CVE-2021-42008 include unauthorized root access and system compromise.

5

Who can exploit CVE-2021-42008?

CVE-2021-42008 can be exploited by any process with the CAP_NET_ADMIN capability.

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