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=1795100843; b=oq7OLd9hDWgV5CBNtuFusGgYLrjyErKsQf5VfJseApNLNCF6kwLFS1J0XpWjfzYQDksF tppVS47oq4xNCtKG11ix0IjNoDkCwRU5hLbiLT++YFn8A+S8WJ0pCY4P52u1s75NVY278 RsXDLaSgg7zpCwLkTY6PrneizVBHJTWw6uXFf+9b878S+g1Rs/rYob0Tt1gU6PiJTtmy/ yTuBvBY9ikFMX+npLDQtHj9TPZKsambMjUOAUKMEPATW8GaidUEUceDxWJS9wxPPqqzG+ O9dYTDZYAuLvlYvuj+wz4XNojuZ9lve+OztrGFS/shjXZntDLBB0Jxu/XUcSGS0A5/A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100843; 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=OH2HtOVXZUIoactFBoEdBZvmdEs3e1KxDlL+azkmRtY=; b=jor3+4Ps74YC5aGfrtn4izII454FnG3sOmd6UA9hb7WrR+uk9Ukd9O4/qzpy6xi2rT3M PEER4c5DkXGrSjgaJyc+QrPNZ21WAp5Q3BaGQUkWIzPlZKMDOc8tSgdIoAMbZeZsXS0oE q+NgHNtSo+7IkqfC+raupVld/SnZQzh9nX0zYRIM6pr7kDWTon5E0ISoCVSrd7vONnurB WgKHIdapkxCc/S40k6PyueY4Rlzx/JQtDKeUstPDrarbmdcealS2pGaiYwE14aio/MIiI EKVqZsQl3crJu0a2x1ueYij5tIhUWYEjf4DvFkyFlLF834hs5Bmccu95v7EsGUIcUFQ== 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=uAbaAgrF; 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 A4B9E606A334 for ; Thu, 19 Nov 2026 15:07:23 +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=uAbaAgrF Received: by smtp.kernel.org (Postfix) with ESMTPSA id 277641F000CF; Thu, 19 Nov 2026 15:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100843; bh=OH2HtOVXZUIoactFBoEdBZvmdEs3e1KxDlL+azkmRtY=; h=From:To:Cc:Subject:Date:Reply-To; b=uAbaAgrFcBAvc6A5JeLOSihYvkgBA7jTmPQwEMUiCVVHxi+pmcAUzpK9jj+X3zvIw GJbsdK0QN1W0kvHR2lDBBZ5FsKbRAltiVbQXUwRnUkO3gIu45nAKAVDkTwiMMpXQKz TkOHy8ZOABQBSa+osgOIlIfhm+9Yio7QVM8FBo5s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99559: ARM: 9524/1: mm: align hugetlb mappings to the huge page size Date: Thu, 19 Nov 2026 15:27:37 +0100 Message-ID: <2026111928-CVE-2026-99559-2edc@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=2943; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JFLazJv2Uv2cY0D0ITKa1TA/TIs3IVs9KNbZPUmLC34=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2eZc1X11ZIbAFpcd/R8ajuX+1Au68OTqnPYfUq6LT q92NxO16YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ9LszLFi02fkbb4eQ4+Si Y5xXmo715oufrWJYcO51nJS0nf4+v9kf+KUrb4vOz+TRAwA= 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: ARM: 9524/1: mm: align hugetlb mappings to the huge page size mmap(MAP_HUGETLB) on 32-bit Arm can return an address which is not aligned to the huge page size. In a QEMU virt guest, unmapping the VMA then hits the alignment check in __unmap_hugepage_range(): kernel BUG at mm/hugetlb.c:5213! Internal error: Oops - BUG: 0 [#1] SMP ARM PC is at __unmap_hugepage_range+0x540/0x584 LR is at __zap_vma_range+0x13a0/0x1410 Commit 7bd3f1e1a9ae ("mm: make hugetlb mappings go through mm_get_unmapped_area_vmflags") made hugetlb mappings use the architecture's arch_get_unmapped_area(). The generic implementations handle hugetlb alignment, but the Arm implementations only account for the optional SHMLBA cache-colouring constraint. A 4 KiB-page kernel can therefore align the mapping to 4 KiB or 16 KiB instead of the required 2 MiB. Set the alignment mask from the file's hstate for hugetlb mappings in both Arm implementations. Huge-page alignment also satisfies the SHMLBA constraint. The Linux kernel CVE team has assigned CVE-2026-99559 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88 and fixed in 6.18.61 with commit 277157864856d812c82f1ca8c156b392d368b8c7 Issue introduced in 6.13 with commit 7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88 and fixed in 7.3.2 with commit 8602ec8effb019d7db38d3c234d9d7305ee429a5 Issue introduced in 6.13 with commit 7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88 and fixed in 7.4-rc1 with commit 1eb87d8f77379d4e4b279487b8c859fb64bd1afb 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-99559 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: arch/arm/mm/mmap.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/277157864856d812c82f1ca8c156b392d368b8c7 https://git.kernel.org/stable/c/8602ec8effb019d7db38d3c234d9d7305ee429a5 https://git.kernel.org/stable/c/1eb87d8f77379d4e4b279487b8c859fb64bd1afb