CVE-2022-48799

Source
https://cve.org/CVERecord?id=CVE-2022-48799
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48799.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48799
Downstream
Related
Published
2024-07-16T11:43:52.894Z
Modified
2026-04-11T12:41:18.662784Z
Summary
perf: Fix list corruption in perf_cgroup_switch()
Details

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

perf: Fix list corruption in perfcgroupswitch()

There's list corruption on cgrpcpuctxlist. This happens on the following path:

perfcgroupswitch: listforeachentry(cgrpcpuctxlist) cpuctxschedin ctxschedin ctxpinnedschedin mergeschedin perfcgroupeventdisable: remove the event from the list

Use listforeachentrysafe() to allow removing an entry during iteration.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48799.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
058fe1c0440e68a1ba3c2270ae43e9f0298b27d8
Fixed
5d76ed4223403f90421782adb2f20a9ecbc93186
Fixed
30d9f3cbe47e1018ddc8069ac5b5c9e66fbdf727
Fixed
a2ed7b29d0673ba361546e2d87dbbed149456c45
Fixed
f6b5d51976fcefef5732da3e3feb3ccff680f7c8
Fixed
7969fe91c9830e045901970e9d755b7505881d4a
Fixed
2142bc1469a316fddd10012d76428f7265258f81
Fixed
5f4e5ce638e6a490b976ade4a40017b40abb2da0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48799.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
4.14.267
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.230
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.180
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.101
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.24
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48799.json"