{"id":"CVE-2024-50259","published":"2024-11-09T10:15:12Z","modified":"2026-05-11T20:48:39Z","title":"netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()\n\nThis was found by a static analyzer.\nWe should not forget the trailing zero after copy_from_user()\nif we will further do some string operations, sscanf() in this\ncase. Adding a trailing zero will ensure that the function\nperforms properly.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00219,"percentile":0.12691,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/c2150f666c6fc301d5d1643ed0f92251f1a0ff0d","tags":[]},{"url":"https://git.kernel.org/stable/c/bcba86e03b3aac361ea671672cf48eed11f9011c","tags":[]},{"url":"https://git.kernel.org/stable/c/6a604877160fe5ab2e1985d5ce1ba6a61abe0693","tags":[]},{"url":"https://git.kernel.org/stable/c/27bd7a742e171362c9eb52ad5d1d71d3321f949f","tags":[]},{"url":"https://git.kernel.org/stable/c/4ce1f56a1eaced2523329bef800d004e30f2f76c","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.54},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c6385c0b67c527b298111775bc89a7407ba1581e, < c2150f666c6fc301d5d1643ed0f92251f1a0ff0d",">= c6385c0b67c527b298111775bc89a7407ba1581e, < bcba86e03b3aac361ea671672cf48eed11f9011c",">= c6385c0b67c527b298111775bc89a7407ba1581e, < 6a604877160fe5ab2e1985d5ce1ba6a61abe0693",">= c6385c0b67c527b298111775bc89a7407ba1581e, < 27bd7a742e171362c9eb52ad5d1d71d3321f949f",">= c6385c0b67c527b298111775bc89a7407ba1581e, < 4ce1f56a1eaced2523329bef800d004e30f2f76c"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:15:29.343925Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44761","exploited":false,"provenance":"source"}}