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 D49A54AD7C6 for ; Fri, 11 Sep 2026 19:59:29 +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=1789156777; cv=none; b=bh4IwKzq0IVzmtlrjyt8qEayT+wVYebUyPSfJEPyV0oawPe7ZvbOh6XMJ+R+aKTjoliFq5E7bP/ObQZDfzd5m1hoA4IgJZLKOHtYTVhjjlPtZTnCZUYtx53rLJ+L0D5KaoCfLEqL3rop3/AWsPs7TfpF0GtDBELwPnUp7VlHL7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156777; c=relaxed/simple; bh=LBV6SWtieinRSxJZAnTjCwU89xy9MMJMp0FAmBa/s38=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E26hkW+827CKH6R515B0I4WmBaOu59sRjCq8N2Y/vL0QtDJmciWWj5iO+tbtduhFQ6EUthCpyLu1pyMHIckSQBnaXSFvbjcfTT6Hzrg8zVCRY5kolmfHompFmwBYT09EjrGmTIkveiA+CUQKbcjtdHrYaprJnyYn+Qv5lRZT4F0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AI+TuDJp; 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="AI+TuDJp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F1511F00899; Fri, 11 Sep 2026 19:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156768; bh=p4UE7dH6xs6JXa7KhQBMuO8K42q3FHI3wN51Pn9Um3c=; h=From:To:Cc:Subject:Date:Reply-To; b=AI+TuDJpTZJGWIOSXDRXsM8eB1pECJr3Canp1RvgNgz5+XvUK0FwEBiAHJoJjYEiq OC43M6IF3xO7QWjSblpUzVQhuSOx1MQToffcskvIcg/ro98wNbU9M+EtFrdvZ4L+Yf VAUCsIav+ccLNOyxJFe6sMCjm7QVWbPTi0ABO3aY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89593: hugetlb: only adjust reservation during unmapping if mapcount is 0 Date: Fri, 11 Sep 2026 21:44:42 +0200 Message-ID: <2026091131-CVE-2026-89593-248d@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=2383; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0/otKmXxm5sPbKUcbiB5TVGlcWXBfGMjJOLRWiV/yYg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIrNro1IMk8vM2ndFFHxT4+EMijP9xcjmd/ADa5399 udR6/Q7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJewgwLrrl0HJgmsXRFsHST /Knzu9oSfmisYJgfkvt8y/baaG0rl2T2XzECxYaRP5gB 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: hugetlb: only adjust reservation during unmapping if mapcount is 0 Since df7a6d1f6405, __unmap_hugepage_range can adjust reservations. In the case of folio mapped in both a parent and a child, if the parent unmaps the range first, the reservation adjustment will result in an underflow of the reserved count. Once the child unmaps the range, the count is restored. Change __unmap_hugepage_range() to check the mapcount before adjusting the reservation. The Linux kernel CVE team has assigned CVE-2026-89593 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit df7a6d1f64056aec572162c5d35ed9ff86ece6f3 and fixed in 6.18.50 with commit a3c65af20cceb7f997847727636b4017326f845d Issue introduced in 6.9 with commit df7a6d1f64056aec572162c5d35ed9ff86ece6f3 and fixed in 7.2.4 with commit 0f001491e5a2ec69aa9d5dd6b799e5742245f9ea Issue introduced in 6.9 with commit df7a6d1f64056aec572162c5d35ed9ff86ece6f3 and fixed in 7.3-rc1 with commit 5120b1e048d48596ffaec1a8412012a91adba73b 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-89593 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/hugetlb.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/a3c65af20cceb7f997847727636b4017326f845d https://git.kernel.org/stable/c/0f001491e5a2ec69aa9d5dd6b799e5742245f9ea https://git.kernel.org/stable/c/5120b1e048d48596ffaec1a8412012a91adba73b