VYPR
Unrated severityNVD Advisory· Published Nov 9, 2024· Updated Nov 3, 2025

netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()

CVE-2024-50259

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

93

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.