drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 240b1502708858b5e3f10b6dc5ca3f148a322fef, Kernel 6eeb1cba4c9dc47656ea328afa34953c28783d8c, Kernel 7eb98f5ac551863efe8be810cea1cd5411d677b1 and 1 more.
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)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.14, >=f89823c212246d0671cc51e69894a3df1a743aee <240b1502708858b5e3f10b6dc5ca3f148a322fef, >=f89823c212246d0671cc51e69894a3df1a743aee <6eeb1cba4c9dc47656ea328afa34953c28783d8c, >=f89823c212246d0671cc51e69894a3df1a743aee <7eb98f5ac551863efe8be810cea1cd5411d677b1, >=f89823c212246d0671cc51e69894a3df1a743aee <dc30c011469165d57af9adac5baff7d767d20e5c | 240b1502708858b5e3f10b6dc5ca3f148a322fef, 6eeb1cba4c9dc47656ea328afa34953c28783d8c, 7eb98f5ac551863efe8be810cea1cd5411d677b1, dc30c011469165d57af9adac5baff7d767d20e5c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket