{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47670","id":"CVE-2021-47670","title":"can: peak_usb: fix use after free bugs","description":"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.","descriptionLong":"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.","published":"2025-04-17T18:01:30.722Z","updated":"2026-08-05T08:48:50.364Z","reserved":"2025-04-16T07:16:05.752Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"5408824636fa0dfedb9ecb0d94abd573131bfbbe","status":"affected","versionType":"git"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"ddd1416f44130377798c1430b76503513b7497c2","status":"affected","versionType":"git"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"ec939c13c3fff2114479769c8380b7f1a54feca9","status":"affected","versionType":"git"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"50aca891d7a554db0901b245167cd653d73aaa71","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","lessThan":"4.0","status":"unaffected","versionType":"semver"},{"version":"4.19.171","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.93","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.11","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71","tags":["Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00228,"epssPercentile":0.13743,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47670","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47670","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47670","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-47670","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}