Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758845; b=JJNSCzuK4/heoR8f73O6Fd+gRVRSu0Rjlsj5jejSIQoj3TwVQxl6JcLRv5xS5Bit8fG3 uEbfjuWsVS8Y8za5PFDxFvXVAsETrLsrwwtMsOVZAk4YQepv3Bc2fabq5XaDH01aUwg4B NzYucD8CSZRXHoBaiABUQc0UhskGkBKxAdZbUGbGlRaFO632SMPmF067V5zMxjn9StfSg D+nTmzTUXw4cpWDb6EyOCsqSHj8a+LfEaGQ3UsCGDoXb/8lyX10CFngjPllKGPfmSAnT3 TX6/EXC8f8dQgDxXL5wCm7m8Hp0jaFqRfSkWt83qLLPn2RZ+LioNN/dRL/xZYi944vw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758845; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=gDLrDoHqw2MgR0lt4p4NcZrx8NPhM6/So6rRp32Is5Y=; b=spTxKJahHSLJWNGPOD/TgayUzJmcvMnubmLbHKkEvpmF71tLBfOwpPjXiNX2NDxOG/xU 14WC+odrJw2A1vTHiKRTDommYmrdVAflCr1pvyhV4nhp7lcV3xUdr/6Yzk9xrhNviRYvP R8HVSP/Nw9qyOGErlYt/0K5oXBDB8HUXe1QzoBxlyXQH6QLt7VePD6ZIlHbpCgGWEHBhv p0xHeOHkCzKKz8Al+nbK5dFCzcc/mkAvUKSiDGgZmv29ETEy7q5rbXnTpaPffnVfbcvmE SqQkxKtb9Xi+u3szU5w8K5p4HaPTEsZcSH3ub+74j6poWiXvDj+xEaO9Ad9rUvQyYzg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZTA2zxNm; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D006A606A332 for ; Fri, 23 Oct 2026 12:34:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZTA2zxNm Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ADFF1F01825; Fri, 23 Oct 2026 12:34:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758844; bh=gDLrDoHqw2MgR0lt4p4NcZrx8NPhM6/So6rRp32Is5Y=; h=From:To:Cc:Subject:Date:Reply-To; b=ZTA2zxNmktViEGFVyC2dVYLJyDFsVfcTveU3DLFBdPuC7SRgMTMd0TxPdOKS4wymz eEo/ldpyPL0vSUt6mN8Ft6hHV/zDEMtjR9iF/ebb1/f8mVq9A3MbzjRC09/NGqq4iA UIMo85MAvG2vahPhhuLIinRDI2bvGoM/fVy4voH8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99003: drm/panthor: validate userspace queue count against initialized firmware slot count Date: Fri, 23 Oct 2026 14:20:05 +0200 Message-ID: <2026102318-CVE-2026-99003-4925@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2860; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LIbMQcyuqCMIOHpuGSY/wPz4uhl0hMYDRfO61C1h8J4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A45ZrD7x43p98u1Kbz+LRpXNp7TkFv2+njzHo6Zns /TbNlnVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIfSPDgt3iAXP23Zh7/taL yT7KJdZ/fof4GjHMj2l6Ex4v+uC98U0bU5nN7g5LD6nfAwA= 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: drm/panthor: validate userspace queue count against initialized firmware slot count In panthor_drv.c:panthor_ioctl_group_create(), the queue count is validated against the hardcoded maximum: if (!args->queues.count || args->queues.count > MAX_CS_PER_CSG) return -EINVAL; However, if the firmware reports fewer slots than MAX_CS_PER_CSG, panthor_fw_init_ifaces() will only initialize that smaller number of stream interfaces. If unprivileged userspace requests more queues than the firmware reported (but no more than MAX_CS_PER_CSG), cs_slot_prog_locked() fetches an uninitialized stream interface and may crash when dereferencing cs_iface->input->ringbuf_base. The Linux kernel CVE team has assigned CVE-2026-99003 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.12.113 with commit 4487cf79bf173f2b426a02d102076f8a20d23b96 Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.18.57 with commit fdee3570b282a6c8699aea63fa5694355e010ec9 Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 7.2.11 with commit 9be126be5f78bc331a930295af97c9b1f9158f06 Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 7.3 with commit ec86c43dcfff68eab4db9bdafcd3e2b16e342e18 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-99003 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/gpu/drm/panthor/panthor_sched.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/4487cf79bf173f2b426a02d102076f8a20d23b96 https://git.kernel.org/stable/c/fdee3570b282a6c8699aea63fa5694355e010ec9 https://git.kernel.org/stable/c/9be126be5f78bc331a930295af97c9b1f9158f06 https://git.kernel.org/stable/c/ec86c43dcfff68eab4db9bdafcd3e2b16e342e18