Bug 2324894 (CVE-2024-50259) - CVE-2024-50259 kernel: netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
Summary: CVE-2024-50259 kernel: netdevsim: Add trailing zero to terminate the string i...
Keywords:
Status: NEW
Alias: CVE-2024-50259
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2325117
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-09 11:03 UTC by OSIDB Bzimport
Modified: 2024-11-21 19:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-09 11:03:46 UTC
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.

Comment 1 Avinash Hanwate 2024-11-11 06:43:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024110939-CVE-2024-50259-b07b@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.