# CVE-2022-49921: net: sched: Fix use after free in red\_enqueue()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-01T14:11:00.309Z
- **Modified:** 2026-08-05T08:56:42.811Z

## Who should check

- Anyone running Linux \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 795afe0b9bb6c915f0299a8e309936519be01619; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< a238cdcf2bdc72207c74375fc8be13ee549ca9db; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< e877f8fa49fbccc63cb2df2e9179bddc695b825a; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 52e0429471976785c155bfbf51d80990c6cd46e2; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 5960b9081baca85cc7dcb14aec1de85999ea9d36; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< fc4b50adb400ee5ec527a04073174e8e73a139fa; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 170e5317042c302777ed6d59fdb84af9b0219d4e; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9; ab0b3b9dbf559a5633d460e748144697bd2d3aa3; \>= 4.4.163, \< 4.5
- Anyone running Linux 4.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: sched: Fix use after free in red\_enqueue()

We can't use "skb" again after passing it to qdisc\_enqueue().  This is
basically identical to commit 2f09707d0c97 ("sch\_sfb: Also store skb
len before calling child enqueue").

## Affected and fixed versions

- Linux: \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 795afe0b9bb6c915f0299a8e309936519be01619; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< a238cdcf2bdc72207c74375fc8be13ee549ca9db; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< e877f8fa49fbccc63cb2df2e9179bddc695b825a; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 52e0429471976785c155bfbf51d80990c6cd46e2; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 5960b9081baca85cc7dcb14aec1de85999ea9d36; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< fc4b50adb400ee5ec527a04073174e8e73a139fa; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 170e5317042c302777ed6d59fdb84af9b0219d4e; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9; ab0b3b9dbf559a5633d460e748144697bd2d3aa3; \>= 4.4.163, \< 4.5 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 4.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49921.md
Affected: Linux >= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, < 795afe0b9bb6c915f0299a8e309936519be01619; >= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, < a238cdcf2bdc72207c74375fc8be13ee549ca9db; >= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, < e877f8fa49fbccc63cb2df2e9179bddc695b825a; >= d7f4f332f082c4d4ba53582…
Fixed in: Linux 795afe0b9bb6c915f0299a8e309936519be01619, Linux 52e0429471976785c155bfbf51d80990c6cd46e2, Linux 5960b9081baca85cc7dcb14aec1de85999ea9d36, Linux 170e5317042c302777ed6d59fdb84af9b0219d4e, Linux 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9, Linux 4.5

Steps:
1. Search this machine and project for Linux: 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-2022-49921 being exploited?

There is no confirmed exploitation: CVE-2022-49921 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49921?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49921?

Linux \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 795afe0b9bb6c915f0299a8e309936519be01619; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< a238cdcf2bdc72207c74375fc8be13ee549ca9db; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< e877f8fa49fbccc63cb2df2e9179bddc695b825a; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 52e0429471976785c155bfbf51d80990c6cd46e2; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 5960b9081baca85cc7dcb14aec1de85999ea9d36; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< fc4b50adb400ee5ec527a04073174e8e73a139fa; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 170e5317042c302777ed6d59fdb84af9b0219d4e; \>= d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, \< 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9; ab0b3b9dbf559a5633d460e748144697bd2d3aa3; \>= 4.4.163, \< 4.5; Linux 4.7.

### Is there a fix for CVE-2022-49921?

Yes. Fixed in Linux 795afe0b9bb6c915f0299a8e309936519be01619, Linux 52e0429471976785c155bfbf51d80990c6cd46e2, Linux 5960b9081baca85cc7dcb14aec1de85999ea9d36, Linux 170e5317042c302777ed6d59fdb84af9b0219d4e, Linux 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9, Linux 4.5. Upgrade Linux to 4.5 or later.

### How do I check if I'm affected by CVE-2022-49921?

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

- patch: <https://git.kernel.org/stable/c/795afe0b9bb6c915f0299a8e309936519be01619>
- patch: <https://git.kernel.org/stable/c/a238cdcf2bdc72207c74375fc8be13ee549ca9db>
- patch: <https://git.kernel.org/stable/c/e877f8fa49fbccc63cb2df2e9179bddc695b825a>
- patch: <https://git.kernel.org/stable/c/52e0429471976785c155bfbf51d80990c6cd46e2>
- patch: <https://git.kernel.org/stable/c/5960b9081baca85cc7dcb14aec1de85999ea9d36>
- patch: <https://git.kernel.org/stable/c/fc4b50adb400ee5ec527a04073174e8e73a139fa>
- patch: <https://git.kernel.org/stable/c/170e5317042c302777ed6d59fdb84af9b0219d4e>
- patch: <https://git.kernel.org/stable/c/8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9>

## 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-2022-49921>

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