CVE-2022-48801

Description

A flaw was found in the Linux kernel's Industrial I/O (IIO) subsystem. When an error occurs while copying a newly created file descriptor to user space during an IIO buffer control operation, the kernel improperly cleans up the descriptor table. A local user can exploit this issue by interacting with the dangling file descriptor to trigger a use-after-free condition, where the kernel accesses memory that has already been released. This flaw can result in a Denial of Service (DoS) through a system crash or potentially allow local privilege escalation.

Statement

This vulnerability is rated as having Low severity for Red Hat enterprise products because exploitation requires local access with permissions to open an Industrial I/O (IIO) device node, a class of hardware rarely present or exposed in standard server deployments. Under default configurations, unprivileged users do not have access to /dev/iio:device* device files. Furthermore, triggering the condition requires deliberately inducing a copy failure to user space during an ioctl call, restricting the blast radius primarily to a local denial of service via a kernel crash on specialized hardware.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.87.87.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighHighHigh
Integrity ImpactHighHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Availability,Integrity

Technical Impact: Unexpected State; DoS: Crash, Exit, or Restart

An unexpected return value could place the system in a state that could lead to a crash or other unintended behaviors.

Frequently Asked Questions

Want to get errata notifications? Sign up here.