NULL pointer dereference in Linux kernel - CVE-2024-26796
Published: May 31, 2024 / Updated: May 14, 2025
Linux kernel
Linux Foundation
Description
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
External links
- https://git.kernel.org/stable/c/e0d17ee872cf8d0f51cc561329b8e1a0aa792bbb
- https://git.kernel.org/stable/c/e4f50e85de5a6b21dfdc0d7ca435eba4f62935c3
- https://git.kernel.org/stable/c/682dc133f83e0194796e6ea72eb642df1c03dfbe
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.21
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.7.9
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8