drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.108, 6.1.24, 6.2.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From f89823c212246d0671cc51e69894a3df1a743aee · fixed in 6eeb1cba4c9dc47656ea328afa34953c28783d8c; From f89823c212246d0671cc51e69894a3df1a743aee · fixed in 240b1502708858b5e3f10b6dc5ca3f148a322fef; From f89823c212246d0671cc51e69894a3df1a743aee · fixed in 7eb98f5ac551863efe8be810cea1cd5411d677b1; From f89823c212246d0671cc51e69894a3df1a743aee · fixed in dc30c011469165d57af9adac5baff7d767d20e5c
- Linux Linux
4.14
- KernelLinux
From 4.14.0 · fixed in 5.15.108; From 5.16.0 · fixed in 6.1.24; From 6.2.0 · fixed in 6.2.11