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=1795100045; b=XtikkmuYYT4BHeOyKZsPoNUJ+ZIKe0phUStiyL+hjXHMWp8dlHp0YxRtlwKfiPOQybwU gWNlP2cGS82FEKgkoVVgYrf+fhQ0jC0cQ++dcHNC7vmrP95Ee6ydMoWnkPoSa0eY+4Tho Y42zcl72yy+sLN40DnfO3C25O2E7sr8pZcYfC5GfoZBT1lXEra1MTSbOJOrLslucDWfKZ 8m/JAJe2OJGJ3oSP12lYuFe6wIxjHV03l9hsucx8wEvl/bOvC+sQAT23fswv3AMKIGami Ix/lywMokbLkVvjWBfwCGw1i1olyftA9mG019ZO0LHiyTpSO/SjaJZM44+NXuEEf5UQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100045; 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=0Bk7RP1RwcK6fyx3NDbXE+LTA4fMV6lWW2AjiCM5L5o=; b=I43/ddOTGW9SVkGYXqtPJcuMfUjIWyeCZpGyi/m/YMQyQvbS4/42EExD05Q3SlGVj0gO tfbEz12CA3ZGyeCOPsX9RYY2dTqx3CCyKnnl/XP5kJayaPJ8uEq5i2i0w/fcTUkXMyDJc m06ioYUwOhXUYqXwRXstELD+0DJg32YxUBgu59zOn+MQREwJ8XetyXXMBoxORX74XeKXp LP99+Cv6KWPxTtW8vkiMyN9aZM1UPM+ytcLZEXVl7VBQCDZcbzu92x312uI0HnV28eJhf ng+a9HuZSl1K1EZa9waX8w5scWRIhwuIbykNVfZ/orEwZ0YRJ5yBA1nmfYHqkN02m0A== 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=0PfKsckK; 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 1B330606A320 for ; Thu, 19 Nov 2026 14:54:05 +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=0PfKsckK Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E0D91F000C5; Thu, 19 Nov 2026 14:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100045; bh=0Bk7RP1RwcK6fyx3NDbXE+LTA4fMV6lWW2AjiCM5L5o=; h=From:To:Cc:Subject:Date:Reply-To; b=0PfKsckKzwYVTMJJ1hxPvYTjxRQzJsTch3lbVp2siy2ATLIsqn2gm1QXK3Aa8uzFS J0CiGiy8A00h6MmnJxqGEGRb7PqzLMw8PusdbpgM8i+edtjEzA9PjU3co8UX9fhSqV 6K4ikqwsHsIu3N+otSRJlbIgDIWmZMNELLFtnL5o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99462: mm/truncate: look up the end-edge straddler by index Date: Thu, 19 Nov 2026 15:26:00 +0100 Message-ID: <2026111909-CVE-2026-99462-b70c@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=3318; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aP+Tl8y3P2BDYtdRfRPtd2UMXMON9ac2HQ8z01YV5Os=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2TqP8F2588fiW4x9ff62C+sOWvm++fNv5dQNue/+h FxyP3Q/riOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmsvMkw1whUz47/vV/c7ZO N5/Ese6y0v0ab1mGBdsYfk//MONqN3fNu9auqCrNp8YGTAA= 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/truncate: look up the end-edge straddler by index In truncate_inode_partial_folio(), after the first split at the start edge, folio_split() unlocks and drops the refcount of the after-split sub-folios. The sub-folio straddling the end of the truncation range is therefore unlocked and only transiently ref'd in the page cache while the code still derives it from a page pointer inside the original folio. Between the first split finishing and page_folio() resolving split_at2, that tail page can be reclaimed, freed and reallocated as a new large folio in the same mapping at a different file offset. folio2 then points at a folio that does not cover the end boundary, yet folio2->mapping == folio->mapping still holds, so the stale pointer passes the mapping check and folio_split_or_unmap() splits a folio at a wrong position (or, with a transient refcount, a use-after-free window opens between try_get and the split). __folio_split()'s own folio != page_folio(split_at) check cannot catch this either since split_at2 has been reallocated as part of the new folio, so page_folio(split_at2) resolves back to folio2. Look the straddler up by its page index instead. __filemap_get_folio() returns the folio currently covering the boundary, ref'd and locked, with the mapping validated under the lock, so the split target is always the real folio at the end edge. The Linux kernel CVE team has assigned CVE-2026-99462 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 7460b470a131f985a70302a322617121efdd7caa and fixed in 6.18.63 with commit 0fab93d241cfb6f3aae29530a9a214157bb64087 Issue introduced in 6.15 with commit 7460b470a131f985a70302a322617121efdd7caa and fixed in 7.3.2 with commit 863ecacdae9ebac39e25a3e90e6cec3e86bc856a Issue introduced in 6.15 with commit 7460b470a131f985a70302a322617121efdd7caa and fixed in 7.4-rc1 with commit f47dee903b9f0f1e4e7181e8a398a7678cabf0a5 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-99462 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/truncate.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/0fab93d241cfb6f3aae29530a9a214157bb64087 https://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a https://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5