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 A0A3B4AF173 for ; Wed, 16 Sep 2026 10:44:10 +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=1789555455; cv=none; b=nEuUYuOxuJqlGETD+PCeRZqle2ry09Xn7zRmzsxPiv1hMQ1NJot/H2VTDpYUvQ1S0moAbMGytSo1LYpNiVKtgFQlSR5KN5+OUpSnzdCvPyFTgMI1gbH4r8cmH8tWaTbC+BtImVEbQ7G1O5b+u5dXIzMN2AmrtdYK+uPLmZPKDu0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555455; c=relaxed/simple; bh=oF+YHadeMiZ3K0iaC3i10YsybyKYkPrKIUFy2WCdVMQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TdJxRQVUo7ykif5RLoEzoCxQnSkEmYnaXkMlj5PejL/qiFDj9SnAty4c90ttaDhNLZZT6yyDTMJmZvubBs2OnPK3UHgGrw3E4GhBFW36j9CsUgopOjfS0CNVsXMbU4wmnXjvGoPZfu3toxwvF1ApWr6vBERp7oshGA/ewV25dJY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L8xVZbwV; 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="L8xVZbwV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A41331F0089E; Wed, 16 Sep 2026 10:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555450; bh=lKbYqrxPIw11WQY5oJ6wL+MC2uPNrc5UpiiOyGv93vQ=; h=From:To:Cc:Subject:Date:Reply-To; b=L8xVZbwVtQSfLUyK1dr064s5sTzoYQmvSxLgueOsEQQmM1jv4bG8YOL5KfYunvS6y fpyUsrnflLXIpbnd+dPXkBSkEgs7jZZ2YFDuqyzANWh8W32LGtfEjzDNpefeBun3qk JpoNVdcJ0ABktB2o9A6n9sk1zNkhvdruYDtg+gLk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89978: accel/amdxdna: return early from a zero-length flush Date: Wed, 16 Sep 2026 11:31:48 +0100 Message-ID: <2026091655-CVE-2026-89978-46fd@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=3066; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XytLmlyM7Mt29lNyjRv1I3l4LJ/gLUcHyg3Dx1eIVok=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8hdzZc0I4H+xxYfRfL6KbVH9+wUSbF93c1686ieud NKtizuuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSy8Uw38cuezpLwO+jW/4+ nHd51brNCuct7BjmGTrG229w/Lxw/5QzcawmU78ZrYqdAgA= 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: accel/amdxdna: return early from a zero-length flush SYNC_BO does not constrain its size, so a request for zero bytes reaches drm_clflush_virt_range(), which ends with an unconditional clflushopt(end - 1). For an empty range that is the byte before the mapping, and abo->mem.kva comes from vmap(), so the access lands in the guard page below the vmalloc area and faults: BUG: unable to handle page fault for address: ffffd16fbbc70fff #PF: supervisor read access in kernel mode Oops: Oops: 0000 [#1] SMP NOPTI CPU: 7 UID: 1000 Comm: sync_bo_probe RIP: 0010:drm_clflush_virt_range+0x3c/0x70 Call Trace: amdxdna_drm_sync_bo_ioctl+0x124/0x430 [amdxdna] drm_ioctl+0x301/0x4c0 __x64_sys_ioctl+0x115/0x2f0 do_syscall_64+0xa6/0x3d0 Any process that can open the render node can do this. Reproduced 3 of 3 times on a Strix Point NPU (1022:17f0), by calling SYNC_BO with size 0 on an AMDXDNA_BO_SHARE object. The import arm takes the same request but flushes the whole scatterlist, so it survives it. Nothing needs flushing for an empty range, so answer before choosing a path. The Linux kernel CVE team has assigned CVE-2026-89978 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit e252e3f3488a49267e08ea7d972ac5ba3f2f1763 and fixed in 6.18.52 with commit 45962da5821d0a691f638ccb13842889156d8969 Issue introduced in 6.17 with commit e252e3f3488a49267e08ea7d972ac5ba3f2f1763 and fixed in 7.2.5 with commit f00def884a831dc49eb659dac2dd09dbfd21e67f Issue introduced in 6.17 with commit e252e3f3488a49267e08ea7d972ac5ba3f2f1763 and fixed in 7.3-rc2 with commit dc14753664240cedf669623b27ae9922b0618b25 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-89978 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/accel/amdxdna/amdxdna_gem.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/45962da5821d0a691f638ccb13842889156d8969 https://git.kernel.org/stable/c/f00def884a831dc49eb659dac2dd09dbfd21e67f https://git.kernel.org/stable/c/dc14753664240cedf669623b27ae9922b0618b25