PT-2024-14659 · Linux+5 · Linux Kernel+5
Published
2023-12-12
·
Updated
2025-02-03
·
CVE-2023-52618
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a potential string overflow in the Linux kernel's block/rnbd-srv module. The
dev search path can be as large as PATH MAX, and when copied into full path, which is also PATH MAX sized, there is a risk of truncation. This warning was reported by W=1 builds. The function rnbd srv get full path is involved, and the snprintf function is used with a potential output of up to 254 bytes into a region of size between 0 and 4095. To fix this, the code now unconditionally checks for truncation, similar to the case where "%SESSNAME%" is present.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu