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

7.1 · HIGH
Published Jun 21, 2024 linux CWE-787 EPSS 0.27% (19th pctl)

Overview

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

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

media: stk1160: fix bounds checking in stk1160_copy_video()

The subtract in this condition is reversed. The ->length is the length

of the buffer. The ->bytesused is how many bytes we have copied thus

far. When the condition is reversed that means the result of the

subtraction is always negative but since it's unsigned then the result

is a very high positive value. That means the overflow check is never

true.

Additionally, the ->bytesused doesn't actually work for this purpose

because we're not writing to "buf->mem + buf->bytesused". Instead, the

math to calculate the destination where we are writing is a bit

involved. You calculate the number of full lines already written,

multiply by two, skip a line if necessary so that we start on an odd

numbered line, and add the offset into the line.

To fix this buffer overflow, just take the actual destination where we

are writing, if the offset is already out of bounds

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 >= 3.7, < 4.19.316 Affected

Frequently Asked Questions

What is CVE-2024-38621?

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

How severe is CVE-2024-38621?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-38621?

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

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