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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2024-11-09 11:15
Updated : 2024-11-14 18:24
NVD link : CVE-2024-50259
Mitre link : CVE-2024-50259
CVE.ORG link : CVE-2024-50259
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-125
Out-of-bounds Read