5.5
MEDIUM
CVE-2022-48671
Linux Kernel cgroup cpus_read_lock() Missing Lock Timing Attack
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.

INFO

Published Date :

May 3, 2024, 3:15 p.m.

Last Modified :

May 23, 2024, 8:26 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-48671 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-48671 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-48671 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 23, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9 No Types Assigned https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff No Types Assigned https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff Patch
    Changed Reference Type https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6 No Types Assigned https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6 Patch
    Changed Reference Type https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75 No Types Assigned https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75 Patch
    Changed Reference Type https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e No Types Assigned https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e Patch
    Changed Reference Type https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d No Types Assigned https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d Patch
    Added CWE NIST CWE-667
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.213 up to (excluding) 5.4.215 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.143 up to (excluding) 5.10.145 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 5.15.68 up to (excluding) 5.15.70 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.19.9 up to (excluding) 5.19.11
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 03, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/321488cfac7d0eb6d97de467015ff754f85813ff [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/07191f984842d50020789ff14c75da436a7f46a9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9f267393b036f1470fb12fb892d59e7ff8aeb58d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/5db17805b6ba4c34dab303f49aea3562fc25af75 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/99bc25748e394d17f9e8b10cc7f273b8e64c1c7e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/43626dade36fa74d3329046f4ae2d7fdefe401c6 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-48671 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-48671 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability