CVE-2022-48671

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

Medium · published May 3, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
7.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00179 · 7.1th percentile
Published
2024-05-03T14:50Z
EPSS history
Timeline
  • 03 MAY 14:50Z
    cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    cvelistv5