Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix potential context UAFs gem_context_register() makes the context visible to userspace, and which point a separate thread can trigger the I915_GEM_CONTEXT_DESTROY ioctl. So we need to ensure that nothing uses the ctx ptr after this. And we need to ensure that adding the ctx to the xarray is the *last* thing that gem_context_register() does with the ctx pointer. [tursulin: Stable and fixes tags add/tidy.] (cherry picked from commit bed4b455cf5374e68879be56971c1da563bcd90c)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
eb4dedae920a07c485328af3da2202ec5184fb17 to < ae278887193110dfeb857ea63e243a3851fbb0bcaffectedeb4dedae920a07c485328af3da2202ec5184fb17 to < b696c627b3f56e173f7f70b8487d66da8ff22506affectedeb4dedae920a07c485328af3da2202ec5184fb17 to < afce71ff6daa9c0f852df0727fe32c6fb107f0faaffected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected5.15.171 to ≤ 5.15.*unaffected6.1.7 to ≤ 6.1.*unaffected6.2 to ≤ *unaffected