CVE Database›CVE-2022-49935

CVE-2022-49935

kernel: dma-buf/dma-resv: check if the new fence is really later

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's DMA-BUF (Direct Memory Access buffer) subsystem. When handling synchronization fences—mechanisms used to coordinate memory operations between hardware and software—the kernel failed to verify whether a newly added fence occurred after existing ones. A local attacker could exploit this flaw through user-space interfaces to cause a use-after-free memory condition, potentially leading to privilege escalation or a system crash.

Statement

This vulnerability is rated as Moderate impact because exploitation requires local access and precise timing during DMA buffer fence synchronization, limiting reliability. In typical Red Hat Enterprise Linux deployments, access to the underlying direct memory access interfaces is restricted to local users interacting with specific accelerated graphics or device subsystems. Consequently, while an authenticated local attacker with device access could potentially trigger a kernel crash or escalate privileges via memory corruption, the preconditions and execution complexity constrain the overall risk.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-416 · Use After Free