{"id":"CVE-2021-47670","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-04-17T18:15:43.833","lastModified":"2026-08-04T10:17:12.873","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/can/usb/peak_usb/pcan_usb_fd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"5408824636fa0dfedb9ecb0d94abd573131bfbbe","versionType":"git","status":"affected"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"ddd1416f44130377798c1430b76503513b7497c2","versionType":"git","status":"affected"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"ec939c13c3fff2114479769c8380b7f1a54feca9","versionType":"git","status":"affected"},{"version":"0a25e1f4f18566b750ebd3ae995af64e23111e63","lessThan":"50aca891d7a554db0901b245167cd653d73aaa71","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/can/usb/peak_usb/pcan_usb_fd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.0","status":"affected"},{"version":"0","lessThan":"4.0","versionType":"semver","status":"unaffected"},{"version":"4.19.171","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.93","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.11","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.11","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-04-17T18:17:46.529671Z","id":"CVE-2021-47670","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-416"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"4.19.171","matchCriteriaId":"D3C55539-9CAA-416E-913C-68BEF9E80C35"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.93","matchCriteriaId":"3F19E9ED-75CE-4576-98F5-2746C9189696"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.11","matchCriteriaId":"B62A8CB5-77B4-40A9-8B60-AF691EC1FB99"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*","matchCriteriaId":"18B1C9CE-F7E4-426B-A770-79F86AB5CC38"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*","matchCriteriaId":"7A70E596-2EF7-4651-B2EF-2CEE31DB6893"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*","matchCriteriaId":"18C82C96-2853-4DFE-93AD-F6E59B4129CA"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*","matchCriteriaId":"A330B043-47EA-4D06-82BF-153A1735FC11"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}