From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D0C13BED0F for ; Fri, 1 May 2026 14:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645277; cv=none; b=L5qUrntOFo4QXCcmFOfHSlB9+1jG5F1Wh104zUEoVpeYDvU5Ku1YzRHI+a+tx3aBbfEfHACF7OpeDL9P85k9DhFfAYlNJYNjzLe9JGH4B7mBknEddHV8Mo4UILLVdlZAeWFCtqKCLCpjpUtDNmUxOBZy6pnK6jgrGbKOO067Euw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645277; c=relaxed/simple; bh=/XmkA67Mz4lmUYqg6LM1Ys2Ju2Hn+SGbBsmSkaujEFk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fGAUCCrRk+ev5XhpxJFcMLttdpkGTlFfeLOz7jE6DUMHW9Iu+TJHNIgknqLGGXqKMtXE6lE5DK6/SB7OpWaw+/aXo9ENG0nfxm2kNw8f8uizTAm8wwB4hzaXTlrla/CbsDS2b3hdqXQ/TYq4j2vHI4TbMqXsbp9TNR0lRGCaDGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SjlJDZBm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SjlJDZBm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC701C2BCB4; Fri, 1 May 2026 14:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645277; bh=/XmkA67Mz4lmUYqg6LM1Ys2Ju2Hn+SGbBsmSkaujEFk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=SjlJDZBmKZvbnhdB1hDYQSzpv+tNgp5YJMGQXj2q6M+dTcgLy/wTul+a0IdUn0dDs 2tFo6cSKGxHhHqdVv9sBX3DaWRTnVJkHqs8Qzo2cS0RGTZBzaFrbm3rX0KhQonffah yv+jGbk0VX/qbbzE9bHCs+9bvbL5FwPxxypRb0MA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31785: drm/xe/xe_pagefault: Disallow writes to read-only VMAs Date: Fri, 1 May 2026 16:15:36 +0200 Message-ID: <2026050152-CVE-2026-31785-e014@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2033; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=guPa9Jr34crqHRsUfha+PHa08zJUG77NB/FZ/9aBifQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftsY47bTaKcrIl2q/vjzn4Y+W+CyW/zezw/dP3vXu0 t8vyeendMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEvG4yzPdjWKbTn73z/L3y eLXyswfa3HcmWzLMU5/E4qSzeH5OyTH/SXrLXqw/Fyl2CQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/xe/xe_pagefault: Disallow writes to read-only VMAs The page fault handler should reject write/atomic access to read only VMAs. Add code to handle this in xe_pagefault_service after the VMA lookup. v2: - Apply max line length (Matthew) (cherry picked from commit 714ee6754ac5fa3dc078856a196a6b124cd797a0) The Linux kernel CVE team has assigned CVE-2026-31785 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit fb544b8445080c6488a58c01022550adc0873283 and fixed in 6.19.12 with commit b656f040ed4ed2074dfb78072745b41d44368be0 Issue introduced in 6.19 with commit fb544b8445080c6488a58c01022550adc0873283 and fixed in 7.0 with commit 6d192b4f2d644d15d9a9f1d33dab05af936f6540 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-31785 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/xe/xe_pagefault.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b656f040ed4ed2074dfb78072745b41d44368be0 https://git.kernel.org/stable/c/6d192b4f2d644d15d9a9f1d33dab05af936f6540