Skip to main content
← All vulnerabilities
CVE-2022-48671

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.215, 5.10.145, 5.15.70, 5.19.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux 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

References 6

git.kernel.org