CVE-2022-49921
net: sched: Fix use after free in red_enqueue()
Check your servers for CVE-2022-49921
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49921 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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").
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before 795afe0b9bb6c915f0299a8e309936519be01619 affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before a238cdcf2bdc72207c74375fc8be13ee549ca9db affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before e877f8fa49fbccc63cb2df2e9179bddc695b825a affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before 52e0429471976785c155bfbf51d80990c6cd46e2 affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before 5960b9081baca85cc7dcb14aec1de85999ea9d36 affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before fc4b50adb400ee5ec527a04073174e8e73a139fa affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before 170e5317042c302777ed6d59fdb84af9b0219d4e affected from d7f4f332f082c4d4ba53582f902ed6b44fd6f45e, before 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9 affected ab0b3b9dbf559a5633d460e748144697bd2d3aa3 affected from 4.4.163, before 4.5
Other versions: unaffected
|
| Linux |
affected 4.7 unaffected before 4.7 unaffected from 4.9.333 up to and including 4.9.* unaffected from 4.14.299 up to and including 4.14.* unaffected from 4.19.265 up to and including 4.19.* unaffected from 5.4.224 up to and including 5.4.* unaffected from 5.10.154 up to and including 5.10.* unaffected from 5.15.78 up to and including 5.15.* unaffected from 6.0.8 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49921 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49921
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49921
trivy image --scanners vuln IMAGE | grep CVE-2022-49921
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/795afe0b9bb6c915f0299a8e309936519be01619 git.kernel.org
- https://git.kernel.org/stable/c/a238cdcf2bdc72207c74375fc8be13ee549ca9db git.kernel.org
- https://git.kernel.org/stable/c/e877f8fa49fbccc63cb2df2e9179bddc695b825a git.kernel.org
- https://git.kernel.org/stable/c/52e0429471976785c155bfbf51d80990c6cd46e2 git.kernel.org
- https://git.kernel.org/stable/c/5960b9081baca85cc7dcb14aec1de85999ea9d36 git.kernel.org
- https://git.kernel.org/stable/c/fc4b50adb400ee5ec527a04073174e8e73a139fa git.kernel.org
- https://git.kernel.org/stable/c/170e5317042c302777ed6d59fdb84af9b0219d4e git.kernel.org
- https://git.kernel.org/stable/c/8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9 git.kernel.org
Source: the record CVE-2022-49921 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse