Skip to main content
← All vulnerabilities
CVE-2024-50259

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published326 days
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

    222 days
  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    5.13

References 5

git.kernel.org