Vulnerability · Published May 3, 2024 · Assigned by Linux

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

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 92.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.19.11-1DEBIAN-CVE-2022-48671
Debian:13linux5.19.11-1DEBIAN-CVE-2022-48671
Debian:14linux5.19.11-1DEBIAN-CVE-2022-48671
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2022-48671
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2022-48671

Affected products (as reported)

VendorProductVersions
Linux Linux e446300968c6bd25d9cd6c33b9600780a39b3975 – before 321488cfac7d0eb6d97de467015ff754f85813ff59c6902a96b4439e07c25ef86a4593bea5481c3b – before 07191f984842d50020789ff14c75da436a7f46a9dee1e2b18cf5426eed985512ccc6636ec69dbdd6 – before 9f267393b036f1470fb12fb892d59e7ff8aeb58d3bf4bf54069f9b62a54988e5d085023c17a66c90 – before 5db17805b6ba4c34dab303f49aea3562fc25af75c0deb027c99c099aa6b831e326bfba802b25e774 – before 99bc25748e394d17f9e8b10cc7f273b8e64c1c7e4f7e7236435ca0abe005c674ebd6892c6e83aeb3 – before 43626dade36fa74d3329046f4ae2d7fdefe401c6
Linux Linux 5.4.213 – before 5.4.2155.10.143 – before 5.10.1455.15.68 – before 5.15.705.19.9 – before 5.19.11

Weakness: CWE-667 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References