# CVE-2026-98521: drm/i915: fix incorrect RCU teardown order

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:17:38.938Z
- **Modified:** 2026-10-19T10:19:06.040Z

## Who should check

- Anyone running Linux \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 4d4ca84213327da1f84ef7af3946dea6b14c5d88; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< c53db9cc245219af6b528ca022a17ebfa91d80ba; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< b12e041aedcf9fa77c6002a49f07eb20d0521b86; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< cc890d3f1b15bf6481dc7270fba0b4fbba572813; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 2dd0190e397ec6468095fd3e80e79276a7361449; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< d2da6696e0c4e60414706e607029d0bb0330c67e
- Anyone running Linux 5.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/i915: fix incorrect RCU teardown order

i915\_gem\_busy\_ioctl uses dma\_resv\_for\_each\_fence\_unlocked() to iterate
over the fences in an GEM object without holding a reference but only
the RCU read side lock.

What can happen here is that the GEM object is destroyed concurrently
while i915\_gem\_busy\_ioctl is still running. This won't free the GEM
objects memory, but still drops all the dma\_fence references.

Now when dma\_resv\_for\_each\_fence\_unlocked() sees a destroyed dma\_fence it
assumes that a new fence list was installed and re-starts the loop.

But in the case of a destroyed GEM object a new fence list is never
installed, only the old one freed and therefore the iteration never
finishes resulting in an endless loop.

The solution is to drop the fence references only after the RCU grace
period.

The fixes tag is not necessary the patch introducing the problem, but the
one making it so worse that we need to address it.

This problem was pointed out by Sashiko-bot.

(cherry picked from commit 5113479556025093bf8133bb2dcaa33be2d50921)

## Affected and fixed versions

- Linux: \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 4d4ca84213327da1f84ef7af3946dea6b14c5d88; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< c53db9cc245219af6b528ca022a17ebfa91d80ba; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< b12e041aedcf9fa77c6002a49f07eb20d0521b86; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< cc890d3f1b15bf6481dc7270fba0b4fbba572813; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 2dd0190e397ec6468095fd3e80e79276a7361449; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< d2da6696e0c4e60414706e607029d0bb0330c67e (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98521. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98521.md
Affected: Linux >= 912ff2ebd695c582ca4cebf833ad73a378a99f23, < 4d4ca84213327da1f84ef7af3946dea6b14c5d88; >= 912ff2ebd695c582ca4cebf833ad73a378a99f23, < c53db9cc245219af6b528ca022a17ebfa91d80ba; >= 912ff2ebd695c582ca4cebf833ad73a378a99f23, < b12e041aedcf9fa77c6002a49f07eb20d0521b86; >= 912ff2ebd695c582ca4cebf…
Fixed in: Linux 4d4ca84213327da1f84ef7af3946dea6b14c5d88, Linux 2dd0190e397ec6468095fd3e80e79276a7361449

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.
```

## FAQ

### Is CVE-2026-98521 being exploited?

There is no confirmed exploitation: CVE-2026-98521 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98521?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98521?

Linux \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 4d4ca84213327da1f84ef7af3946dea6b14c5d88; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< c53db9cc245219af6b528ca022a17ebfa91d80ba; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< b12e041aedcf9fa77c6002a49f07eb20d0521b86; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< cc890d3f1b15bf6481dc7270fba0b4fbba572813; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< 2dd0190e397ec6468095fd3e80e79276a7361449; \>= 912ff2ebd695c582ca4cebf833ad73a378a99f23, \< d2da6696e0c4e60414706e607029d0bb0330c67e; Linux 5.17.

### Is there a fix for CVE-2026-98521?

Yes. Fixed in Linux 4d4ca84213327da1f84ef7af3946dea6b14c5d88, Linux 2dd0190e397ec6468095fd3e80e79276a7361449. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98521?

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.

## References

- other: <https://git.kernel.org/stable/c/4d4ca84213327da1f84ef7af3946dea6b14c5d88>
- other: <https://git.kernel.org/stable/c/c53db9cc245219af6b528ca022a17ebfa91d80ba>
- other: <https://git.kernel.org/stable/c/b12e041aedcf9fa77c6002a49f07eb20d0521b86>
- other: <https://git.kernel.org/stable/c/cc890d3f1b15bf6481dc7270fba0b4fbba572813>
- other: <https://git.kernel.org/stable/c/2dd0190e397ec6468095fd3e80e79276a7361449>
- other: <https://git.kernel.org/stable/c/d2da6696e0c4e60414706e607029d0bb0330c67e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98521>

HTML: <https://flawdb.com/CVE-2026-98521> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98521>
