CVE-2022-48996 Vulnerability Details

  /     /     /  

CVE-2022-48996 Metadata Quick Info

CVE Published: 21/10/2024 | CVE Updated: 04/11/2024 | CVE Year: 2022
Source: Linux | Vendor: Linux | Product: Linux
Status : PUBLISHED

CVE-2022-48996 Description

In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes() Commit da87878010e5 ("mm/damon/sysfs: support online inputs update") made \'damon_sysfs_set_schemes()\' to be called for running DAMON context, which could have schemes. In the case, DAMON sysfs interface is supposed to update, remove, or add schemes to reflect the sysfs files. However, the code is assuming the DAMON context wouldn\'t have schemes at all, and therefore creates and adds new schemes. As a result, the code doesn\'t work as intended for online schemes tuning and could have more than expected memory footprint. The schemes are all in the DAMON context, so it doesn\'t leak the memory, though. Remove the wrong asssumption (the DAMON context wouldn\'t have schemes) in \'damon_sysfs_set_schemes()\' to fix the bug.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID:
CWE Name:
Source: Linux

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).