CVE-2023-53087
drm/i915/active: Fix misuse of non-idle barriers as fence trackers
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 311770173fac27845a3a83e2c16100a54d308f72, < 5e784a7d07af42057c0576fb647b482f4cb0dc2c; >= 311770173fac27845a3a83e2c16100a54d308f72, < 6ab7d33617559cced63d467928f478ea5c459021; >= 311770173fac27845a3a83e2c16100a54d308f72, < 5c7591b8574c52c56b3994c2fbef1a3a311b5715; >= 311770173fac27845a3a83e2c16100a54d308f72, < 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff; >= 311770173fac27845a3a83e2c16100a54d308f72, < e0e6b416b25ee14716f3549e0cbec1011b193809
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= 311770173fac27845a3a83e2c16100a54d308f72, < 5e784a7d07af42057c0576fb647b482f4cb0dc2c; >= 311770173fac27845a3a83e2c16100a54d308f72, < 6ab7d33617559cced63d467928f478ea5c459021; >= 311770173fac27845a3a83e2c16100a54d308f72, < 5c7591b8574c52c56b3994c2fbef1a3a311b5715; >= 311770173fac27845a3a83e2c16100a54d308f72, < 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff; >= 311770173fac27845a3a83e2c16100a54d308f72, < e0e6b416b25ee14716f3549e0cbec1011b193809; Linux 5.5
- Fixed in
- Linux 5e784a7d07af42057c0576fb647b482f4cb0dc2c, Linux 6ab7d33617559cced63d467928f478ea5c459021, Linux 5c7591b8574c52c56b3994c2fbef1a3a311b5715, Linux 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915/active: Fix misuse of non-idle barriers as fence trackers Users reported oopses on list corruptions when using i915 perf with a number of concurrently running graphics applications. Root cause analysis pointed at an issue in barrier processing code -- a race among perf open / close replacing active barriers with perf requests on kernel context and concurrent barrier preallocate / acquire operations performed during user context first pin / last unpin. When adding a request to a composite tracker, we try to reuse an existing fence tracker, already allocated and registered with that composite. The tracker we obtain may already track another fence, may be an idle barrier, or an active barrier. If the tracker we get occurs a non-idle barrier then we try to delete that barrier from a list of barrier tasks it belongs to. However, while doing that we don't respect return value from a function that performs the barrier deletion. Should the deletion ever fail, we would end up reusing the tracker still registered as a barrier task. Since the same structure field is reused with both fence callback lists and barrier tasks list, list corruptions would likely occur. Barriers are now deleted from a barrier tasks list by temporarily removing the list content, traversing that content with skip over the node to be deleted, then populating the list back with the modified content. Should that intentionally racy concurrent deletion attempts be not serialized, one or more of those may fail because of the list being temporary empty. Related code that ignores the results of barrier deletion was initially introduced in v5.4 by commit d8af05ff38ae ("drm/i915: Allow sharing the idle-barrier from other kernel requests"). However, all users of the barrier deletion routine were apparently serialized at that time, then the issue didn't exhibit itself. Results of git bisect with help of a newly developed igt@gem_barrier_race@remote-request IGT test indicate that list corruptions might start to appear after commit 311770173fac ("drm/i915/gt: Schedule request retirement when timeline idles"), introduced in v5.5. Respect results of barrier deletion attempts -- mark the barrier as idle only if successfully deleted from the list. Then, before proceeding with setting our fence as the one currently tracked, make sure that the tracker we've got is not a non-idle barrier. If that check fails then don't use that tracker but go back and try to acquire a new, usable one. v3: use unlikely() to document what outcome we expect (Andi), - fix bad grammar in commit description. v2: no code changes, - blame commit 311770173fac ("drm/i915/gt: Schedule request retirement when timeline idles"), v5.5, not commit d8af05ff38ae ("drm/i915: Allow sharing the idle-barrier from other kernel requests"), v5.4, - reword commit description. (cherry picked from commit 506006055769b10d1b2b4e22f636f3b45e0e9fc7)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 311770173fac27845a3a83e2c16100a54d308f72, < 5e784a7d07af42057c0576fb647b482f4cb0dc2c; >= 311770173fac27845a3a83e2c16100a54d308f72, < 6ab7d33617559cced63d467928f478ea5c459021; >= 311770173fac27845a3a83e2c16100a54d308f72, < 5c7591b8574c52c56b3994c2fbef1a3a311b5715; >= 311770173fac27845a3a83e2c16100a54d308f72, < 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff; >= 311770173fac27845a3a83e2c16100a54d308f72, < e0e6b416b25ee14716f3549e0cbec1011b193809 | — | cvelist |
| Linux | 5.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53087. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53087.md Affected: Linux >= 311770173fac27845a3a83e2c16100a54d308f72, < 5e784a7d07af42057c0576fb647b482f4cb0dc2c; >= 311770173fac27845a3a83e2c16100a54d308f72, < 6ab7d33617559cced63d467928f478ea5c459021; >= 311770173fac27845a3a83e2c16100a54d308f72, < 5c7591b8574c52c56b3994c2fbef1a3a311b5715; >= 311770173fac27845a3a83e… Fixed in: Linux 5e784a7d07af42057c0576fb647b482f4cb0dc2c, Linux 6ab7d33617559cced63d467928f478ea5c459021, Linux 5c7591b8574c52c56b3994c2fbef1a3a311b5715, Linux 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5e784a7d07af42057c0576fb647b482f4cb0dc2c
- https://git.kernel.org/stable/c/6ab7d33617559cced63d467928f478ea5c459021
- https://git.kernel.org/stable/c/5c7591b8574c52c56b3994c2fbef1a3a311b5715
- https://git.kernel.org/stable/c/9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff
- https://git.kernel.org/stable/c/e0e6b416b25ee14716f3549e0cbec1011b193809
FAQ
Is CVE-2023-53087 being exploited?
There is no confirmed exploitation: CVE-2023-53087 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53087?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53087?
Linux >= 311770173fac27845a3a83e2c16100a54d308f72, < 5e784a7d07af42057c0576fb647b482f4cb0dc2c; >= 311770173fac27845a3a83e2c16100a54d308f72, < 6ab7d33617559cced63d467928f478ea5c459021; >= 311770173fac27845a3a83e2c16100a54d308f72, < 5c7591b8574c52c56b3994c2fbef1a3a311b5715; >= 311770173fac27845a3a83e2c16100a54d308f72, < 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff; >= 311770173fac27845a3a83e2c16100a54d308f72, < e0e6b416b25ee14716f3549e0cbec1011b193809; Linux 5.5.
Is there a fix for CVE-2023-53087?
Yes. Fixed in Linux 5e784a7d07af42057c0576fb647b482f4cb0dc2c, Linux 6ab7d33617559cced63d467928f478ea5c459021, Linux 5c7591b8574c52c56b3994c2fbef1a3a311b5715, Linux 9159db27fb19bbf1c91b5c9d5285e66cc96cc5ff. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53087?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.