{"schema":"threatline.record/2","record":{"id":"CVE-2026-99147","aliases":[],"summary":"drm/exec: don't immediately add prelocked obj to array of locked objs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/exec: don't immediately add prelocked obj to array of locked objs\n\nWhen a contention is detected the drm_exec object grabs a reference to\nthe contended object, unlocks all other objects and pre-locks the\ncontended one before anything else.\n\nThe problem is that it is possible that this pre-locked object was about\nto be destroyed and drm_exec is now holding the last reference to it.\n\nSo we never actually see this pre-locked object again to be explicitly\nlocked and so also never reserve a slot for a dma_fence object on it.\n\nShould the driver now use drm_exec_for_each_locked_object() to add a new\nfence to all locked objects we eventually see a warning or even a\nBUG_ON() to prevent random memory corruption.\n\nFix this by keeping the prelocked object out of the array of locked objs\nuntil it was explicitly mentioned by the driver again.\n\nIf the prelocked object is never mentioned again by the driver\njust unlock and drop the reference at the end of the locking loop.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","source_modified_at":"2026-10-28T10:35:03.580Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"09593216bff15866f95c8ad406cb7fdcec1ee40a","lessThan":"96d9996e5dbcfabed052c0d9377a382c95fed607","status":"affected","versionType":"git"},{"version":"09593216bff15866f95c8ad406cb7fdcec1ee40a","lessThan":"7a10cd79c4d9a90334fece32fef3a8e5b1a9727b","status":"affected","versionType":"git"},{"version":"09593216bff15866f95c8ad406cb7fdcec1ee40a","lessThan":"26401a4999f1596a515b2e704e7066ac09306488","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","source_modified_at":"2026-10-28T10:35:03.580Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","source_modified_at":"2026-10-28T10:35:03.580Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"96d9996e5dbcfabed052c0d9377a382c95fed607","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","source_modified_at":"2026-10-28T10:35:03.580Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"7a10cd79c4d9a90334fece32fef3a8e5b1a9727b","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","source_modified_at":"2026-10-28T10:35:03.580Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"Linux","ecosystem":null},"version":"26401a4999f1596a515b2e704e7066ac09306488","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T10:35:03.580Z","modified_at":"2026-10-28T10:35:03.580Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99147","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-10-28T10:35:03.580Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/96d9996e5dbcfabed052c0d9377a382c95fed607"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/7a10cd79c4d9a90334fece32fef3a8e5b1a9727b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/26401a4999f1596a515b2e704e7066ac09306488"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T10:35:03.580Z","content_hash":"805d284520061f80f6f0610618ed462568adb5c338a59c624f67c17e2ae61795"}}
