{"id":"CVE-2021-47670","aliases":["CVE-2021-47670"],"related":[],"kind":"vulnerability","state":"published","title":"can: peak_usb: fix use after free bugs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_usb: fix use after free bugs\n\nAfter calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe.\nEspecially, the can_frame cf which aliases skb memory is accessed\nafter the peak_usb_netif_rx_ni().\n\nReordering the lines solves the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_usb: fix use after free bugs\n\nAfter calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe.\nEspecially, the can_frame cf which aliases skb memory is accessed\nafter the peak_usb_netif_rx_ni().\n\nReordering the lines solves the issue.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: peak_usb: corrección de errores de use after free. Tras llamar a peak_usb_netif_rx_ni(skb), desreferenciar skb no es seguro. En particular, se accede al cf can_frame, que crea un alias de memoria skb, después de peak_usb_netif_rx_ni(). Reordenar las líneas soluciona el problema.","source":"nvd"}],"published":"2025-04-17T18:01:30.722Z","modified":"2026-08-05T08:48:50.364Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"0a25e1f4f18566b750ebd3ae995af64e23111e63","fixed":"5408824636fa0dfedb9ecb0d94abd573131bfbbe","status":"affected"},{"type":"git","introduced":"0a25e1f4f18566b750ebd3ae995af64e23111e63","fixed":"ddd1416f44130377798c1430b76503513b7497c2","status":"affected"},{"type":"git","introduced":"0a25e1f4f18566b750ebd3ae995af64e23111e63","fixed":"ec939c13c3fff2114479769c8380b7f1a54feca9","status":"affected"},{"type":"git","introduced":"0a25e1f4f18566b750ebd3ae995af64e23111e63","fixed":"50aca891d7a554db0901b245167cd653d73aaa71","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"4.19.171","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.93","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.11","lastAffected":"5.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.11","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":"4.0","fixed":"4.19.171"},{"status":"affected","introduced":"4.20","fixed":"5.4.93"},{"status":"affected","introduced":"5.5","fixed":"5.10.11"},{"status":"affected","version":"5.11"},{"status":"affected","version":"5.11"},{"status":"affected","version":"5.11"},{"status":"affected","version":"5.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-17T18:17:46.529Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47670","url":"https://www.cve.org/CVERecord?id=CVE-2021-47670","licence":"CVE Terms of Use","modified":"2026-08-05T08:48:50.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47670","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47670","licence":"Public domain","modified":"2026-08-04T10:17:12.873Z"}],"updatedAt":"2026-11-25T22:58:09.015Z","epss":{"score":0.0023,"percentile":0.14815,"date":"2026-12-01T12:00:22.000Z"}}