Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-26796

5.5 · MEDIUM
Published Apr 4, 2024 linux CWE-476 EPSS 0.22% (13th pctl)

Overview

CVE-2024-26796 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 4, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

drivers: perf: ctr_get_width function for legacy is not defined

With parameters CONFIG_RISCV_PMU_LEGACY=y and CONFIG_RISCV_PMU_SBI=n

linux kernel crashes when you try perf record:

$ perf record ls

[ 46.749286] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

[ 46.750199] Oops [#1]

[ 46.750342] Modules linked in:

[ 46.750608] CPU: 0 PID: 107 Comm: perf-exec Not tainted 6.6.0 #2

[ 46.750906] Hardware name: riscv-virtio,qemu (DT)

[ 46.751184] epc : 0x0

[ 46.751430] ra : arch_perf_update_userpage+0x54/0x13e

[ 46.751680] epc : 0000000000000000 ra : ffffffff8072ee52 sp : ff2000000022b8f0

[ 46.751958] gp : ffffffff81505988 tp : ff6000000290d400 t0 : ff2000000022b9c0

[ 46.752229] t1 : 0000000000000001 t2 : 0000000000000003 s0 : ff2000000022b930

[ 46.752451] s1 : ff600000028fb000 a0 : 0000000000000000 a1 : ff600000028fb000

[ 46.752673] a2 : 0000000ae2751268 a3 : 00000000004fb708 a4 : 00000

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.6, < 6.6.21 Affected

Frequently Asked Questions

What is CVE-2024-26796?

CVE-2024-26796 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 4, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-26796?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26796?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26796?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26796 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.