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 F1DAC3DDAF1 for ; Tue, 6 Oct 2026 10:24:15 +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=1791282257; cv=none; b=VhjFHxVRN4F32mTH56R00ay5fret2Be+0HA9lfONK7N/JpwZf6QWYm3K+7XEGPdvjf02vACl5oGsMA2fyVQE2DEILmXArEeNaKwLoiIl1wynsgltDjqh3cWEvTqG/9oNOtwMmhTBcZwK4aoJt20o61m9aFkE1AKBdXG4CjzlTJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282257; c=relaxed/simple; bh=74T8UQIABn14FudwlSuBZ5a0al5nfy2W1k9Oe/wNNfQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N2/z9PkjNQ08jnWRIiRM0OIRJ/brPwjdLqukW1786OzyI1fP0q5ImG8RGCPTWvdFn4lzIdn+iK96LPmNADni8D8+tOXgrGffwa1rjdauhPqmhjBREcFViNT4YRk5tkXIUnPHgNedN3LfWclcPbObx6wxRe+kMH4WIjsqMb0tGks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GVGVqOBY; 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="GVGVqOBY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBD611F000FF; Tue, 6 Oct 2026 10:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282255; bh=oasn04mvB5YkhwZghqoWUa8mdg0AknHie5dyXhUbCSA=; h=From:To:Cc:Subject:Date:Reply-To; b=GVGVqOBYnK1psywMbUZneB42Uk9CVDfIQnSQEgJg7Sc6kTJpPQxMWncKmSCVO44nt DkD1wHEI14Yr6uVXi6n8xevgshU6u4v25WKxlvxkSfaCG9KH9Rtf0mAJGaE8WuMvNJ 8hHpfqRfO8lzMvosDO++5h1L7t1RWLB7dp/f7yEs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98249: arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc Date: Tue, 6 Oct 2026 10:45:50 +0200 Message-ID: <2026100653-CVE-2026-98249-90e2@gregkh> X-Mailer: git-send-email 2.56.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=3285; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/MNbhz0/iTgSD5skl2Yt1TYOMvlgsVBxZHpXx8iRLMk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtrJu318S+ezIkzecxuJ7syf4sDvr5r5J0EmvTovuv i9tdky5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyejPDgrWnG5tlducnrWCd bur0etvPGzYXcxjmqYnLenHJKndZLX97ijFS94BPSPprAA== 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: arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc swsusp_arch_suspend_exit() reinstalls the restored kernel's hyp stub vectors with an hvc, but never passes the arguments. x0 is not set to HVC_SET_VECTORS and x1 is not set to the vector address, so the stub dispatch falls through and returns without writing vbar_el2. EL2 is left pointing at the trans_pgd copy of the vectors, a page that swsusp_free() releases right after resume. Set the arguments up the same way __hyp_set_vectors() does. Without this fix, Vladimir was able to trigger a hang when resuming from hibernation with CONFIG_PAGE_POISONING=y and page_poison=on. The Linux kernel CVE team has assigned CVE-2026-98249 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 6.1.189 with commit 6646418d1032cac25110526161f60d255ed08397 Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 6.6.158 with commit 909e92423db7299e0206232051aa21fe129f65d0 Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 6.12.112 with commit 60a3c319f1127c4d247d4ed235c5d65376d5e745 Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 6.18.54 with commit e80ea8118a073a30ebe7a31bd78938c2b1751acc Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 7.2.8 with commit d3f8f773312af69eaf4dda106d76d6d42e4362e5 Issue introduced in 5.16 with commit 788bfdd97434982b6d575062581e8e72eea755af and fixed in 7.3-rc4 with commit 955d86e5f3b95b731991fdb84966c50b16314629 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-98249 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/arm64/kernel/hibernate-asm.S 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/6646418d1032cac25110526161f60d255ed08397 https://git.kernel.org/stable/c/909e92423db7299e0206232051aa21fe129f65d0 https://git.kernel.org/stable/c/60a3c319f1127c4d247d4ed235c5d65376d5e745 https://git.kernel.org/stable/c/e80ea8118a073a30ebe7a31bd78938c2b1751acc https://git.kernel.org/stable/c/d3f8f773312af69eaf4dda106d76d6d42e4362e5 https://git.kernel.org/stable/c/955d86e5f3b95b731991fdb84966c50b16314629