cve.bz

CVE-2021-22600 Linux Kernel Privilege Escalation Vulnerability

7.0 highKEVEPSS 6.6%Fix available

High (7.0) in Linux Kernel. In CISA KEV since 2022-04-11. EPSS 6.6% estimated probability of exploitation activity in the next 30 days.

On this page
A double free bug in packet_set_ring() in net/packet/af_packet.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

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
6.6% (unchanged from 6.6% a week ago; 6.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-04-11, due 2022-05-02
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: partial, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22600 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22600?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22600?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22600 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernel Kernelbefore 5.4.168
Linux Kernel Kernelbefore 5.10.88
Linux Kernel Kernelbefore 5.15.11
Linux Kernel Kernelbefore 5.16-rc6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.232-1~deb9u1DLA-2941-1
Debian10linux4.19.232-1DSA-5096-1
Debian12, 13, 14linux5.15.15-1DEBIAN-CVE-2021-22600
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-22600
Ubuntu18.04:LTSlinux4.15.0-169.177UBUNTU-CVE-2021-22600 USN-5298-1
Ubuntu18.04:LTSlinux-aws4.15.0-1121.129UBUNTU-CVE-2021-22600 USN-5298-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1066.69~18.04.1UBUNTU-CVE-2021-22600 USN-5294-2
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1131.144UBUNTU-CVE-2021-22600 USN-5298-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1070.73~18.04.1UBUNTU-CVE-2021-22600 USN-5294-2
Ubuntu18.04:LTSlinux-dell300x4.15.0-1035.40UBUNTU-CVE-2021-22600 USN-5298-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 9 moreno fix listedUBUNTU-CVE-2021-22600
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1116.130UBUNTU-CVE-2021-22600 USN-5298-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1065.69~18.04.1UBUNTU-CVE-2021-22600 USN-5294-2
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1061.64~18.04.1UBUNTU-CVE-2021-22600 USN-5266-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1034.35~18.04.1UBUNTU-CVE-2021-22600 USN-5294-2
45 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morekernel-default-base5.3.18-24.102.1.9.48.1SUSE-SU-2022:0365-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-24.102.1SUSE-SU-2022:0365-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0kernel-default5.3.18-24.102.1SUSE-SU-2022:0365-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.49.1SUSE-SU-2022:0370-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1115-2.2SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_12, kernel-livepatch-SLE15-SP2_Update_1312-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_14, kernel-livepatch-SLE15-SP2_Update_15, kernel-livepatch-SLE15-SP2_Update_1610-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_179-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_188-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_19, kernel-livepatch-SLE15-SP2_Update_206-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_215-2.1SUSE-SU-2022:0619-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_224-2.1SUSE-SU-2022:0619-1
25 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.49.1openSUSE-SU-2022:0370-1
openSUSELeap 15.3kernel-azure, kernel-source-azure5.3.18-150300.38.40.4openSUSE-SU-2022:0363-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.49.1.150300.18.31.1openSUSE-SU-2022:0370-1
openSUSELeap 15.3kernel-syms-azure5.3.18-150300.38.40.1openSUSE-SU-2022:0363-1
Azure Linux2kernel5.15.18.1-1AZL-8450

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Red Hat Enterprise Linux versions before 9 are not affected, because the commit that introduced the bug is not in currently supported versions of Red Hat Enterprise Linux. The commit that introduced this bug is: 61fad6816fc1 ("net/packet: tpacket_rcv: avoid a producer race condition").

Red Hat's mitigation

Only users with access to the AF_PACKET socket can trigger this vulnerability. The mitigation would be to disable CAP_NET_RAW capability for the users that prevents access to AF_PACKET.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22600.

References

Check your stackJSON