drm/panfrost: Job should reference MMU not file_priv (Linux Linux)

CVE-2022-49359
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 21 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Job should reference MMU not file_priv For a while now it's been allowed for a MMU context to outlive it's corresponding panfrost_priv, however the job structure still references panfrost_priv to get hold of the MMU context. If panfrost_priv has been freed this is a use-after-free which I've been able to trigger resulting in a splat. To fix this, drop the reference to panfrost_priv in the job structure and add a direct reference to the MMU structure which is what's actually needed.

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 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 < 8c8e8cc91a6ffc79865108279a74fd57d9070a17
affectée : ≥ 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 < 472dd7ea5e19a1aeabf1711ddc756777e05ee7c2
affectée : ≥ 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 < 6e516faf04317db2c46cbec4e3b78b4653a5b109
affectée : c29485e34e63198dca6289639aa711f99d88e76e
affectée : 626adede2642f00c8918999a2451bd0a644ab9b7
affectée : cf461fa9250a634e8afc4433d82ae0decea8136e
affectée : ≥ 5.10.67 < 5.11
affectée : ≥ 5.13.19 < 5.14
affectée : ≥ 5.14.6 < 5.15
Autres versions : non affectée
Linux · Linux
affectée : 5.15
non affectée : ≥ 0 < 5.15
non affectée : ≥ 5.17.15 ≤ 5.17.*
non affectée : ≥ 5.18.4 ≤ 5.18.*
non affectée : ≥ 5.19 ≤ *
Autres versions : affectée

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