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 6A1C83B8949 for ; Mon, 8 Jun 2026 15:41:45 +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=1780933306; cv=none; b=P6o1LYgYNf6lu3EopDll8MxR1PJ0mJEJTvZJd8lYBO4Bqk92Kniduf9Qec07LSp0mMhGAcolC69jlZHf/x/HKxza2bZReQMxCejncgR0K/B7WfjzIlf7tZ5irV/BWCHS9aiXFxuDjTB7kJikhdi96o3hyzVU7BlqwT7sOSQAxH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933306; c=relaxed/simple; bh=2578DHKk6h9i4oUFL5GFJmrw9YB5GiFrik7qfqRaBLM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CWpz4wh9eN1dc7Bbtj0/I375jw0o0r7yIdZSg4297Xi3pctoeH66+paCzxQtBzgg2DP0vzaW2NUywIfM4wexyicvPgaLL4vsBYcKUB6idZlUFeb+cspCaqQ7yaKMIT/DDn8Vz9kktMmuvydgyfXO/vsgUho5K+QfjYHd9dYnaoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mQqawM+s; 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="mQqawM+s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BE1B1F00893; Mon, 8 Jun 2026 15:41:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933305; bh=UJUtYue9OejNQyl7ZNT4SIIk85BJnrCzwVT7tWpEc5I=; h=From:To:Cc:Subject:Date:Reply-To; b=mQqawM+s4AL6KjBUaw7CSpqAviJw9PQ1RIHhyofSmwxENM+lmBFd4DoRj6YC50mNB NPdd2JPZCa8HS1zPV1UpyEWHHsB5ZkjGppw6yglzprcdQZ2jNmKgEHrGgf6fVfuvGm sJOD+cptjm2eYILNe8adOoh0Cg6tIDUa3uBUlTvE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46277: mm/zone_device: do not touch device folio after calling ->folio_free() Date: Mon, 8 Jun 2026 17:40:41 +0200 Message-ID: <2026060841-CVE-2026-46277-f398@gregkh> X-Mailer: git-send-email 2.54.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=2047; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=usicbz/szFLurdN7XBWVU9OKINe1rYQPyV0HX+Dzs/I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqjypnPbK6ukD+aPblrqVT/JIK9t3WZzsRtTm1c+Zr/ x9SS9e/7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJlKsyzBU1cpHeO5Ov8pvG 2fgclY6b1hlNXAzzSwPvHjymLrrg47P0mNNnmT3r3qYuAwA= 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/zone_device: do not touch device folio after calling ->folio_free() The contents of a device folio can immediately change after calling ->folio_free(), as the folio may be reallocated by a driver with a different order. Instead of touching the folio again to extract the pgmap, use the local stack variable when calling percpu_ref_put_many(). The Linux kernel CVE team has assigned CVE-2026-46277 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit d245f9b4ab806733a77e51a218ca7b8bc3135cd9 and fixed in 7.0.4 with commit 85be0a262e39c706edb53c88af8afde2e98222ba Issue introduced in 6.19 with commit d245f9b4ab806733a77e51a218ca7b8bc3135cd9 and fixed in 7.1-rc1 with commit 39928984956037cabd304321cb8f342e47421db5 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-46277 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/memremap.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/85be0a262e39c706edb53c88af8afde2e98222ba https://git.kernel.org/stable/c/39928984956037cabd304321cb8f342e47421db5