VDB

CVE-2026-97900

CVE-2026-97900 PUBLISHED

drm/drm_exec: fix up contended obj when num_objects is 0

Reported by linux · Published September 25, 2026

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.

EPSS 0.17% · 6.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.17%
6.2th percentile

Affected products

VendorProductVersions
LinuxLinux09593216bff15866f95c8ad406cb7fdcec1ee40a, 09593216bff15866f95c8ad406cb7fdcec1ee40a, 09593216bff15866f95c8ad406cb7fdcec1ee40a
LinuxLinux6.6, 0, 6.6.158
amazon:2023kernel6.18-headers0
linuxlinux_kernel6.6, 6.6, 6.6
amazon:2023kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.12-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-tools0
amazon:2023perf6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.12-modules-extra0

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97900
vulnetix vdb fixes CVE-2026-97900

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97900/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›