{"id":"CVE-2023-54202","summary":"drm/i915: fix race condition UAF in i915_perf_add_config_ioctl","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: fix race condition UAF in i915_perf_add_config_ioctl\n\nUserspace can guess the id value and try to race oa_config object creation\nwith config remove, resulting in a use-after-free if we dereference the\nobject after unlocking the metrics_lock.  For that reason, unlocking the\nmetrics_lock must be done after we are done dereferencing the object.\n\n[tursulin: Manually added stable tag.]\n(cherry picked from commit 49f6f6483b652108bcb73accd0204a464b922395)","modified":"2026-03-20T12:33:29.689476Z","published":"2025-12-30T12:09:06.872Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0473-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54202.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/240b1502708858b5e3f10b6dc5ca3f148a322fef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6eeb1cba4c9dc47656ea328afa34953c28783d8c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7eb98f5ac551863efe8be810cea1cd5411d677b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc30c011469165d57af9adac5baff7d767d20e5c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54202.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54202"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f89823c212246d0671cc51e69894a3df1a743aee"},{"fixed":"6eeb1cba4c9dc47656ea328afa34953c28783d8c"},{"fixed":"240b1502708858b5e3f10b6dc5ca3f148a322fef"},{"fixed":"7eb98f5ac551863efe8be810cea1cd5411d677b1"},{"fixed":"dc30c011469165d57af9adac5baff7d767d20e5c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54202.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"5.15.108"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54202.json"}}],"schema_version":"1.7.5"}