# CVE-2022-48671: cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2024-05-03T14:50:23.558Z
- Modified: 2026-06-17T05:15:53.163Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e446300968c6bd25d9cd6c33b9600780a39b3975 before 321488cfac7d0eb6d97de467015ff754f85813ff; from 59c6902a96b4439e07c25ef86a4593bea5481c3b before 07191f984842d50020789ff14c75da436a7f46a9; from dee1e2b18cf5426eed985512ccc6636ec69dbdd6 before 9f267393b036f1470fb12fb892d59e7ff8aeb58d; from 3bf4bf54069f9b62a54988e5d085023c17a66c90 before 5db17805b6ba4c34dab303f49aea3562fc25af75; from c0deb027c99c099aa6b831e326bfba802b25e774 before 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e; from 4f7e7236435ca0abe005c674ebd6892c6e83aeb3 before 43626dade36fa74d3329046f4ae2d7fdefe401c6; from 5.4.213 before 5.4.215; from 5.10.143 before 5.10.145; from 5.15.68 before 5.15.70; from 5.19.9 before 5.19.11
- linux linux_kernel: from 5.4.213 before 5.4.215; from 5.10.143 before 5.10.145; from >5.15.68 before 5.15.70; from 5.19.9 before 5.19.11

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2022-48671](https://www.cve.org/CVERecord?id=CVE-2022-48671), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48671](https://nvd.nist.gov/vuln/detail/CVE-2022-48671), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48671 · Whole record: https://cve.day/CVE-2022-48671.json · Rebuilt by cve.day 2026-11-25T22:58:19.795Z
