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 683E548A2B1 for ; Fri, 25 Sep 2026 10:41:35 +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=1790332896; cv=none; b=iKthSEt0KAD/+kcPDtiKLWjqd+NL+SJWaksMD67PHP003wBzo6tGO3Vj+JaBI7ZfkipFGqVQEtYo7hM5w8zmyjhQkIH9ET2YdsyAD96xVilu5dNkDPgjTtlTiVYhOYzNUdZCW7yPUSXfpxSKCxSXO7/HiN1KbO9VJoeagyIP/Ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332896; c=relaxed/simple; bh=m9AytwgHsFePdFtKGN6Ch+KNMzIsTv9uy7yjViLedBg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a959fvIw+0m+EVOTJKvhicPW9QHJ2zbXaIuQrzIs+95j7zI/2yoRhB1ysGfdFQZy567WcTIW15qb85q2NGwBuYt7GFHt6OnXeSh96PPNiDrnjCXpyBUq1ZpA5oEqw+GLZiQd/dbosFvWtnWtdXkOgOkeYDBw4aEFjGMRYFkOuko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TWwsms5c; 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="TWwsms5c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D901F00893; Fri, 25 Sep 2026 10:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332895; bh=BW62NSHy+IeKCKTBznv7MuufpwHHxj2YNjLm7Q966UE=; h=From:To:Cc:Subject:Date:Reply-To; b=TWwsms5cUSxA3UlX4PhMKjb4UBpSrlj2AdJnmWa7gmsRJTZ3BLhaY55SPHKGvquxz xe7CMqsBgz41jPqNAACRpwLVsh8d2rGqGTPNDX3tOqW8rQ4vr1XD5JySsoOLqAENNj ZuMna3IN6LW6ktxITF+DjCNjwfmxIilibO29Y7dI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98143: accel: ethosu: Don't read the U65 rounding mode as a storage mode Date: Fri, 25 Sep 2026 12:39:50 +0200 Message-ID: <2026092517-CVE-2026-98143-6014@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=2612; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1rB58lPPA8p0cFuVYHud7lVxP08j0Urnp/T7ehUUPgE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/EMze77zL/1roZ4Vc/9am+ipCj5D36Qnvc6XvKa1P vE22PO0I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbiMINhDl/KAsbUC8tXCayp 5OE76XP4R8syJYZ5ygp9eh9tn59yTtC4bPT9w9KXr0+dAwA= 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: ethosu: Don't read the U65 rounding mode as a storage mode Bits 15:14 of NPU_SET_{IFM,OFM}_PRECISION select the activation storage mode on U85 only. On U65 the same field holds the rounding mode, and the command stream parser has read it as a storage mode since the driver was added. That went unnoticed while unknown values fell through the switch, but now that they are rejected, every U65 command stream that asks for natural rounding (2) fails CMDSTREAM_BO_CREATE with -EINVAL. Mesa emits it for average pooling, concatenation, split, unpack, strided slice, LUT and argmax, which is 72 failures of the Teflon test suite on an i.MX93. Truncating rounding (1) is misread as well: it picks the two-tile address path and computes a bogus feature map size from tile bases the command stream never set. Read the field as a storage mode only on the hardware where it is one. The Linux kernel CVE team has assigned CVE-2026-98143 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b and fixed in 7.2.7 with commit 6b08adbda8ea797849e3654ce12cb3856ce6051a Issue introduced in 6.19 with commit 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b and fixed in 7.3-rc2 with commit db9deec5a345abc538d081fb221dc0b00a9695bd 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-98143 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/ethosu/ethosu_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/6b08adbda8ea797849e3654ce12cb3856ce6051a https://git.kernel.org/stable/c/db9deec5a345abc538d081fb221dc0b00a9695bd