{"id":"CVE-2026-31571","aliases":["CVE-2026-31571"],"related":[],"kind":"vulnerability","state":"published","title":"drm/i915: Unlink NV12 planes earlier","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Unlink NV12 planes earlier\n\nunlink_nv12_plane() will clobber parts of the plane state\npotentially already set up by plane_atomic_check(), so we\nmust make sure not to call the two in the wrong order.\nThe problem happens when a plane previously selected as\na Y plane is now configured as a normal plane by user space.\nplane_atomic_check() will first compute the proper plane\nstate based on the userspace request, and unlink_nv12_plane()\nlater clears some of the state.\n\nThis used to work on account of unlink_nv12_plane() skipping\nthe state clearing based on the plane visibility. But I removed\nthat check, thinking it was an impossible situation. Now when\nthat situation happens unlink_nv12_plane() will just WARN\nand proceed to clobber the state.\n\nRather than reverting to the old way of doing things, I think\nit's more clear if we unlink the NV12 planes before we even\ncompute the new plane state.\n\n(cherry picked from commit 017ecd04985573eeeb0745fa2c23896fb22ee0cc)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Unlink NV12 planes earlier\n\nunlink_nv12_plane() will clobber parts of the plane state\npotentially already set up by plane_atomic_check(), so we\nmust make sure not to call the two in the wrong order.\nThe problem happens when a plane previously selected as\na Y plane is now configured as a normal plane by user space.\nplane_atomic_check() will first compute the proper plane\nstate based on the userspace request, and unlink_nv12_plane()\nlater clears some of the state.\n\nThis used to work on account of unlink_nv12_plane() skipping\nthe state clearing based on the plane visibility. But I removed\nthat check, thinking it was an impossible situation. Now when\nthat situation happens unlink_nv12_plane() will just WARN\nand proceed to clobber the state.\n\nRather than reverting to the old way of doing things, I think\nit's more clear if we unlink the NV12 planes before we even\ncompute the new plane state.\n\n(cherry picked from commit 017ecd04985573eeeb0745fa2c23896fb22ee0cc)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/i915: Desvincular planos NV12 antes\n\nunlink_nv12_plane() sobrescribirá partes del estado del plano potencialmente ya configuradas por plane_atomic_check(), por lo que debemos asegurarnos de no llamar a las dos en el orden incorrecto. El problema ocurre cuando un plano previamente seleccionado como un plano Y ahora se configura como un plano normal por el espacio de usuario. plane_atomic_check() primero calculará el estado del plano adecuado basado en la solicitud del espacio de usuario, y unlink_nv12_plane() más tarde borra parte del estado.\n\nEsto solía funcionar debido a que unlink_nv12_plane() omitía la limpieza del estado basada en la visibilidad del plano. Pero eliminé esa verificación, pensando que era una situación imposible. Ahora, cuando esa situación ocurre, unlink_nv12_plane() simplemente ADVERTIRÁ y procederá a sobrescribir el estado.\n\nEn lugar de revertir a la antigua forma de hacer las cosas, creo que es más claro si desvinculamos los planos NV12 incluso antes de calcular el nuevo estado del plano.\n\n(seleccionado de la confirmación 017ecd04985573eeeb0745fa2c23896fb22ee0cc)","source":"nvd"}],"published":"2026-04-24T14:35:50.094Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6a01df2f1b2a3b29721143729a3feff816bc0083","fixed":"70e2eb91cb6310a3508439f6f2539dfffa0abf77","status":"affected"},{"type":"git","introduced":"6a01df2f1b2a3b29721143729a3feff816bc0083","fixed":"12f3b6cbab8fbeb95097685b40f0147406cf9746","status":"affected"},{"type":"git","introduced":"6a01df2f1b2a3b29721143729a3feff816bc0083","fixed":"bfa71b7a9dc6b5b8af157686e03308291141d00c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.15.1","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"6.15"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/70e2eb91cb6310a3508439f6f2539dfffa0abf77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12f3b6cbab8fbeb95097685b40f0147406cf9746","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfa71b7a9dc6b5b8af157686e03308291141d00c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:39:14.635Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31571","url":"https://www.cve.org/CVERecord?id=CVE-2026-31571","licence":"CVE Terms of Use","modified":"2026-11-05T21:45:08.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31571","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31571","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.489Z","epss":{"score":0.00126,"percentile":0.02456,"date":"2026-12-01T12:00:22.000Z"}}