media: edia: dvbdev: fix a use-after-free (Linux Linux)

CVE-2024-27043
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 22 ()
É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: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.

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: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 · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected b61901024776b25ce7b8edc31bb1757c7382a88e < d0f5c28333822f9baa5280d813124920720fd856 ; affected b61901024776b25ce7b8edc31bb1757c7382a88e < f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 ; affected b61901024776b25ce7b8edc31bb1757c7382a88e < 096237039d00c839f3e3a5fe6d001bf0db45b644 ; affected b61901024776b25ce7b8edc31bb1757c7382a88e < 0d3fe80b6d175c220b3e252efc6c6777e700e98e ; affected b61901024776b25ce7b8edc31bb1757c7382a88e < 437a111f79a2f5b2a5f21e27fdec6f40c8768712 ; affected b61901024776b25ce7b8edc31bb1757c7382a88e < 779e8db7efb22316c8581d6c229636d2f5694a62
Linux · Linuxaffected 2.6.21 ; unaffected 0 < 2.6.21 ; unaffected 4.19.311 ≤ 4.19.* ; unaffected 5.4.273 ≤ 5.4.* ; unaffected 5.10.214 ≤ 5.10.* ; unaffected 5.15.153 ≤ 5.15.*

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