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

7.8 · HIGH
Published Jun 19, 2024 linux CWE-787 EPSS 0.26% (18th pctl)

Overview

CVE-2024-38578 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

ecryptfs: Fix buffer size for tag 66 packet

The 'TAG 66 Packet Format' description is missing the cipher code and

checksum fields that are packed into the message packet. As a result,

the buffer allocated for the packet is 3 bytes too small and

write_tag_66_packet() will write up to 3 bytes past the end of the

buffer.

Fix this by increasing the size of the allocation so the whole packet

will always fit in the buffer.

This fixes the below kasan slab-out-of-bounds bug:

BUG: KASAN: slab-out-of-bounds in ecryptfs_generate_key_packet_set+0x7d6/0xde0

Write of size 1 at addr ffff88800afbb2a5 by task touch/181

CPU: 0 PID: 181 Comm: touch Not tainted 6.6.13-gnu #1 4c9534092be820851bb687b82d1f92a426598dc6

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2/GNU Guix 04/01/2014

Call Trace:

<TASK>

dump_stack_lvl+0x4c/0x70

print_report+0xc5/0x610

? ecryptfs_generate_key_packet_set+0x7d6/0xd

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.21, < 4.19.316 Affected

Frequently Asked Questions

What is CVE-2024-38578?

CVE-2024-38578 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-38578?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-38578?

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

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