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 03DB83E0258 for ; Fri, 25 Sep 2026 10:32:16 +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=1790332337; cv=none; b=L2sPTyQE7tRX6q/wYUU+MA7TTk1XgkKTvX7zvA3eGV1DpbUJ+OD/IhfSTrY0nqYiFnCra+fGgfPXa1St2vyoTcq2O1rmrpsw6gK+sTCeJJUIc2fcd757i7A5WZy2rePZtU9SaFafEEi92mWq4U79Vi5bZFzjQKeL66c8lXUBcEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332337; c=relaxed/simple; bh=qDfJqO5XuIfxNOqfhnlapBeHaYdk4TUzQR4QVrovFyw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TMSoDp/+oDZov2qSPUiG4r4LKSQK70YJXK58i1SXnATcEQ/92p7nHv5nWZed3cL95BI/r2JvJ9ucIx/ycTYLxw7tOA2o6YJy90khFmALi12CLMR1ZL8bUuXwbulVp7OslZ2/dzOa2Vv9rt7diFfJ8S0vtbSSm5DXBbvbnKlFeRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hts9hMIr; 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="hts9hMIr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EE371F000FF; Fri, 25 Sep 2026 10:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332335; bh=+JMwV/HiO74FxO0wwEYsJvLIfq9QbuQZ+4ADJu8LTv0=; h=From:To:Cc:Subject:Date:Reply-To; b=hts9hMIrPQ6nM7lybG5lehbfapgBlIOMsUZMHAK/9mO59uKp/Q8IOuqDlxz9cUQ1h tjwAeCKJvaGGo0gsMxbcsUmGLtyAWpFmTrjLz5NP9fOZZ3Oz+TY8qCRhIOnk8j4jXv +HJmeH9WTsPwumNdvM6koqXCeXwCrOzSeFg+mGZg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98003: iommu/amd: Do not reallocate GA log buffers on resume Date: Fri, 25 Sep 2026 12:25:05 +0200 Message-ID: <2026092523-CVE-2026-98003-0f00@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=2651; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2IRSSNSbtWpPhXO4SoW3YGPmU+oog1TqJynJcoOu+zo=; b=kA0DAAIRMUfUDdst+ykByyZiAGq2S1+i5wQhylyslOEWYiiUM+ZO0oD+55c/ga+sZXpLmc36X YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmq2S18ACgkQMUfUDdst+yl62QCg1BFY t2WB7DCMc0Y6Wu+tI//6SLwAoMXYNp2gwVDPUYc3aCWcIm5t4ggX 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: iommu/amd: Do not reallocate GA log buffers on resume Commit c5e1a1eb9279 ("iommu/amd: Simplify and Consolidate Virtual APIC (AVIC) Enablement") moved the GA log allocation from iommu_init_pci() to enable_iommus_vapic(), which is called on every resume. iommu_init_ga_log() assigns iommu->ga_log and iommu->ga_log_tail unconditionally. Each resume therefore replaces the boot-time pointers and leaks both old allocations. The function also uses GFP_KERNEL from a syscore resume callback, where interrupts are disabled and the non-boot CPUs are offline. Return early if both buffers are already allocated. Clear the pointers in free_ga_log() so a partial allocation failure cannot leave ga_log dangling. The Linux kernel CVE team has assigned CVE-2026-98003 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b and fixed in 6.18.53 with commit 94458b80d3b203c1c9e2c98aa7319b7713e006c0 Issue introduced in 6.0 with commit c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b and fixed in 7.2.7 with commit b6be275d19cee01f8f1f08a2ff18337103d05d40 Issue introduced in 6.0 with commit c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b and fixed in 7.3-rc3 with commit 00a7dd64888d6dd72110b40e2824a088cf7b7386 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-98003 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: drivers/iommu/amd/init.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/94458b80d3b203c1c9e2c98aa7319b7713e006c0 https://git.kernel.org/stable/c/b6be275d19cee01f8f1f08a2ff18337103d05d40 https://git.kernel.org/stable/c/00a7dd64888d6dd72110b40e2824a088cf7b7386