Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758082; b=VgChyeaCOjE+i7ClTQr+J4SSE6ILanGMEkWj915DzjIGTxB62QVr0J1IqxVKLNr5wogQ uUgWsXOOgdQP5tB1weoUmnqI9d4Q+fHgHrhbu/kCnOzVto7qIyivlqIN6+L5gjd+vJYmx 4eyaCI45xbHAsX8I2fpS/VvNFcgokKWJVl/MPW1AoIIrlL82G6UAeR5b6i3lZQNO7n5nH 8JL/Eo22Q3AFNoHLK25mBpOhKLLbBbfIzXziRDGSNUOCT3P7BdOsDKRB8m0JnKD/mMDmm wkdBT6EzlNWc+mjFFokxoIahbyUIlffnopi34XrJ2xBI2QerocWcQJ/z4insWe+6jCQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758082; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=hzmLbF+pC4Vpw2HZMDEcD8yLFnMfQep1Woj14H45MkQ=; b=sU9Jjs/V2Wf8tORZV9ktwt3F8kh6yNM8tQQB9PctLO3Bet0Vvr89oAtBXzxyjMJ9u3w6 99VvRNJpicId0DqWEqWKQn9geoNzZAWnQZqs5iQc5VnIooQTWf04hNPqmmUj+xbxuBge5 TNv8wGJlqav5iGfk/62voCm3bJHw45PgNCvEhIf1Rr50Q2cQCPhQLuiO12SRjwNO1wwP2 FewYxXt0YgBcH+5BKmKEin2gM8iSOWLeuPDKhReEBZAD1dgZdEa15kb4Qxa29vw4W/Mou 1up0aKrKr5UPuRNFvzAAse6Gmuq0I04eGOg0OVw9QzlDFQHX3I/Ca6Ig1Yo8z/XXccQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZuPulbZG; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 289EA606A31A for ; Fri, 23 Oct 2026 12:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZuPulbZG Received: by smtp.kernel.org (Postfix) with ESMTPSA id 998071F01825; Fri, 23 Oct 2026 12:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758081; bh=hzmLbF+pC4Vpw2HZMDEcD8yLFnMfQep1Woj14H45MkQ=; h=From:To:Cc:Subject:Date:Reply-To; b=ZuPulbZGuL0rFAsRtqMXpHM/YpfYULqNw8SB1UlVWNAiA+0TCkxy9sZZjYQOff5xf VjG/BA6PmeUK09k3+J1W+uFOBHUgodKDOMGr/oyg/BEmoQ0I4Zz+eWJopM38M6dkSE pDbpPMAMZ5/o1cmM8JW+XboR/dcxLedw3wY4lw7w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98923: arm64: io: Reject non-user protection in ioremap_prot() Date: Fri, 23 Oct 2026 14:01:44 +0200 Message-ID: <2026102339-CVE-2026-98923-c7da@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3704; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zUnGkRTH8Ka1j7jRAjCz/NvlOvCknySH4dJmtDg9BFI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3fRYHdpyevnN7/kW+y3Uu9/nMhdMaXll6z3/Tq7par /LqijfTOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiPzUZ5inwltvXT5jtKZS8 8q+nwSqnfNVeM4Y5nLX/7zoH133YvOCoWfca/TwxV3VXAA== 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: arm64: io: Reject non-user protection in ioremap_prot() Mapping a stack-top page via /dev/mem with PROT_NONE and then reading that process's /proc//cmdline triggers a spurious WARN in ioremap_prot() through generic_access_phys(): WARNING: ./arch/arm64/include/asm/io.h:275 at generic_access_phys Call trace: generic_access_phys+0x1c8/0x228 (P) __access_remote_vm+0x2b4/0x398 access_remote_vm+0x14/0x30 get_mm_cmdline+0xf8/0x2a0 proc_pid_cmdline_read+0x68/0x120 generic_access_phys() passes the protection derived from the user PTE to ioremap_prot(). On arm64, a PROT_NONE mapping is represented by a present-invalid PTE, so pte_present() still returns true and the protection reaches ioremap_prot(). A PROT_NONE mapping does not have PTE_USER, causing the existing WARN_ON_ONCE() in ioremap_prot() to fire even though this is a valid user mapping. Execute-only mappings have the same issue and must not be readable through this path either. ioremap_prot() should therefore reject protection values without PTE_USER without warning. This makes the access fail cleanly for PROT_NONE and execute-only mappings while retaining the existing user-protection contract. The Linux kernel CVE team has assigned CVE-2026-98923 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.143 with commit 64858b76ec67c5fc40fef8ec1841fecb78c1ebde and fixed in 6.6.158 with commit fddc90d4af4550af410f52d11bbf6b5f36443838 Issue introduced in 6.12.93 with commit eeecafce5afffb4da703666ebefbd4d6e2a5abf6 and fixed in 6.12.112 with commit 0b04af3d88bb7fc69b2d92457890608860e42365 Issue introduced in 6.18.17 with commit 3d64dcc0799c2d6921ba027716b7be721eb19fa8 and fixed in 6.18.55 with commit b17aa4955e3a694c663ebe99626e4c76ca4f7cfb Issue introduced in 7.0 with commit 8f098037139b294050053123ab2bc0f819d08932 and fixed in 7.2.9 with commit 9b583795feb51f8d50203228d001760d1344ef01 Issue introduced in 7.0 with commit 8f098037139b294050053123ab2bc0f819d08932 and fixed in 7.3 with commit bb756b11ad63832ebee58caf9e8f9381eaecff9f Issue introduced in 6.19.7 with commit d1ad8fe7f72d73e1617bac79f2ec7a3bedf47e2a 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-98923 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: arch/arm64/include/asm/io.h 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/fddc90d4af4550af410f52d11bbf6b5f36443838 https://git.kernel.org/stable/c/0b04af3d88bb7fc69b2d92457890608860e42365 https://git.kernel.org/stable/c/b17aa4955e3a694c663ebe99626e4c76ca4f7cfb https://git.kernel.org/stable/c/9b583795feb51f8d50203228d001760d1344ef01 https://git.kernel.org/stable/c/bb756b11ad63832ebee58caf9e8f9381eaecff9f