{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47671","id":"CVE-2021-47671","title":"can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path","description":"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 th","descriptionLong":"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.","published":"2025-04-17T18:01:31.459Z","updated":"2026-06-17T04:18:17.430Z","reserved":"2025-04-16T07:16:05.753Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"CISA-ADP"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8537257874e949a59c834cecfd5a063e11b64b0b","lessThan":"4f389e1276a5389c92cef860c9fde8e1c802a871","status":"affected","versionType":"git"},{"version":"8537257874e949a59c834cecfd5a063e11b64b0b","lessThan":"7eb0881aec26099089f12ae850aebd93190b1dfe","status":"affected","versionType":"git"},{"version":"8537257874e949a59c834cecfd5a063e11b64b0b","lessThan":"d9447f768bc8c60623e4bb3ce65b8f4654d33a50","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.14.19","lessThanOrEqual":"5.14.*","status":"unaffected","versionType":"semver"},{"version":"5.15.3","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4f389e1276a5389c92cef860c9fde8e1c802a871","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/7eb0881aec26099089f12ae850aebd93190b1dfe","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/d9447f768bc8c60623e4bb3ce65b8f4654d33a50","tags":["Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00186,"epssPercentile":0.08302,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47671","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47671","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47671","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47671","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}