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.

Affected products

92

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.