{"id":"CVE-2021-47671","aliases":["CVE-2021-47671"],"related":[],"kind":"vulnerability","state":"published","title":"can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: etas_es58x: es58x_rx_err_msg(): corrige pérdida de memoria en la ruta de error. En es58x_rx_err_msg(), si can-&gt;do_set_mode() falla, la función retorna directamente sin llamar a netif_rx(skb). Esto significa que el skb previamente asignado por alloc_can_err_skb() no se libera. En otras palabras, se trata de una pérdida de memoria. Este parche simplemente elimina la instrucción de retorno en la rama de error y permite que la función continúe. Se encontró un problema con GCC -fanalyzer; siga el enlace a continuación para obtener más información.","source":"nvd"}],"published":"2025-04-17T18:01:31.459Z","modified":"2026-06-17T04:18:17.430Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"8537257874e949a59c834cecfd5a063e11b64b0b","fixed":"4f389e1276a5389c92cef860c9fde8e1c802a871","status":"affected"},{"type":"git","introduced":"8537257874e949a59c834cecfd5a063e11b64b0b","fixed":"7eb0881aec26099089f12ae850aebd93190b1dfe","status":"affected"},{"type":"git","introduced":"8537257874e949a59c834cecfd5a063e11b64b0b","fixed":"d9447f768bc8c60623e4bb3ce65b8f4654d33a50","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.14.19","lastAffected":"5.14.*","status":"unaffected"},{"type":"semver","introduced":"5.15.3","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"5.14.19"},{"status":"affected","introduced":"5.15","fixed":"5.15.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4f389e1276a5389c92cef860c9fde8e1c802a871","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7eb0881aec26099089f12ae850aebd93190b1dfe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9447f768bc8c60623e4bb3ce65b8f4654d33a50","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-17T19:49:27.476Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47671","url":"https://www.cve.org/CVERecord?id=CVE-2021-47671","licence":"CVE Terms of Use","modified":"2026-05-11T13:58:56.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47671","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47671","licence":"Public domain","modified":"2026-06-17T04:18:17.430Z"}],"updatedAt":"2026-11-25T22:58:09.015Z","epss":{"score":0.00274,"percentile":0.12453,"date":"2026-11-30T12:00:22.000Z"}}