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=1795631193; b=wnrpXSbbnpX1p9OgU803VxsRCuu+WD5A1NkewZ6tV2wJWTfuWy6jPEfPc3We7eg7lLhk 4HvI0hSS1PAbhj63ZUFK/qViEeZjA4eUi/kMKqU5fGmmT9EVDTQIdCUv7JoIjpyaPwu5V PQn8eo9jcFupHvxJHOScbMzwVIM9tHygl3Z8jAXn4+u5sng1Sg+7zYIZoXIZHhFlTvUzi zzVIvK/xtPk5/EcD2QhN4gwX5jJbbt1zTHXRw87cqQG78amatRf+tduTDHzfANn+RhI4I ius0RH646BU9Ocshe5f65WkPSsXI705wPS+jHoa/6OCi+LQ7Qa610XiBhqlkMss9M3Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795631193; 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=kaK09c+Uks2qK4JObnA3Ce8pnnOVhm52hVgdLUzY1Tc=; b=S5eFq9jcvkXxVR+8eqb+s7iSc1hz4xuNVkKQwrH5PFbAvygGHmIYw2mWHfm5KUq0b6Oa NdBzthwDAN8aOKO8mkeC1j22seBF10anwR5aRv2n56fhaJAR3pjko/E1263rBd9O2m1lU IPM+1nAI4uE0jGXz5WER85b4LqtWIjtpcW7j3LputplWoM5rdJECz/lnMJAIhJPjtB1Sk Z4dIeDPp9wuWgKjvS2leqJz3uBfcZ03CxynD9fB98M4MGIzRk1SkKiGKxj9JByo4BPF8Q QMU7Vjn3uz99y4EcGvtkK9xY5P89Zq9b9jZZDzWkwGa9Yw9/5Gna8oMg++KnHWbqDfQ== 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=bLlIBc+u; 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 59DCA606A321 for ; Wed, 25 Nov 2026 18:26:33 +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=bLlIBc+u Received: by smtp.kernel.org (Postfix) with ESMTPSA id 924171F000CF; Wed, 25 Nov 2026 18:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795631193; bh=kaK09c+Uks2qK4JObnA3Ce8pnnOVhm52hVgdLUzY1Tc=; h=From:To:Cc:Subject:Date:Reply-To; b=bLlIBc+uMovS1GyYmIxMipqqLT23+/uRBdsk3VqoRidLSc+uZJDrJKLpqNdpX9iYW EZE0v4EIRDMnSSmVR+XQX686f5ZM8AUrefmO4R9KpOQ3gezSup1YZt6PKPr7991nQW ac+2WvVEas+RYWEmYDcTiFR7/Fu6z0WaEShyaOS8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99809: vfio/platform: prevent read-only region mappings from becoming writable Date: Wed, 25 Nov 2026 19:26:42 +0100 Message-ID: <2026112538-CVE-2026-99809-05f5@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=3177; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UrjLBAJGUmD/Oeq0fldCOPAYnkxRzdnTu8xVRDYED8Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDNnsGnEe3Aduzs+6Mu/Jjc/OhnKZJ9U7vO+mTXGedroin ++11LJPHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRk/4M8wPCIxSCLjRkmF7K XRrn+0zz7axmHYb5Hr3nouf8ZJ8ux64Uutbp1u2Vpuc+AQA= 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/platform: prevent read-only region mappings from becoming writable vfio_platform_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(). 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 platform driver 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-99809 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit fad4d5b1f042a659e07ceba3a6d1744b30f8ff7c and fixed in 6.6.163 with commit 0cd753aefee70beced31e89fb4ed78a795411bd0 Issue introduced in 4.1 with commit fad4d5b1f042a659e07ceba3a6d1744b30f8ff7c and fixed in 6.12.119 with commit 61e756960f715a29fc7f595650e3e5ecc1f7579c Issue introduced in 4.1 with commit fad4d5b1f042a659e07ceba3a6d1744b30f8ff7c and fixed in 6.18.65 with commit b9289740d2292f02a925f1e34607db678c91000e Issue introduced in 4.1 with commit fad4d5b1f042a659e07ceba3a6d1744b30f8ff7c and fixed in 7.3.6 with commit 97faad50e37e5de90eea4f1fb132576b7f9211db Issue introduced in 4.1 with commit fad4d5b1f042a659e07ceba3a6d1744b30f8ff7c and fixed in 7.4-rc1 with commit 420bed9131dbbe37abe9d6b32af51219875811e0 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-99809 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/platform/vfio_platform_common.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/0cd753aefee70beced31e89fb4ed78a795411bd0 https://git.kernel.org/stable/c/61e756960f715a29fc7f595650e3e5ecc1f7579c https://git.kernel.org/stable/c/b9289740d2292f02a925f1e34607db678c91000e https://git.kernel.org/stable/c/97faad50e37e5de90eea4f1fb132576b7f9211db https://git.kernel.org/stable/c/420bed9131dbbe37abe9d6b32af51219875811e0