CVE-2022-48671

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

MEDIUM
5.5
CVSS Score
Published: May 3, 2024 at 02:50 PM UTC
Updated: June 17, 2026 at 05:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.143 ≤ v < 5.10.1455.15.68 ≤ v < 5.15.705.19.9 ≤ v < 5.19.115.4.213 ≤ v < 5.4.2155.15.68 < v < 5.15.703bf4bf54069f9b62a54988e5d085023c17a66c904f7e7236435ca0abe005c674ebd6892c6e83aeb35.10.1435.15.685.19.95.4.21359c6902a96b4439e07c25ef86a4593bea5481c3bc0deb027c99c099aa6b831e326bfba802b25e774dee1e2b18cf5426eed985512ccc6636ec69dbdd6e446300968c6bd25d9cd6c33b9600780a39b3975
Vendor states this is fixed in 07191f984842d50020789ff14c75da436a7f46a9 (fixed)
Vendor states this is fixed in 321488cfac7d0eb6d97de467015ff754f85813ff (fixed)
Vendor states this is fixed in 43626dade36fa74d3329046f4ae2d7fdefe401c6 (fixed)
Vendor states this is fixed in 5db17805b6ba4c34dab303f49aea3562fc25af75 (fixed)
Vendor states this is fixed in 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e (fixed)
Vendor states this is fixed in 9f267393b036f1470fb12fb892d59e7ff8aeb58d (fixed)
Affected range stops below 5.10.145, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.15.70, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.19.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.215, so it looks safe — our inference, not a vendor statement

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card