Menu

Star on GitHub · 3.2k

CVE-2024-49869

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: btrfs: send: fix buffer overflow detection when copying path to cache entry Starting with commit c0247d289e73 ("btrfs: send: an…

Published Oct 21, 2024CWE-120EPSS 0.24%

Overview

CVE-2024-49869 is a high-severity vulnerability. It was published on October 21, 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:

btrfs: send: fix buffer overflow detection when copying path to cache entry

Starting with commit c0247d289e73 ("btrfs: send: annotate struct

name_cache_entry with __counted_by()") we annotated the variable length

array "name" from the name_cache_entry structure with __counted_by() to

improve overflow detection. However that alone was not correct, because

the length of that array does not match the "name_len" field - it matches

that plus 1 to include the NUL string terminator, so that makes a

fortified kernel think there's an overflow and report a splat like this:

strcpy: detected buffer overflow: 20 byte write of buffer size 19

WARNING: CPU: 3 PID: 3310 at __fortify_report+0x45/0x50

CPU: 3 UID: 0 PID: 3310 Comm: btrfs Not tainted 6.11.0-prnet #1

Hardware name: CompuLab Ltd. sbc-ihsw/Intense-PC2 (IPC2), BIOS IPC2_3.330.7 X64 03/15/2018

RIP: 0010:__fortify_report+0x45/0x50

Code: 48 8b 34 (...)

RSP: 0018

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

CVE-2024-49869 is a high-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-49869?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-49869 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