Bug 2426132 (CVE-2023-54202) - CVE-2023-54202 kernel: drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
Summary: CVE-2023-54202 kernel: drm/i915: fix race condition UAF in i915_perf_add_conf...
Keywords:
Status: NEW
Alias: CVE-2023-54202
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:11 UTC by OSIDB Bzimport
Modified: 2025-12-31 06:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:11:14 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.