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 C2CF03CEB8A for ; Fri, 28 Aug 2026 06:55:03 +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=1787900105; cv=none; b=I/GkjwFXBYijHXjQk1J1i8rBRTB/hb5VQWAmFIXqxZYr4KF806QmnJTa3offKFCHCi1+Ehr9fDZhrX9nCZWyfIB8OTfRvLRUega+ueIozwJVhZ/++mrv5A7SYm0ngEskiwn/G7KK+eZIGqzL5mCbZO0srakq029npzp8i9uJbTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900105; c=relaxed/simple; bh=x9yqjaIqtgXf2txHjZq+JMtcPPnrOrFyATEjCkq3KY8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PlyEADXsmQhj5+nK47/gRe0h7c82A1DC0ss6gGWejkqATvWl3ayTPI/Olk0XwDxAK3qqalPjAcA0hm6s1qbtEF90B0NM6iG6nVKaDEONsQc+3JbdBSDtF4DNp16JEP1uZ8j0hv4aqs0Q+kJDMOyovZstS5ZKz8Vf+fPLQS9lAOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EcxVDukC; 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="EcxVDukC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6D761F00A3A; Fri, 28 Aug 2026 06:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900103; bh=ijkIyfmuC8QaHdXzx0o5vKh5SpRMNOpOdouqxZdyD44=; h=From:To:Cc:Subject:Date:Reply-To; b=EcxVDukCzWpl8TNmKuiiNsghRlpq1F8pPJfte1ZKczREBw3ZLZz/FfvDjVC8amSBS /88LK/LvZAoDxNx1uzRDAbrmlwVEwnoj6eOA91tT6m3NB45DUXz/5TDYtqpI4a3CTK 5B+NYFzzyySHN9e07clBHEcFtolH25DDyIeSnkME= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80686: mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE Date: Fri, 28 Aug 2026 08:53:09 +0200 Message-ID: <2026082802-CVE-2026-80686-a4ef@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=3035; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=he8X2qDV+/yQkUQqh15Xq59e3M7eFybYrMexOIZ5UfA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDfzqZ0w/+ibvulTm59N5KyLc7fefctq/IIghmWHd/ aKOU6W/O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiE24xzOGLWfy+7/yUfTKC Cxff2pupNleW/wfDfH9hAaOUmBWnXXm0tPvrrZMF5Sc1AwA= 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: mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE pte_pfn() and pte_dirty() have undefined behaviour when called on a non-present PTE. In migrate_vma_collect_pmd(), these functions may be invoked on non-present entries (e.g., device-private entries), leading to potential crashes from pte_pfn() or incorrect dirty folio accounting from pte_dirty(). Fix both by guarding with pte_present() checks. The Linux kernel CVE team has assigned CVE-2026-80686 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 6.1.184 with commit 26f9ca8ed42cba25d2c75daff13561cce6019395 Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 6.6.153 with commit 5b948706f11a950bc73c5304630d0a7eafc40daf Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 6.12.103 with commit 86d55447de3738620b9a8272ff167ce97e7f7203 Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 6.18.44 with commit 2be94d6b20789b8865b1864dae5fe458ca85e019 Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 7.1.8 with commit 42f30fa5481a1f90571ccdfbb20d2e25e47ae76e Issue introduced in 5.19 with commit 6c287605fd56466e645693eff3ae7c08fba56e0a and fixed in 7.2 with commit 63867c82d0c0c2d182016a32b1cc0103116b0ea5 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-80686 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: mm/migrate_device.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/26f9ca8ed42cba25d2c75daff13561cce6019395 https://git.kernel.org/stable/c/5b948706f11a950bc73c5304630d0a7eafc40daf https://git.kernel.org/stable/c/86d55447de3738620b9a8272ff167ce97e7f7203 https://git.kernel.org/stable/c/2be94d6b20789b8865b1864dae5fe458ca85e019 https://git.kernel.org/stable/c/42f30fa5481a1f90571ccdfbb20d2e25e47ae76e https://git.kernel.org/stable/c/63867c82d0c0c2d182016a32b1cc0103116b0ea5