From mboxrd@z Thu Jan 1 00:00:00 1970 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 1FC084F3ED6 for ; Thu, 17 Sep 2026 16:37:36 +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=1789663057; cv=none; b=RQcx56jkFL7HVcEU1aOlyGz6KLPqMfucQclJ0Z6oAVPkbEbC1niyGC5R5q2P3uVamCrRwedmuMuHJftwTIAUeI9T81kBSRkLPBLS04+e4oXIFWOi6FfaLP/+2d7+bBlnAJ4XfJttcHm5Uto2fKQaPkmGoxdelsqSQ+rzzWEUmlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663057; c=relaxed/simple; bh=tFQfRyp2IAI3RLI/wQVMORCUBzp2XfXHZZnk8cA4SR8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pjh5qr01iFaiomzOree8qBxKkZvXXr/ok8xdMRdv2hxLwsfFWbyq1V8m3P89ZAyb2K/3qxE122u/yjydrIZEdfrxR8NNTwIJgEWrcpipJ47JPlMXYpfIDPsV8vm3aW1UM9Ccm9PGTHuHtloeneI8KBFD8DY6p/9m+94Vg7MrGvc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BX1/wnJa; 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="BX1/wnJa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68E351F000FF; Thu, 17 Sep 2026 16:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663056; bh=0I7SX9ES/z8w1+du9Z1dYv8/mtZKwa4GVHiqYg37zlA=; h=From:To:Cc:Subject:Date:Reply-To; b=BX1/wnJazxnGzyDdpngpbqUIEz5UbLUyXN8aWfYh6JhOsUUcRNVnt+UD+SP8lKcNy Xd1tQrDkO5GQB8SGtGnN83DMR0kUAumx43R5IAooVG3iO2L+OmBvY62gppn9e00F+7 5BtYiFL96cNmIdiKfwPzL+skaTwb4KzB8AyO7yEs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93074: dax/fsdev: use __va(phys) for kaddr in direct_access Date: Thu, 17 Sep 2026 17:15:53 +0100 Message-ID: <2026091739-CVE-2026-93074-6972@gregkh> X-Mailer: git-send-email 2.55.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=2392; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SGN5gZXccg5rpfP6CuddBzDebYet5Lr5WMVsqfG160g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBI5Y+D48XeQrGitpK8i8S6G7UXs735qbjtPkshNDF 90zTl3aEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPR/MowT2Ndk9b9Ox9vuXnE xr+buDzzc3/YIoa5Mrr7/G9Nudv2divbNZWeeO/sx9VNAA== 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: dax/fsdev: use __va(phys) for kaddr in direct_access Use __va(phys) instead of virt_addr + linear_offset for the kaddr return in __fsdev_dax_direct_access(). The previous code added a device-linear byte offset to virt_addr (which is __va of ranges[0]), but for multi-range devices with physical gaps between ranges, this linear arithmetic crosses the gap and produces a wrong kernel virtual address. Using __va(phys) where phys comes from dax_pgoff_to_phys() is correct for any range layout because the direct map translates each physical address independently. This leaves dev_dax->virt_addr write-only, so remove the field (suggested by Dave Jiang). The Linux kernel CVE team has assigned CVE-2026-93074 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 759455848df0b9ac3acabdbedcdc4a55af67935f and fixed in 7.2.6 with commit 7b642bd3d39105eef4d5908970726c5fda291b53 Issue introduced in 7.1 with commit 759455848df0b9ac3acabdbedcdc4a55af67935f and fixed in 7.3-rc1 with commit ff7c73fca793bd5c29a15ba735b0886f62f3a840 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-93074 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/dax/dax-private.h drivers/dax/fsdev.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/7b642bd3d39105eef4d5908970726c5fda291b53 https://git.kernel.org/stable/c/ff7c73fca793bd5c29a15ba735b0886f62f3a840