CVE Database›CVE-2024-42265

CVE-2024-42265

kernel: protect the fetch of ->fd[fd] in do_dup2() from mispredictions

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · August 17, 2024

Updated · November 3, 2026

Description

A flaw was found in the Linux kernel. The file descriptor duplication mechanism in the do_dup2() function does not sanitize array indexing against speculative execution. A local user can exploit this flaw through processor branch mispredictions to trigger speculative out-of-bounds memory reads, potentially leading to a Denial of Service (DoS) or information disclosure through side-channel observation.

Statement

This vulnerability is evaluated as having a Moderate impact because exploitation requires local access and cannot be triggered over the network. While file descriptor duplication routines are universally available to unprivileged user space processes in default configurations, weaponizing speculative branch mispredictions is technically complex and primarily confined to side-channel observation or denial of service. Consequently, the flaw does not allow direct privilege escalation or arbitrary code execution.

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 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-99 · Improper Control of Resource Identifiers