cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5db17805b6ba4c34dab303f49aea3562fc25af75, Kernel 43626dade36fa74d3329046f4ae2d7fdefe401c6, Kernel 5.10.145 and 7 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3bf4bf54069f9b62a54988e5d085023c17a66c90 <5db17805b6ba4c34dab303f49aea3562fc25af75, >=4f7e7236435ca0abe005c674ebd6892c6e83aeb3 <43626dade36fa74d3329046f4ae2d7fdefe401c6, >=5.10.143 <5.10.145, >=5.15.68 <5.15.70, >=5.19.9 <5.19.11, >=5.4.213 <5.4.215, >=59c6902a96b4439e07c25ef86a4593bea5481c3b <07191f984842d50020789ff14c75da436a7f46a9, >=c0deb027c99c099aa6b831e326bfba802b25e774 <99bc25748e394d17f9e8b10cc7f273b8e64c1c7e, >=dee1e2b18cf5426eed985512ccc6636ec69dbdd6 <9f267393b036f1470fb12fb892d59e7ff8aeb58d, >=e446300968c6bd25d9cd6c33b9600780a39b3975 <321488cfac7d0eb6d97de467015ff754f85813ff | 5db17805b6ba4c34dab303f49aea3562fc25af75, 43626dade36fa74d3329046f4ae2d7fdefe401c6, 5.10.145, 5.15.70, 5.19.11, 5.4.215, 07191f984842d50020789ff14c75da436a7f46a9, 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e, 9f267393b036f1470fb12fb892d59e7ff8aeb58d, 321488cfac7d0eb6d97de467015ff754f85813ff |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket