CVE-2021-22600: Double Free in net/packet/af_packet.c leading to priviledge escalation

Published Jan 26, 2022
·
Updated

A double free bug in packetsetring() in net/packet/afpacket.c can be exploited by a local user through crafted syscalls to escalate privileges or deny service. We recommend upgrading kernel past the effected versions or rebuilding past ec6af094ea28f0f2dda1a6a33b14cd57e36a9755

Other sources

Linux Kernel contains a flaw in the packet socket (AFPACKET) implementation which could lead to incorrectly freeing memory. A local user could exploit this for denial-of-service (DoS) or possibly for privilege escalation.

CISA

Affected Software

38 affected componentsFixes available
Google Android
Linux Kernel
Linux Linux kernel>=4.14.175<4.14.259
Linux Linux kernel>=4.19.114<4.19.222
Linux Linux kernel>=5.4.29<5.4.168
Linux Linux kernel>=5.5.14<5.10.88
Linux Linux kernel>=5.11<5.15.11
Debian Debian Linux=9.0
Debian Debian Linux=10.0
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
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 H410s Firmware
NetApp H410s
All of the following
NetApp 8300 Firmware
NetApp 8300
All of the following
NetApp 8700 Firmware
NetApp 8700
All of the following
NetApp A400 Firmware
NetApp A400
All of the following
NetApp C400 Firmware
NetApp C400

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 debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1
  3. Upgrade

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

    Fixed in 5.10.234-1
  4. Upgrade

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

    Fixed in 6.1.129-1
  5. Upgrade

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

    Fixed in 6.1.135-1
  6. Upgrade

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

    Fixed in 6.12.25-1
  7. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch ec6af094ea28f0f2dda1a6a33b14cd57e36a9755
  8. Upgrade

    Upgrade Android to a version that resolves this vulnerability.

    Patch ec6af094ea28f0f2dda1a6a33b14cd57e36a9755
  9. Upgrade

    Upgrade Red Hat Kernel-devel to a version that resolves this vulnerability.

    Patch ec6af094ea28f0f2dda1a6a33b14cd57e36a9755

Event History

Jan 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 11, 2022
Known Exploited
via CISA·12:00 AM
Jan 11, 2024
Data Sourced
via Launchpad·11:54 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:24 AM
RemedyDescriptionSeverityAffected Software
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-2021-22600?

CVE-2021-22600 has a high severity rating as it allows local users to escalate privileges or cause denial of service.

2

How do I fix CVE-2021-22600?

To fix CVE-2021-22600, upgrade your kernel to a version later than those specifically affected or rebuild after commit ec6af094ea28f0f2dda1a6a33b14cd57e36a9755.

3

Which systems are affected by CVE-2021-22600?

CVE-2021-22600 affects various Linux Kernel versions ranging from 4.14.175 to 4.14.259, 4.19.114 to 4.19.222, 5.4.29 to 5.4.168, 5.5.14 to 5.10.88, and 5.11 to 5.15.11, as well as Debian 9 and 10.

4

What type of vulnerability is CVE-2021-22600?

CVE-2021-22600 is categorized as a double free vulnerability in the kernel's packet_set_ring() function.

5

Can CVE-2021-22600 be exploited remotely?

CVE-2021-22600 cannot be exploited remotely; it requires local user access for exploitation.

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