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

7.8 · HIGH
Published May 30, 2024 linux CWE-787 EPSS 0.23% (14th pctl)

Overview

CVE-2024-36895 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 30, 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:

usb: gadget: uvc: use correct buffer size when parsing configfs lists

This commit fixes uvc gadget support on 32-bit platforms.

Commit 0df28607c5cb ("usb: gadget: uvc: Generalise helper functions for

reuse") introduced a helper function __uvcg_iter_item_entries() to aid

with parsing lists of items on configfs attributes stores. This function

is a generalization of another very similar function, which used a

stack-allocated temporary buffer of fixed size for each item in the list

and used the sizeof() operator to check for potential buffer overruns.

The new function was changed to allocate the now variably sized temp

buffer on heap, but wasn't properly updated to also check for max buffer

size using the computed size instead of sizeof() operator.

As a result, the maximum item size was 7 (plus null terminator) on

64-bit platforms, and 3 on 32-bit ones. While 7 is accidentally just

barely enough, 3 is definitely too s

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.3, < 6.6.31 Affected

Frequently Asked Questions

What is CVE-2024-36895?

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

How severe is CVE-2024-36895?

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

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

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