CVE-2022-48799
perf: Fix list corruption in perf_cgroup_switch()
Check your servers for CVE-2022-48799
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-48799 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:
perf: Fix list corruption in perf_cgroup_switch()
There's list corruption on cgrp_cpuctx_list. This happens on the following path:
perf_cgroup_switch: list_for_each_entry(cgrp_cpuctx_list) cpu_ctx_sched_in ctx_sched_in ctx_pinned_sched_in merge_sched_in perf_cgroup_event_disable: remove the event from the list
Use list_for_each_entry_safe() to allow removing an entry during iteration.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before 5d76ed4223403f90421782adb2f20a9ecbc93186 affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before 30d9f3cbe47e1018ddc8069ac5b5c9e66fbdf727 affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before a2ed7b29d0673ba361546e2d87dbbed149456c45 affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before f6b5d51976fcefef5732da3e3feb3ccff680f7c8 affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before 7969fe91c9830e045901970e9d755b7505881d4a affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before 2142bc1469a316fddd10012d76428f7265258f81 affected from 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8, before 5f4e5ce638e6a490b976ade4a40017b40abb2da0
Other versions: unaffected
|
| Linux |
affected 4.11 unaffected before 4.11 unaffected from 4.14.267 up to and including 4.14.* unaffected from 4.19.230 up to and including 4.19.* unaffected from 5.4.180 up to and including 5.4.* unaffected from 5.10.101 up to and including 5.10.* unaffected from 5.15.24 up to and including 5.15.* unaffected from 5.16.10 up to and including 5.16.* unaffected 5.17 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-48799 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48799
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-48799
trivy image --scanners vuln IMAGE | grep CVE-2022-48799
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/5d76ed4223403f90421782adb2f20a9ecbc93186 git.kernel.org
- https://git.kernel.org/stable/c/30d9f3cbe47e1018ddc8069ac5b5c9e66fbdf727 git.kernel.org
- https://git.kernel.org/stable/c/a2ed7b29d0673ba361546e2d87dbbed149456c45 git.kernel.org
- https://git.kernel.org/stable/c/f6b5d51976fcefef5732da3e3feb3ccff680f7c8 git.kernel.org
- https://git.kernel.org/stable/c/7969fe91c9830e045901970e9d755b7505881d4a git.kernel.org
- https://git.kernel.org/stable/c/2142bc1469a316fddd10012d76428f7265258f81 git.kernel.org
- https://git.kernel.org/stable/c/5f4e5ce638e6a490b976ade4a40017b40abb2da0 git.kernel.org
Source: the record CVE-2022-48799 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse