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 8859135AC37 for ; Sat, 15 Aug 2026 06:12:44 +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=1786774365; cv=none; b=bwxa4WF4Qu4qw1dDaKtC/ua/SU3z0ZFAdc5KgH1SxnjVTwdKCuk5DZBcnCyuNkyDjRKagMCfQZKlkXo7XAouj7EDOI+aKXNcud+VO3Tx5fDBDsr6NMl1DxAE3yL2ajINDsA7ZHvDRxY8d8pj05egPKByVm3yRAD0PDDRrjR3JvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774365; c=relaxed/simple; bh=K9l0ACo8VNixgZkLx79+5O+8yhJ/yxKJvq8e7/VYWwA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kC0rLuWxkuRHl+KsVhpe1MqfUkE7xf0i+9bY8QTktvkipmk9ilyDMUQ0ugTtn5kw8FEQOsZgVCbGoSWPCro8XgwmSKO+tQ6b+595xyKqGNg1jhP1X7mk4WriUQKw1BD6nQxok58xmsLxPSsdkMC64vtmI4pzItNh+vGxj9nWGOU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VWYVJ4aW; 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="VWYVJ4aW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7A281F00A3A; Sat, 15 Aug 2026 06:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774364; bh=7QR8ZjRbeS2aV4HYeNTOUxtwmn0LNuYGGOnG5L3Us68=; h=From:To:Cc:Subject:Date:Reply-To; b=VWYVJ4aWhg2U03jrv+UFE8rTjjEhQX39D5lOIlpaJyhqvf5JGRKv+mktYfATCC3ac 7AS2NgD2Hjf5dMMnTJAUcqGeUE3azHQNSGbEf9mpu/0In15ABOxk8IxHx30gPSmcAg xeFoNix2Nm98J2TCp00l88HRwmDd3VbhTQ6P6ma8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72091: accel/amdxdna: reject user command submission without a command BO Date: Sat, 15 Aug 2026 15:02:50 +0900 Message-ID: <2026081523-CVE-2026-72091-a3a2@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=2891; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=L5CU0//PbIbBipUMSPUT93PVG/Fi43ip6yvbikydS9c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDJsDgtJCMqPitGYevby64rxu2+EbVg/5t0+KX7Ipn CW/wMCtI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbywZthfl1FL/fDuSsqt7yV X2DymvPc7n/bpRjmx+ze9+jeodR7K9S/H/q8TK4p+kzVEwA= 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: reject user command submission without a command BO amdxdna_drm_submit_execbuf() passes the user-supplied command BO handle straight into amdxdna_cmd_submit() with drv_cmd == NULL. When the handle is AMDXDNA_INVALID_BO_HANDLE (0), the block that fetches job->cmd_bo is skipped, leaving it NULL, and no check rejects it on the user path (the !job->cmd_bo guard lives inside the != INVALID branch). The job is then armed and pushed to the DRM scheduler. aie2_sched_job_run() takes the drv_cmd == NULL path and calls amdxdna_cmd_set_state(job->cmd_bo) -> amdxdna_gem_vmap(NULL) -> to_gobj(NULL)->dev, a NULL pointer dereference in the drm_sched worker. A process with access to the accel node on a system with a probed AMD NPU can trigger a kernel oops with a single AMDXDNA_EXEC_CMD ioctl (cmd_handles = 0). Only internal driver commands (SYNC_DEBUG_BO / ATTACH_DEBUG_BO) legitimately pass AMDXDNA_INVALID_BO_HANDLE, and they always set drv_cmd. Reject the invalid handle for user submissions (drv_cmd == NULL) at the submit choke point so every user path is covered. Found by 0sec automated security-research tooling (https://0sec.ai). The Linux kernel CVE team has assigned CVE-2026-72091 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.1.5 with commit fff6509d976f6fae423a5236391ccdbd7e0e9f06 Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.2-rc4 with commit 261c1fe3327ad24508f54552c6366e3e4db82c15 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-72091 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_ctx.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/fff6509d976f6fae423a5236391ccdbd7e0e9f06 https://git.kernel.org/stable/c/261c1fe3327ad24508f54552c6366e3e4db82c15