CVE-2024-50259: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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

  • Linux Linux Kernel: from 5.13, before 5.15.171 (fixed in 5.15.171); from 5.16, before 6.1.116 (fixed in 6.1.116); from 6.2, before 6.6.60 (fixed in 6.6.60); from 6.7, before 6.11.7 (fixed in 6.11.7); version 6.12 only

Published 2024-11-09. Last modified 2026-06-17.