CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2024-26902

Description

A flaw was found in the Linux kernel in the RISC-V architecture. The issue arises in the perf subsystem's handling of Performance Monitoring Unit (PMU) overflow interrupts. Specifically, it involves an error when setting bits in the overflowed_ctrs variable, where an incorrect shift operation using an int rather than an unsigned long can lead to kernel panic. This vulnerability triggers a NULL pointer dereference, causing the kernel to crash when running certain perf commands, such as perf record -e branches, on systems like the Sophgo SG2042. The issue results in system instability, potentially leading to a denial-of-service (DoS) scenario. The problem has been fixed by replacing the faulty code with a more appropriate bit-setting operation using the BIT() macro.

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.45.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredHighLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/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:N/I:N/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.