# net: sched: Fix use after free in red_enqueue()

CVE record · `CVE-2022-49921`

- **Identifiers:** `CVE-2022-49921`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 795afe0b9bb6c915f0299a8e309936519be01619` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before a238cdcf2bdc72207c74375fc8be13ee549ca9db` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before e877f8fa49fbccc63cb2df2e9179bddc695b825a` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 52e0429471976785c155bfbf51d80990c6cd46e2` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 5960b9081baca85cc7dcb14aec1de85999ea9d36` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before fc4b50adb400ee5ec527a04073174e8e73a139fa` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 170e5317042c302777ed6d59fdb84af9b0219d4e` (git)
  - affected: `d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9` (git)
  - affected: `ab0b3b9dbf559a5633d460e748144697bd2d3aa3` (git)
  - affected: `4.4.163 to before 4.5` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.7`
  - unaffected: `before 4.7` (semver)
  - unaffected: `4.9.333 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.299 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.265 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.224 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.154 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.78 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.8 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 1 May 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-49921](https://www.cve.org/CVERecord?id=CVE-2022-49921)
- [NVD: CVE-2022-49921](https://nvd.nist.gov/vuln/detail/CVE-2022-49921)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49921>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49921/>. Everything for agents: <https://agentprime.io/llms.txt>.
