# CVE-2026-97900: drm/drm\_exec: fix up contended obj when num\_objects is 0

> 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 6, 2026-11-28)
- **Published:** 2026-09-25T10:22:28.057Z
- **Modified:** 2026-10-19T10:17:40.170Z

## Who should check

- Anyone running Linux \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 506cfed91e50cc8055799480a2fde5a18f63a21c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 831cd124ce99c3e61266bed30519d52f7c26abed; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< f3e74866018dab793ebee1fdf0ef34f7271d1f8c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< a565022c02f218ec9789c2baf4690792e7a48cbb; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 159720704d9d652b64390c11fb971e15b0a78d23
- Anyone running Linux 6.6

## Description

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

drm/drm\_exec: fix up contended obj when num\_objects is 0

drm\_exec\_prepare\_array() silently returns success without calling
drm\_exec\_lock\_contended() when num\_objects is zero. This breaks the
invariant upheld by drm\_exec\_lock\_obj(), where every entry point into
the locking sequence must first attempt to lock any previously
contended object before proceeding.

Drivers that chain multiple drm\_exec\_prepare\_array() calls per
drm\_exec\_until\_all\_locked() iteration (e.g. amdgpu's userq signal/wait
ioctls, which prepare separate read and write BO arrays) can pass an
empty array for one of the two calls. If contention is hit while
preparing the non-empty array, exec-\>contended is set and the loop
retries; on retry, the empty-array call preceding it is a no-op that
never clears exec-\>contended, so drm\_exec\_retry\_on\_contention()
immediately jumps back to the top of the loop without ever reaching
the call that would resolve the contention. This spins forever.

Fix it by having drm\_exec\_prepare\_array() call drm\_exec\_lock\_contended()
directly when num\_objects is zero, so a pending contended object dont
loop infinitely.

## Affected and fixed versions

- Linux: \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 506cfed91e50cc8055799480a2fde5a18f63a21c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 831cd124ce99c3e61266bed30519d52f7c26abed; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< f3e74866018dab793ebee1fdf0ef34f7271d1f8c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< a565022c02f218ec9789c2baf4690792e7a48cbb; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 159720704d9d652b64390c11fb971e15b0a78d23 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 159720704d9d652b64390c11fb971e15b0a78d23 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97900.md
Affected: Linux >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < 506cfed91e50cc8055799480a2fde5a18f63a21c; >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < 831cd124ce99c3e61266bed30519d52f7c26abed; >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < f3e74866018dab793ebee1fdf0ef34f7271d1f8c; >= 09593216bff15866f95c8ad…
Fixed in: Linux 506cfed91e50cc8055799480a2fde5a18f63a21c, Linux 831cd124ce99c3e61266bed30519d52f7c26abed, Linux 159720704d9d652b64390c11fb971e15b0a78d23

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-97900 being exploited?

There is no confirmed exploitation: CVE-2026-97900 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 506cfed91e50cc8055799480a2fde5a18f63a21c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 831cd124ce99c3e61266bed30519d52f7c26abed; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< f3e74866018dab793ebee1fdf0ef34f7271d1f8c; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< a565022c02f218ec9789c2baf4690792e7a48cbb; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 159720704d9d652b64390c11fb971e15b0a78d23; Linux 6.6.

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

Yes. Fixed in Linux 506cfed91e50cc8055799480a2fde5a18f63a21c, Linux 831cd124ce99c3e61266bed30519d52f7c26abed, Linux 159720704d9d652b64390c11fb971e15b0a78d23. Upgrade Linux to 159720704d9d652b64390c11fb971e15b0a78d23 or later.

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

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/506cfed91e50cc8055799480a2fde5a18f63a21c>
- other: <https://git.kernel.org/stable/c/831cd124ce99c3e61266bed30519d52f7c26abed>
- other: <https://git.kernel.org/stable/c/f3e74866018dab793ebee1fdf0ef34f7271d1f8c>
- other: <https://git.kernel.org/stable/c/a565022c02f218ec9789c2baf4690792e7a48cbb>
- other: <https://git.kernel.org/stable/c/159720704d9d652b64390c11fb971e15b0a78d23>

## 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-97900>

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