drm/i915: fix race condition UAF in i915_perf_add_config_ioctl (Linux Linux)

CVE-2023-54202
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.15 % · centile 4 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: drm/i915: fix race condition UAF in i915_perf_add_config_ioctl Userspace can guess the id value and try to race oa_config object creation with config remove, resulting in a use-after-free if we dereference the object after unlocking the metrics_lock. For that reason, unlocking the metrics_lock must be done after we are done dereferencing the object. [tursulin: Manually added stable tag.] (cherry picked from commit 49f6f6483b652108bcb73accd0204a464b922395)

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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f89823c212246d0671cc51e69894a3df1a743aee < 6eeb1cba4c9dc47656ea328afa34953c28783d8c ; affected f89823c212246d0671cc51e69894a3df1a743aee < 240b1502708858b5e3f10b6dc5ca3f148a322fef ; affected f89823c212246d0671cc51e69894a3df1a743aee < 7eb98f5ac551863efe8be810cea1cd5411d677b1 ; affected f89823c212246d0671cc51e69894a3df1a743aee < dc30c011469165d57af9adac5baff7d767d20e5c
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.15.108 ≤ 5.15.* ; unaffected 6.1.24 ≤ 6.1.* ; unaffected 6.2.11 ≤ 6.2.* ; unaffected 6.3 ≤ *

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