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-26866

5.5 · MEDIUM
Published Apr 17, 2024 linux CWE-416 EPSS 0.22% (12th pctl)

Overview

CVE-2024-26866 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 17, 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:

spi: lpspi: Avoid potential use-after-free in probe()

fsl_lpspi_probe() is allocating/disposing memory manually with

spi_alloc_host()/spi_alloc_target(), but uses

devm_spi_register_controller(). In case of error after the latter call the

memory will be explicitly freed in the probe function by

spi_controller_put() call, but used afterwards by "devm" management outside

probe() (spi_unregister_controller() <- devm_spi_unregister() below).

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070

...

Call trace:

kernfs_find_ns

kernfs_find_and_get_ns

sysfs_remove_group

sysfs_remove_groups

device_remove_attrs

device_del

spi_unregister_controller

devm_spi_unregister

release_nodes

devres_release_all

really_probe

driver_probe_device

__device_attach_driver

bus_for_each_drv

__device_attach

device_initial_probe

bus_probe_device

deferred_probe_work_func

process_one_work

worker_thre

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 >= 4.10, < 6.6.23 Affected

Frequently Asked Questions

What is CVE-2024-26866?

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

How severe is CVE-2024-26866?

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-26866?

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-26866?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26866 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.