{"id":"CVE-2021-47671","published":"2025-04-17T18:01:31Z","modified":"2026-05-11T13:58:56Z","title":"can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path\n\nIn es58x_rx_err_msg(), if can->do_set_mode() fails, the function\ndirectly returns without calling netif_rx(skb). This means that the\nskb previously allocated by alloc_can_err_skb() is not freed. In other\nterms, this is a memory leak.\n\nThis patch simply removes the return statement in the error branch and\nlet the function continue.\n\nIssue was found with GCC -fanalyzer, please follow the link below for\ndetails.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00186,"percentile":0.08367,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/4f389e1276a5389c92cef860c9fde8e1c802a871","tags":[]},{"url":"https://git.kernel.org/stable/c/7eb0881aec26099089f12ae850aebd93190b1dfe","tags":[]},{"url":"https://git.kernel.org/stable/c/d9447f768bc8c60623e4bb3ce65b8f4654d33a50","tags":[]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":1.67},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871",">= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe",">= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-17T19:49:27.476298Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34676","exploited":false,"provenance":"source"}}