media: netup_unidvb: fix use-after-free at del_timer() (Linux Linux)

CVE-2023-53219
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: media: netup_unidvb: fix use-after-free at del_timer() When Universal DVB card is detaching, netup_unidvb_dma_fini() uses del_timer() to stop dma->timeout timer. But when timer handler netup_unidvb_dma_timeout() is running, del_timer() could not stop it. As a result, the use-after-free bug could happen. The process is shown below: (cleanup routine) | (timer routine) | mod_timer(&dev->tx_sim_timer, ..) netup_unidvb_finidev() | (wait a time) netup_unidvb_dma_fini() | netup_unidvb_dma_timeout() del_timer(&dma->timeout); | | ndev->pci_dev->dev //USE Fix by changing del_timer() to del_timer_sync().

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/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 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
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 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < dd5c77814f290b353917df329f36de1472d47154 ; affected 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < 90229e9ee957d4514425e4a4d82c50ab5d57ac4d ; affected 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < 1550bcf2983ae1220cc8ab899a39a423fa7cb523 ; affected 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < f9982db735a8495eee14267cf193c806b957e942 ; affected 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < 051af3f0b7d1cd8ab7f3e2523ad8ae1af44caba3 ; affected 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e < 07821524f67bf920342bc84ae8b3dea2a315a89e
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 4.14.316 ≤ 4.14.* ; unaffected 4.19.284 ≤ 4.19.* ; unaffected 5.4.244 ≤ 5.4.* ; unaffected 5.10.181 ≤ 5.10.*

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