# CVE-2026-99147: drm/exec: don't immediately add prelocked obj to array of locked objs

> 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-26)
- **Published:** 2026-10-28T10:35:03.580Z
- **Modified:** 2026-10-30T13:21:48.627Z

## Who should check

- Anyone running Linux \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 74b4d2370a9e2b77247063dfa05f452766102676; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 96d9996e5dbcfabed052c0d9377a382c95fed607; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 26401a4999f1596a515b2e704e7066ac09306488
- Anyone running Linux 6.6

## Description

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

drm/exec: don't immediately add prelocked obj to array of locked objs

When a contention is detected the drm\_exec object grabs a reference to
the contended object, unlocks all other objects and pre-locks the
contended one before anything else.

The problem is that it is possible that this pre-locked object was about
to be destroyed and drm\_exec is now holding the last reference to it.

So we never actually see this pre-locked object again to be explicitly
locked and so also never reserve a slot for a dma\_fence object on it.

Should the driver now use drm\_exec\_for\_each\_locked\_object() to add a new
fence to all locked objects we eventually see a warning or even a
BUG\_ON() to prevent random memory corruption.

Fix this by keeping the prelocked object out of the array of locked objs
until it was explicitly mentioned by the driver again.

If the prelocked object is never mentioned again by the driver
just unlock and drop the reference at the end of the locking loop.

## Affected and fixed versions

- Linux: \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 74b4d2370a9e2b77247063dfa05f452766102676; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 96d9996e5dbcfabed052c0d9377a382c95fed607; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 26401a4999f1596a515b2e704e7066ac09306488 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 26401a4999f1596a515b2e704e7066ac09306488 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-99147. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99147.md
Affected: Linux >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < 74b4d2370a9e2b77247063dfa05f452766102676; >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e; >= 09593216bff15866f95c8ad406cb7fdcec1ee40a, < 96d9996e5dbcfabed052c0d9377a382c95fed607; >= 09593216bff15866f95c8ad…
Fixed in: Linux 74b4d2370a9e2b77247063dfa05f452766102676, Linux 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e, Linux 96d9996e5dbcfabed052c0d9377a382c95fed607, Linux 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b, Linux 26401a4999f1596a515b2e704e7066ac09306488

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

There is no confirmed exploitation: CVE-2026-99147 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-99147?

It has no CVSS score yet. Unknown.

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

Linux \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 74b4d2370a9e2b77247063dfa05f452766102676; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 96d9996e5dbcfabed052c0d9377a382c95fed607; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b; \>= 09593216bff15866f95c8ad406cb7fdcec1ee40a, \< 26401a4999f1596a515b2e704e7066ac09306488; Linux 6.6.

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

Yes. Fixed in Linux 74b4d2370a9e2b77247063dfa05f452766102676, Linux 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e, Linux 96d9996e5dbcfabed052c0d9377a382c95fed607, Linux 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b, Linux 26401a4999f1596a515b2e704e7066ac09306488. Upgrade Linux to 26401a4999f1596a515b2e704e7066ac09306488 or later.

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

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/74b4d2370a9e2b77247063dfa05f452766102676>
- other: <https://git.kernel.org/stable/c/9dd91a22f076a4d19f14d82a5ab790c6bbaa073e>
- other: <https://git.kernel.org/stable/c/96d9996e5dbcfabed052c0d9377a382c95fed607>
- other: <https://git.kernel.org/stable/c/7a10cd79c4d9a90334fece32fef3a8e5b1a9727b>
- other: <https://git.kernel.org/stable/c/26401a4999f1596a515b2e704e7066ac09306488>

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

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