CVE-2024-26791

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 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).

Package Linux Kernel
Published 2024-04-04
Last modified 2024-12-20
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-125

CVE-2024-26791 is a Out-of-bounds Read vulnerability

What is Out-of-bounds Read?

The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 3.8 and later are affected. Fixed in 4.19.309, 5.4.271, 5.10.212, 5.15.151, 6.1.81, 6.6.21, 6.7.9, 6.8 and their respective stable series.

Affected from
≥ 3.8
Fixed in
✓ 4.19.309 4.19.x ✓ 5.4.271 5.4.x ✓ 5.10.212 5.10.x ✓ 5.15.151 5.15.x ✓ 6.1.81 6.1.x ✓ 6.6.21 6.6.x ✓ 6.7.9 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2024-26791?

    CVE-2024-26791 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 3.8 onward and has been patched in 4.19.309, 5.4.271, 5.10.212 and others. CVE-2024-26791 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-26791?

    CVE-2024-26791 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2024-26791?

    Yes. CVE-2024-26791 has been patched. Fixed versions include 4.19.309, 5.4.271, 5.10.212 and others. If you are running Linux kernel 3.8 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-26791 actively exploited?

    No. CVE-2024-26791 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.