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=1795631199; b=I2dfKQeJC8MPNd9bYRMCFEsCmlpRFzLMStyqCTo0jmpenIIFucmaYaEqDoP3TSsKZVPq Li9Pf/sLRX5zf5V7hjZujTBbL+XVBMIDwUEHOybKIQT91cCwFqB+i7WJbY0JcEiQVlJVt BHtXeW6GyW2kag6UKhYSprj7K3aCG6iUiqIXcu161gV1LYx6XDtseAJY2hIfEJIBIa9fI maj8NJWSXZQLkLc2KlukBq40uYFrNQ+kvJXsPg16ehbMRUol4oBbLrPZEp9tl26c7XqYs c1GjRy1Socwx7h/23B/isMh/sK9mPeuBOefsVPE7uLzVjmotgGUIBxKGJrbilfwbHyw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795631199; 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=OWSuNnNe2ep1K5FqtvTBn/8ix5yVR7m5uCB3gKpFWzs=; b=cOWPm7QQL8KjBqx5+rpIn2PjecruiMHX4re+Zk8nPprhtfpLFEv7kLqiEUhV0UC0/OVa cAJRj2oDo26fQRNgQgS7/jiwvprmJZSlhAHmDSuC54wi33RPEdonWz3WJ10FSXcrdhkgZ zTILhU4H2Ua5GDMi7Ax0sfOax7xk5xuvZLG7+XcGgD3h4fjChNOZxtouToZiBL8SoIkmp 3l2CvEHhWLDjQyU00JqW7/wu71DgSHnBAXY4N5w8fKa2qNW/GR/ooJ1A74T91XQG7ahKA tYYcd16tBRWDDOGj9j4CT6CVfHNIrLpBEVMoqxNSS8oX44w9hvaH+Kn2XLiocGaxQEQ== 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="SIhVS0X/"; 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 0DDEB606A31E for ; Wed, 25 Nov 2026 18:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SIhVS0X/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 467281F000C4; Wed, 25 Nov 2026 18:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795631198; bh=OWSuNnNe2ep1K5FqtvTBn/8ix5yVR7m5uCB3gKpFWzs=; h=From:To:Cc:Subject:Date:Reply-To; b=SIhVS0X/RiCxzcMcxtZTUUVT+QH0xc+9SLflXaR5DrV9Egr4UrC0YrkiHxxKX2qIR 1ASlD1h+C25E1id7Jj8Qp1LuPBaJDPXlgXR8tGD2aLWc4JiDWBxmenx1Bn7gHMjx/H 6zzNE9GH8YsmBj6RiS+5995GNGY9n6WDIUuP9ieE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99811: vfio/cdx: prevent read-only region mappings from becoming writable Date: Wed, 25 Nov 2026 19:26:44 +0100 Message-ID: <2026112538-CVE-2026-99811-6d0e@gregkh> X-Mailer: git-send-email 2.56.1 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=3194; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FZ9mafZHFEgDAVtKExMqvNJy3SXQNLby258j7PDqiJQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDNnsGnHl9y+KNf0+tcfesX+mxh+bY8dMrScd23zvXlag9 L97O38LdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEjvxnWDCN1egAcwRT5c6K n0ofmR/ksB597caw4OxlvSONNW/+OXdab9jw9/+nw9yp5QA= 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: vfio/cdx: prevent read-only region mappings from becoming writable vfio_cdx_mmap() rejects writable mappings of regions without the WRITE flag, but leaves VM_MAYWRITE set. Userspace can map such a region read-only and then upgrade the mapping to writable with mprotect(), writing to MMIO regions the device marks read-only. Clear VM_MAYWRITE for regions without the WRITE flag, as i915 does for its read-only objects and as fixed in drm/vc4 (CVE-2026-68445), drm/panthor (CVE-2024-53071) and commit a5edadbae57e ("ptp: vmclock: prevent read-only mappings from becoming writable"). Note this is defensive hardening: no in-tree cdx device currently publishes a region without the WRITE flag. The guard costs nothing and keeps the mmap() interface honest if a read-only region ever appears. The Linux kernel CVE team has assigned CVE-2026-99811 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 234489ac561300ceed33e64c3bf3a810b9e2051d and fixed in 6.6.163 with commit 9628e3fbe9680f5025140cdf44fcbb1de9f8a789 Issue introduced in 6.5 with commit 234489ac561300ceed33e64c3bf3a810b9e2051d and fixed in 6.12.119 with commit 3eaabe24a0c0c1c67388e2b4e8624ca484a739eb Issue introduced in 6.5 with commit 234489ac561300ceed33e64c3bf3a810b9e2051d and fixed in 6.18.65 with commit a82df58e3dbf35325a7eec09d0aa8e16892a3ce3 Issue introduced in 6.5 with commit 234489ac561300ceed33e64c3bf3a810b9e2051d and fixed in 7.3.6 with commit 0b4d943393cb75aa398db220c0fa192ed856b6e8 Issue introduced in 6.5 with commit 234489ac561300ceed33e64c3bf3a810b9e2051d and fixed in 7.4-rc1 with commit 9c5cd385d295fa8621dff0e9f6063e3f6ff24159 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-99811 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/vfio/cdx/main.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/9628e3fbe9680f5025140cdf44fcbb1de9f8a789 https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3 https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8 https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159