CVE-2024-50259

MEDIUM

Linux Kernel < 5.15.171 - Out-of-Bounds Read

Title source: rule
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() This was found by a static analyzer. We should not forget the trailing zero after copy_from_user() if we will further do some string operations, sscanf() in this case. Adding a trailing zero will ensure that the function performs properly.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (6)
linux/Kernel 5.13.0 - 5.15.171linux
linux/Kernel 5.16.0 - 6.1.116linux
linux/Kernel 6.2.0 - 6.6.60linux
linux/Kernel 6.7.0 - 6.11.7linux
linux/linux_kernel 6.12 rc1 (5 CPE variants)
linux/linux_kernel 5.13 - 5.15.171
Published Nov 09, 2024
Tracked Since Feb 18, 2026