SB20240531492 - NULL pointer dereference in Linux kernel perf driver



SB20240531492 - NULL pointer dereference in Linux kernel perf driver

Published: May 31, 2024 Updated: May 14, 2025

Security Bulletin ID SB20240531492
Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Denial of service

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) NULL pointer dereference (CVE-ID: CVE-2024-26796)

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer dereference within the pmu_legacy_event_map() and pmu_legacy_init() functions in drivers/perf/riscv_pmu_legacy.c, within the riscv_pmu_ctr_get_width_mask() function in drivers/perf/riscv_pmu.c. A local user can perform a denial of service (DoS) attack.


Remediation

Install update from vendor's website.