CVE-2022-4696 Vulnerability Details

  /     /     /  

CVE-2022-4696 Metadata Quick Info

CVE Published: 11/01/2023 | CVE Updated: 03/08/2024 | CVE Year: 2022
Source: Google | Vendor: Linux | Product: Linux Kernel
Status : PUBLISHED

CVE-2022-4696 Description

There exists a use-after-free vulnerability in the Linux kernel through io_uring and the IORING_OP_SPLICE operation. If IORING_OP_SPLICE is missing the IO_WQ_WORK_FILES flag, which signals that the operation won\'t use current->nsproxy, so its reference counter is not increased. This assumption is not always true as calling io_splice on specific files will call the get_uts function which will use current->nsproxy leading to invalidly decreasing its reference counter later causing the use-after-free vulnerability. We recommend upgrading to version 5.10.160 or above

Metrics

CVSS Version: 3.1 | Base Score: 7.8 HIGH
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

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

Weakness Enumeration (CWE)

CWE-ID: CWE-763
CWE Name: CWE-763 Release of Invalid Pointer or Reference
Source: Linux

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID: CAPEC-251
CAPEC Description: CAPEC-251 Local Code Inclusion


Source: NVD (National Vulnerability Database).