CVE-2024-26791

HIGH

Linux Kernel < 4.19.309 - Out-of-Bounds Read

Title source: rule

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

Scores

CVSS v3 7.1
EPSS 0.0001
EPSS Percentile 1.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE
CWE-125
Status published

Affected Products (14)

linux/linux_kernel < 4.19.309
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 4.19.309linux
linux/Kernel < 5.4.271linux
linux/Kernel < 5.10.212linux
linux/Kernel < 5.15.151linux
linux/Kernel < 6.1.81linux
linux/Kernel < 6.6.21linux
linux/Kernel < 6.7.9linux

Timeline

Published Apr 04, 2024
Tracked Since Feb 18, 2026