CVE-2026-138907

Description

A flaw was found in the Linux kernel's MediaTek JPEG driver. A race condition allows context memory to be freed prematurely during a concurrent file release while an interrupt handler is still completing a processing task, leading to a use-after-free vulnerability. A local attacker could exploit this flaw to cause a system crash, resulting in a Denial of Service (DoS), or potentially escalate privileges.

Statement

Red Hat has rated this vulnerability as Moderate because exploitation requires local access, relies on winning a timing-dependent race condition, and is limited to systems equipped with specialized MediaTek hardware. The flaw stems from premature context deallocation in the V4L2 MediaTek JPEG driver during concurrent file release and interrupt processing, which could allow a local authenticated user with access to the video device to trigger a system crash or potentially corrupt kernel memory. In standard Red Hat Enterprise Linux environments, this driver is rarely utilized as MediaTek SoCs are not typical enterprise server or workstation platforms.

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 Score4.7N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityHighN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.