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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-03T14:50:23.558Z
- **Modified:** 2026-06-17T05:15:53.163Z

## Who should check

- Anyone running Linux \>= e446300968c6bd25d9cd6c33b9600780a39b3975, \< 321488cfac7d0eb6d97de467015ff754f85813ff; \>= 59c6902a96b4439e07c25ef86a4593bea5481c3b, \< 07191f984842d50020789ff14c75da436a7f46a9; \>= dee1e2b18cf5426eed985512ccc6636ec69dbdd6, \< 9f267393b036f1470fb12fb892d59e7ff8aeb58d; \>= 3bf4bf54069f9b62a54988e5d085023c17a66c90, \< 5db17805b6ba4c34dab303f49aea3562fc25af75; \>= c0deb027c99c099aa6b831e326bfba802b25e774, \< 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e; \>= 4f7e7236435ca0abe005c674ebd6892c6e83aeb3, \< 43626dade36fa74d3329046f4ae2d7fdefe401c6
- Anyone running Linux \>= 5.4.213, \< 5.4.215; \>= 5.10.143, \< 5.10.145; \>= 5.15.68, \< 5.15.70; \>= 5.19.9, \< 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.

## Affected and fixed versions

- Linux: \>= e446300968c6bd25d9cd6c33b9600780a39b3975, \< 321488cfac7d0eb6d97de467015ff754f85813ff; \>= 59c6902a96b4439e07c25ef86a4593bea5481c3b, \< 07191f984842d50020789ff14c75da436a7f46a9; \>= dee1e2b18cf5426eed985512ccc6636ec69dbdd6, \< 9f267393b036f1470fb12fb892d59e7ff8aeb58d; \>= 3bf4bf54069f9b62a54988e5d085023c17a66c90, \< 5db17805b6ba4c34dab303f49aea3562fc25af75; \>= c0deb027c99c099aa6b831e326bfba802b25e774, \< 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e; \>= 4f7e7236435ca0abe005c674ebd6892c6e83aeb3, \< 43626dade36fa74d3329046f4ae2d7fdefe401c6 (cvelist)
- Linux: \>= 5.4.213, \< 5.4.215; \>= 5.10.143, \< 5.10.145; \>= 5.15.68, \< 5.15.70; \>= 5.19.9, \< 5.19.11 (cvelist)

## Mitigation

- Upgrade Linux to 43626dade36fa74d3329046f4ae2d7fdefe401c6 or later.
- Upgrade Linux to 5.19.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48671. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48671.md
Affected: Linux >= e446300968c6bd25d9cd6c33b9600780a39b3975, < 321488cfac7d0eb6d97de467015ff754f85813ff; >= 59c6902a96b4439e07c25ef86a4593bea5481c3b, < 07191f984842d50020789ff14c75da436a7f46a9; >= dee1e2b18cf5426eed985512ccc6636ec69dbdd6, < 9f267393b036f1470fb12fb892d59e7ff8aeb58d; >= 3bf4bf54069f9b62a54988e…
Fixed in: Linux 321488cfac7d0eb6d97de467015ff754f85813ff, Linux 07191f984842d50020789ff14c75da436a7f46a9, Linux 9f267393b036f1470fb12fb892d59e7ff8aeb58d, Linux 5db17805b6ba4c34dab303f49aea3562fc25af75, Linux 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e, Linux 43626dade36fa74d3329046f4ae2d7fdefe401c6, Linux 5.4.2…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48671 being exploited?

There is no confirmed exploitation: CVE-2022-48671 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48671?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48671?

Linux \>= e446300968c6bd25d9cd6c33b9600780a39b3975, \< 321488cfac7d0eb6d97de467015ff754f85813ff; \>= 59c6902a96b4439e07c25ef86a4593bea5481c3b, \< 07191f984842d50020789ff14c75da436a7f46a9; \>= dee1e2b18cf5426eed985512ccc6636ec69dbdd6, \< 9f267393b036f1470fb12fb892d59e7ff8aeb58d; \>= 3bf4bf54069f9b62a54988e5d085023c17a66c90, \< 5db17805b6ba4c34dab303f49aea3562fc25af75; \>= c0deb027c99c099aa6b831e326bfba802b25e774, \< 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e; \>= 4f7e7236435ca0abe005c674ebd6892c6e83aeb3, \< 43626dade36fa74d3329046f4ae2d7fdefe401c6; Linux \>= 5.4.213, \< 5.4.215; \>= 5.10.143, \< 5.10.145; \>= 5.15.68, \< 5.15.70; \>= 5.19.9, \< 5.19.11.

### Is there a fix for CVE-2022-48671?

Yes. Fixed in Linux 321488cfac7d0eb6d97de467015ff754f85813ff, Linux 07191f984842d50020789ff14c75da436a7f46a9, Linux 9f267393b036f1470fb12fb892d59e7ff8aeb58d, Linux 5db17805b6ba4c34dab303f49aea3562fc25af75, Linux 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e, Linux 43626dade36fa74d3329046f4ae2d7fdefe401c6, Linux 5.4.215, Linux 5.10.145, Linux 5.15.70, Linux 5.19.11. Upgrade Linux to 43626dade36fa74d3329046f4ae2d7fdefe401c6 or later. Upgrade Linux to 5.19.11 or later.

### How do I check if I'm affected by CVE-2022-48671?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48671>

HTML: <https://flawdb.com/CVE-2022-48671> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48671>
