5.5

CVE-2022-48671

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

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

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

syzbot is hitting percpu_rwsem_assert_held(&cpu_hotplug_lock) warning at
cpuset_attach() [1], for commit 4f7e7236435ca0ab ("cgroup: Fix
threadgroup_rwsem <-> cpus_read_lock() deadlock") missed that
cpuset_attach() is also called from cgroup_attach_task_all().
Add cpus_read_lock() like what cgroup_procs_write_start() does.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 5.4.213 < 5.4.215
LinuxLinux Kernel Version >= 5.10.143 < 5.10.145
LinuxLinux Kernel Version > 5.15.68 < 5.15.70
LinuxLinux Kernel Version >= 5.19.9 < 5.19.11
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.18% 0.075
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
134c704f-9b21-4f2e-91b3-4a467353bcc0 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-667 Improper Locking

The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9
Patch
https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff
Patch
https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6
Patch
https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75
Patch
https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e
Patch
https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d
Patch