media: pvrusb2: fix use after free on context disconnection (Linux Linux)

CVE-2023-52445
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 16 ()
É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: pvrusb2: fix use after free on context disconnection Upon module load, a kthread is created targeting the pvr2_context_thread_func function, which may call pvr2_context_destroy and thus call kfree() on the context object. However, that might happen before the usb hub_event handler is able to notify the driver. This patch adds a sanity check before the invalid read reported by syzbot, within the context disconnection call stack.

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: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 e5be15c63804e05b5a94197524023702a259e308 < ec36c134dd020d28e312c2f1766f85525e747aab ; affected e5be15c63804e05b5a94197524023702a259e308 < 47aa8fcd5e8b5563af4042a00f25ba89bef8f33d ; affected e5be15c63804e05b5a94197524023702a259e308 < 3233d8bf7893550045682192cb227af7fa3defeb ; affected e5be15c63804e05b5a94197524023702a259e308 < ec3634ebe23fc3c44ebc67c6d25917300bc68c08 ; affected e5be15c63804e05b5a94197524023702a259e308 < 30773ea47d41773f9611ffb4ebc9bda9d19a9e7e ; affected e5be15c63804e05b5a94197524023702a259e308 < 2cf0005d315549b8d2b940ff96a66c2a889aa795
Linux · Linuxaffected 2.6.26 ; unaffected 0 < 2.6.26 ; unaffected 4.19.306 ≤ 4.19.* ; unaffected 5.4.268 ≤ 5.4.* ; unaffected 5.10.209 ≤ 5.10.* ; unaffected 5.15.148 ≤ 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