# CVE-2021-22600: Double Free in net/packet/af\_packet.c leading to priviledge escalation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2022-04-11; federal due date 2022-05-02
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 6.59% (percentile 95, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2022-01-26T00:00:00.000Z
- **Modified:** 2026-06-17T03:37:27.450Z

## Who should check

- Anyone running Linux Kernel Kernel \>= unspecified, \< 5.4.168; \>= unspecified, \< 5.10.88; \>= unspecified, \< 5.15.11; \>= unspecified, \< 5.16-rc6

## Description

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

## Affected and fixed versions

- Linux Kernel Kernel: \>= unspecified, \< 5.4.168; \>= unspecified, \< 5.10.88; \>= unspecified, \< 5.15.11; \>= unspecified, \< 5.16-rc6 (cvelist)

## Mitigation

- Upgrade Kernel to 5.16-rc6 or later.

## Timeline

- 2022-01-26: Published
- 2022-04-11: Added to CISA KEV (exploited in the wild)
- 2022-05-02: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-22600. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-22600.md
Affected: Linux Kernel Kernel >= unspecified, < 5.4.168; >= unspecified, < 5.10.88; >= unspecified, < 5.15.11; >= unspecified, < 5.16-rc6
Fixed in: Linux Kernel Kernel 5.4.168, Linux Kernel Kernel 5.10.88, Linux Kernel Kernel 5.15.11, Linux Kernel Kernel 5.16-rc6

Steps:
1. Search this machine and project for Linux Kernel Kernel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-22600 being exploited?

Yes. CISA lists CVE-2021-22600 in its Known Exploited Vulnerabilities catalog since 2022-04-11, which means attacks have been seen. No public exploit code is known. EPSS estimates a 6.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-22600?

Medium: CVSS 6.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-22600?

Linux Kernel Kernel \>= unspecified, \< 5.4.168; \>= unspecified, \< 5.10.88; \>= unspecified, \< 5.15.11; \>= unspecified, \< 5.16-rc6.

### Is there a fix for CVE-2021-22600?

Yes. Fixed in Linux Kernel Kernel 5.4.168, Linux Kernel Kernel 5.10.88, Linux Kernel Kernel 5.15.11, Linux Kernel Kernel 5.16-rc6. Upgrade Kernel to 5.16-rc6 or later.

### How do I check if I'm affected by CVE-2021-22600?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.debian.org/security/2022/dsa-5096>
- patch: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=ec6af094ea28f0f2dda1a6a33b14cd57e36a9755>
- other: <https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html>
- other: <https://security.netapp.com/advisory/ntap-20230110-0002/>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22600>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-22600>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2021-22600> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-22600>
