CVE-2024-46792

Description

From CVE.org

In the Linux kernel, the following vulnerability has been resolved: riscv: misaligned: Restrict user access to kernel memory raw_copy_{to,from}_user() do not call access_ok(), so this code allowed userspace to access any virtual memory address.

Statement

A Low impact flaw was found in the Linux kernel's RISC-V misaligned memory access emulation (arch/riscv/kernel/traps_misaligned.c). The raw_copy_to_user() and raw_copy_from_user() calls used in the misaligned access handling do not call access_ok(), so a local user on a RISC-V system could direct the kernel to access arbitrary virtual memory addresses, including kernel memory, on the user's behalf. Red Hat Product Security scored this issue with CVSS:3.1 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), reflecting local, low-privilege availability impact, which differs from the CVE.org record score of 7.8 (Important) that assumes high confidentiality and integrity impact. The vulnerable code is specific to the RISC-V architecture, which Red Hat Enterprise Linux does not ship; accordingly, all Red Hat Enterprise Linux kernel and kernel-rt streams, as well as the Hosted OpenShift clusters, are not affected. Only the community Fedora kernel is affected, and a fix is being pursued through the Fedora kernel package updates.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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 Score5.53.37.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneLowHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighNoneHigh

Vector

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

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

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)

Other

Technical Impact: Varies by Context; Gain Privileges or Assume Identity

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc.

Frequently Asked Questions

Want to get errata notifications? Sign up here.