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

5.5 · MEDIUM
Published May 19, 2024 linux EPSS 0.20% (9th pctl)

Overview

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

riscv: Fix vector state restore in rt_sigreturn()

The RISC-V Vector specification states in "Appendix D: Calling

Convention for Vector State" [1] that "Executing a system call causes

all caller-saved vector registers (v0-v31, vl, vtype) and vstart to

become unspecified.". In the RISC-V kernel this is called "discarding

the vstate".

Returning from a signal handler via the rt_sigreturn() syscall, vector

discard is also performed. However, this is not an issue since the

vector state should be restored from the sigcontext, and therefore not

care about the vector discard.

The "live state" is the actual vector register in the running context,

and the "vstate" is the vector state of the task. A dirty live state,

means that the vstate and live state are not in synch.

When vectorized user_from_copy() was introduced, an bug sneaked in at

the restoration code, related to the discard of the live state.

An example when this g

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.8, < 6.8.5 Affected

Frequently Asked Questions

What is CVE-2024-35873?

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

How severe is CVE-2024-35873?

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

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

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