Menu

Star on GitHub · 3.2k

CVE-2024-26791

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: btrfs: dev-replace: properly validate device names There's a syzbot report that device name buffers passed to device replace ar…

Published Apr 4, 2024CWE-125EPSS 0.25%

Overview

CVE-2024-26791 is a high-severity vulnerability. It was published on April 4, 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:

btrfs: dev-replace: properly validate device names

There's a syzbot report that device name buffers passed to device

replace are not properly checked for string termination which could lead

to a read out of bounds in getname_kernel().

Add a helper that validates both source and target device name buffers.

For devid as the source initialize the buffer to empty string in case

something tries to read it later.

This was originally analyzed and fixed in a different way by Edward Adam

Davis (see links).

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-26791?

CVE-2024-26791 is a high-severity vulnerability. It was published on April 4, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2024-26791?

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-26791?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26791 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all