CVE-2023-54202
Use-After-Free in Linux Kernel i915_perf ioctl Race Condition
Publication date: 2025-12-30
Last updated on: 2025-12-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition use-after-free (UAF) in the Linux kernel's drm/i915 driver, specifically in the i915_perf_add_config_ioctl function. Userspace can guess an id value and attempt to race the creation of an oa_config object with its removal. If the object is dereferenced after unlocking the metrics_lock, it can lead to use-after-free, causing potential instability or exploitation. The fix involves ensuring the metrics_lock is not unlocked until after the object is fully dereferenced.
How can this vulnerability impact me? :
This vulnerability can lead to use-after-free conditions in the Linux kernel, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the race condition in the drm/i915 driver.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the race condition in drm/i915 (specifically the fix for use-after-free in i915_perf_add_config_ioctl). Avoid using vulnerable kernel versions and apply vendor-provided patches as soon as they are available.