-

CVE-2026-99147

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 09593216bff15866f95c8ad406cb7fdcec1ee40a
Version < 74b4d2370a9e2b77247063dfa05f452766102676
Status affected
Version 09593216bff15866f95c8ad406cb7fdcec1ee40a
Version < 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e
Status affected
Version 09593216bff15866f95c8ad406cb7fdcec1ee40a
Version < 96d9996e5dbcfabed052c0d9377a382c95fed607
Status affected
Version 09593216bff15866f95c8ad406cb7fdcec1ee40a
Version < 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b
Status affected
Version 09593216bff15866f95c8ad406cb7fdcec1ee40a
Version < 26401a4999f1596a515b2e704e7066ac09306488
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.6
Status affected
Version 0
Version < 6.6
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.066
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/96d9996e5dbcfabed052c0d9377a382c95fed607
https://git.kernel.org/stable/c/7a10cd79c4d9a90334fece32fef3a8e5b1a9727b
https://git.kernel.org/stable/c/26401a4999f1596a515b2e704e7066ac09306488
https://git.kernel.org/stable/c/74b4d2370a9e2b77247063dfa05f452766102676
https://git.kernel.org/stable/c/9dd91a22f076a4d19f14d82a5ab790c6bbaa073e