{"id":"CVE-2026-99726","aliases":["CVE-2026-99726"],"related":[],"kind":"vulnerability","state":"published","title":"drm/v3d: Widen cache_clean_lock over the whole L2TCACTL sequence","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/v3d: Widen cache_clean_lock over the whole L2TCACTL sequence\n\nv3d_clean_caches() and v3d_flush_l2t() both write the single L2TCACTL\nregister and poll its status bits. The mutex cache_clean_lock exists to\nserialize them, but v3d_clean_caches() only took the lock around its final\nFLM_CLEAN write.\n\nThese functions run concurrently: v3d_flush_l2t() is issued from the\nBIN/RENDER/CSD invalidate path while v3d_clean_caches() runs from the\nCACHE_CLEAN queue, and each queue's scheduler uses its own ordered\nworkqueue, so their run_job callbacks execute in parallel.\n\nBecause clean locked only its final write, a concurrent flush can write\nL2TCACTL during clean's unlocked phase. Both use non read-modify-write\nwrites to the one register, so whichever lands last wins: clean's TMUWCF\nwrite can land on the flush's in-flight L2TFLS invalidate, triggering the\nGFXH-1897 hazard of writing L2TCACTL while a flush is pending.\n\nHold cache_clean_lock across the entire L2TCACTL access sequence so it\nis fully mutually exclusive with v3d_flush_l2t(), which already takes the\nlock around its own write.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/v3d: Widen cache_clean_lock over the whole L2TCACTL sequence\n\nv3d_clean_caches() and v3d_flush_l2t() both write the single L2TCACTL\nregister and poll its status bits. The mutex cache_clean_lock exists to\nserialize them, but v3d_clean_caches() only took the lock around its final\nFLM_CLEAN write.\n\nThese functions run concurrently: v3d_flush_l2t() is issued from the\nBIN/RENDER/CSD invalidate path while v3d_clean_caches() runs from the\nCACHE_CLEAN queue, and each queue's scheduler uses its own ordered\nworkqueue, so their run_job callbacks execute in parallel.\n\nBecause clean locked only its final write, a concurrent flush can write\nL2TCACTL during clean's unlocked phase. Both use non read-modify-write\nwrites to the one register, so whichever lands last wins: clean's TMUWCF\nwrite can land on the flush's in-flight L2TFLS invalidate, triggering the\nGFXH-1897 hazard of writing L2TCACTL while a flush is pending.\n\nHold cache_clean_lock across the entire L2TCACTL access sequence so it\nis fully mutually exclusive with v3d_flush_l2t(), which already takes the\nlock around its own write.","source":"cvelist"}],"published":"2026-11-20T05:51:02.156Z","modified":"2026-11-20T06:18:09.623Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"11e9bdf8824b9e4e3c06d532c2663edb797c06f0","fixed":"ea7ed4ab14f9ae79bd798bb156025bc751c71a9b","status":"affected"},{"type":"git","introduced":"abf888b03a9805a3bc37948a0df443553b1c0910","fixed":"1b48fe8b323103e278fbc5145231b763577e2487","status":"affected"},{"type":"git","introduced":"abf888b03a9805a3bc37948a0df443553b1c0910","fixed":"994ba6e5c87d6a3d471ea987fe8622168f092334","status":"affected"},{"type":"git","version":"bdc2a495659f78ca01e6d5f18fb74419aaa1db0c","status":"affected"},{"type":"semver","introduced":"6.18.36","fixed":"6.18.64","status":"affected"},{"type":"semver","introduced":"7.0.13","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ea7ed4ab14f9ae79bd798bb156025bc751c71a9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b48fe8b323103e278fbc5145231b763577e2487","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/994ba6e5c87d6a3d471ea987fe8622168f092334","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99726","url":"https://www.cve.org/CVERecord?id=CVE-2026-99726","licence":"CVE Terms of Use","modified":"2026-11-20T05:51:02.156Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99726","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99726","licence":"Public domain","modified":"2026-11-20T06:18:09.623Z"}],"updatedAt":"2026-11-25T22:59:52.322Z","epss":{"score":0.00166,"percentile":0.06192,"date":"2026-12-01T12:00:22.000Z"}}