can: peak_usb: fix use after free bugs (Linux Linux)

CVE-2021-47670
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_usb_netif_rx_ni(). Reordering the lines solves the issue.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0a25e1f4f18566b750ebd3ae995af64e23111e63 < 5408824636fa0dfedb9ecb0d94abd573131bfbbe ; affected 0a25e1f4f18566b750ebd3ae995af64e23111e63 < ddd1416f44130377798c1430b76503513b7497c2 ; affected 0a25e1f4f18566b750ebd3ae995af64e23111e63 < ec939c13c3fff2114479769c8380b7f1a54feca9 ; affected 0a25e1f4f18566b750ebd3ae995af64e23111e63 < 50aca891d7a554db0901b245167cd653d73aaa71
Linux · Linuxaffected 4.0 ; unaffected 0 < 4.0 ; unaffected 4.19.171 ≤ 4.19.* ; unaffected 5.4.93 ≤ 5.4.* ; unaffected 5.10.11 ≤ 5.10.* ; unaffected 5.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD