CVE-2022-48799

Source
https://cve.org/CVERecord?id=CVE-2022-48799
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48799.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48799
Downstream
Related
Published
2024-07-16T11:43:52.894Z
Modified
2026-03-14T12:00:41.697254Z
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/cve-osv-conversion/osv-output/CVE-2022-48799.json"