{"id":"CVE-2026-99003","summary":"drm/panthor: validate userspace queue count against initialized firmware slot count","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: validate userspace queue count against initialized firmware slot count\n\nIn panthor_drv.c:panthor_ioctl_group_create(),\nthe queue count is validated against the hardcoded maximum:\n\n\tif (!args-\u003equeues.count || args-\u003equeues.count \u003e MAX_CS_PER_CSG)\n\t\treturn -EINVAL;\n\nHowever, if the firmware reports fewer slots than MAX_CS_PER_CSG,\npanthor_fw_init_ifaces() will only initialize that smaller number of\nstream interfaces.\n\nIf unprivileged userspace requests more queues than the firmware reported\n(but no more than MAX_CS_PER_CSG), cs_slot_prog_locked() fetches an\nuninitialized stream interface and may crash when dereferencing\ncs_iface-\u003einput-\u003eringbuf_base.","modified":"2026-10-25T02:47:28.793946825Z","published":"2026-10-23T12:20:24.476Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99003.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4487cf79bf173f2b426a02d102076f8a20d23b96"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9be126be5f78bc331a930295af97c9b1f9158f06"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec86c43dcfff68eab4db9bdafcd3e2b16e342e18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdee3570b282a6c8699aea63fa5694355e010ec9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99003.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99003"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"de85488138247d034eb3241840424a54d660926b"},{"fixed":"4487cf79bf173f2b426a02d102076f8a20d23b96"},{"fixed":"fdee3570b282a6c8699aea63fa5694355e010ec9"},{"fixed":"9be126be5f78bc331a930295af97c9b1f9158f06"},{"fixed":"ec86c43dcfff68eab4db9bdafcd3e2b16e342e18"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99003.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99003.json"}}],"schema_version":"1.9.2"}