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

5.5 · MEDIUM
Published Apr 17, 2024 linux CWE-401 EPSS 0.28% (20th pctl)

Overview

CVE-2024-26840 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:

cachefiles: fix memory leak in cachefiles_add_cache()

The following memory leak was reported after unbinding /dev/cachefiles:

==================================================================

unreferenced object 0xffff9b674176e3c0 (size 192):

comm "cachefilesd2", pid 680, jiffies 4294881224

hex dump (first 32 bytes):

01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

backtrace (crc ea38a44b):

[<ffffffff8eb8a1a5>] kmem_cache_alloc+0x2d5/0x370

[<ffffffff8e917f86>] prepare_creds+0x26/0x2e0

[<ffffffffc002eeef>] cachefiles_determine_cache_security+0x1f/0x120

[<ffffffffc00243ec>] cachefiles_add_cache+0x13c/0x3a0

[<ffffffffc0025216>] cachefiles_daemon_write+0x146/0x1c0

[<ffffffff8ebc4a3b>] vfs_write+0xcb/0x520

[<ffffffff8ebc5069>] ksys_write+0x69/0xf0

[<ffffffff8f6d4662>] do_syscall_64+0x72/0x140

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 >= 2.6.30, < 4.19.309 Affected

Frequently Asked Questions

What is CVE-2024-26840?

CVE-2024-26840 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-26840?

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

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

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