cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.145, 5.15.70, 5.19.11, 5.4.215
- CVEs
- CVE-2022-48671
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:49 UTC · Revision 1
Source evidence
cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
core-osv · Original sourcePublished 3 May 2024, 14:50 UTC
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.
osv:CVE-2022-48671
Kernel
Fixed versions: 5.4.215, 5.10.145, 5.15.70, 5.19.11
Complete source record
{
"id": "99418b26c92c2d9f8274cb220b5fff33ed85a1a402e9d714e7be9f0da0834f41",
"url": "https://osv.dev/vulnerability/CVE-2022-48671",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()",
"summary": "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.",
"evidence": "osv:CVE-2022-48671",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.215",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.145",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.70",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2022-48671",
"aliases": [
"CVE-2022-48671"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e446300968c6bd25d9cd6c33b9600780a39b3975"
},
{
"fixed": "321488cfac7d0eb6d97de467015ff754f85813ff"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "59c6902a96b4439e07c25ef86a4593bea5481c3b"
},
{
"fixed": "07191f984842d50020789ff14c75da436a7f46a9"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "dee1e2b18cf5426eed985512ccc6636ec69dbdd6"
},
{
"fixed": "9f267393b036f1470fb12fb892d59e7ff8aeb58d"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3bf4bf54069f9b62a54988e5d085023c17a66c90"
},
{
"fixed": "5db17805b6ba4c34dab303f49aea3562fc25af75"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c0deb027c99c099aa6b831e326bfba802b25e774"
},
{
"fixed": "99bc25748e394d17f9e8b10cc7f273b8e64c1c7e"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4f7e7236435ca0abe005c674ebd6892c6e83aeb3"
},
{
"fixed": "43626dade36fa74d3329046f4ae2d7fdefe401c6"
}
]
}
],
"versions": [
"v5.4.214",
"v5.4.213",
"v5.10.144",
"v5.10.143",
"v5.15.69",
"v5.15.68",
"v5.19.10",
"v5.19.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48671.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.4.213"
},
{
"fixed": "5.4.215"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.10.143"
},
{
"fixed": "5.10.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.68"
},
{
"fixed": "5.15.70"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.19.9"
},
{
"fixed": "5.19.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48671.json"
}
}
],
"modified": "2026-10-28T02:30:49.722402470Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9",
"https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff",
"https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6",
"https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75",
"https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e",
"https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48671.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-48671",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48671.json"
}
},
"related_cves": [
{
"value": "CVE-2022-48671",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517886,
"published_at": "2024-05-03T14:50:23.558+00:00"
}