Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4D25B31B824 for ; Mon, 8 Jun 2026 15:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933859; cv=none; b=HNbiiZhgTnZdUIPhkYO9OSh6FQAOZQGNBUF5YI+JuE11wATi6BkJJooWbqd91NG0Q248pRnXkxYgvj3vP+Cbh4cxb+oVNiNGvs7FD4UBaX6k1F0lP1e2h1BN4rTp8tUUbq/aoot+2a1cecHRbayoTC11v7lPNxVNzJ6Y7cPdp9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933859; c=relaxed/simple; bh=CsbXltJ+XEIe0mUVPXcgdl50G7HFxoJPH4srRDlEb9c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wmgtd8H4jKjds5QU5DcwI2YPddnlsW4PPihCS+2GxReuhOpyxhIbMy/4eQ2A5Om2Q4sHZDAndVqWkrihIAIzSRYYKCnKlhAKyxsmiB/nY+8bTLgwkEaNYYMqVTLHXnG3GbiBtoSGBBtyC09uM6lDJhW+5cFASz+ABXpfA0JCdgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W0A9A4ae; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="W0A9A4ae" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 304561F00893; Mon, 8 Jun 2026 15:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933857; bh=yrvGzl8sonba+BkOm2OrVG+BfzjaVHtpcl7HMGRIrzg=; h=From:To:Cc:Subject:Date:Reply-To; b=W0A9A4aeXk4SQz6xfxYLJbbLGwx5evlABfOKfxPwyNJSDAK/CXVKRSMTytHnnqMmh o+ATrvZkZ0OYdOSrz1no9MAgNwyghLhsbh102x5RSEmqPOol5JJREPqklSsakcvc3A LCwbM+ucWy67Wq7ctLFhLZfuAEJqTnGCnI5B/i/c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46309: drm/xe/uapi: Reject coh_none PAT index for CPU cached memory in madvise Date: Mon, 8 Jun 2026 17:49:53 +0200 Message-ID: <2026060852-CVE-2026-46309-7f6b@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=3053; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YlF5+VuvPi3WwDREA4Tl26av19iw3zFbVRlho3ftBQE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqTxYoefCvfRhVcXfuUw4DCWdpk7iflZ+nRD7dwKWVH vrx8vNlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR458M83R5WkRYTSZeXape WC+7tezjustL+hjmV0mJzPNcn6gp21nedYrvAmvlLSkrAA== 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/uapi: Reject coh_none PAT index for CPU cached memory in madvise Add validation in xe_vm_madvise_ioctl() to reject PAT indices with XE_COH_NONE coherency mode when applied to CPU cached memory. Using coh_none with CPU cached buffers is a security issue. When the kernel clears pages before reallocation, the clear operation stays in CPU cache (dirty). GPU with coh_none can bypass CPU caches and read stale sensitive data directly from DRAM, potentially leaking data from previously freed pages of other processes. This aligns with the existing validation in vm_bind path (xe_vm_bind_ioctl_validate_bo). v2(Matthew brost) - Add fixes - Move one debug print to better place v3(Matthew Auld) - Should be drm/xe/uapi - More Cc v4(Shuicheng Lin) - Fix kmem leak issues by the way v5 - Remove kmem leak because it has been merged by another patch v6 - Remove the fix which is not related to current fix v7 - No change v8 - Rebase v9 - Limit the restrictions to iGPU v10 - No change (cherry picked from commit 016ccdb674b8c899940b3944952c96a6a490d10a) The Linux kernel CVE team has assigned CVE-2026-46309 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit ada7486c5668db542a7d361268df931aca5b726a and fixed in 6.18.32 with commit 87f9b1528e1ffc1da3615d552c9a06aba5e20b00 Issue introduced in 6.18 with commit ada7486c5668db542a7d361268df931aca5b726a and fixed in 7.0.9 with commit fea04cf6f2345bc50f15b6638906c35962b89424 Issue introduced in 6.18 with commit ada7486c5668db542a7d361268df931aca5b726a and fixed in 7.1-rc2 with commit 4e5591c2fc1b30f4ea5e2eab4c3a695acc404e39 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-46309 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_vm_madvise.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/87f9b1528e1ffc1da3615d552c9a06aba5e20b00 https://git.kernel.org/stable/c/fea04cf6f2345bc50f15b6638906c35962b89424 https://git.kernel.org/stable/c/4e5591c2fc1b30f4ea5e2eab4c3a695acc404e39