{"id":"CVE-2026-99003","state":"PUBLISHED","title":"drm/panthor: validate userspace queue count against initialized firmware slot count","description":"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->queues.count || args->queues.count > 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->input->ringbuf_base.","publishedAt":"2026-10-23T12:20:24.476Z","updatedAt":"2026-10-23T12:20:24.476Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"4487cf79bf173f2b426a02d102076f8a20d23b96","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"fdee3570b282a6c8699aea63fa5694355e010ec9","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"9be126be5f78bc331a930295af97c9b1f9158f06","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"ec86c43dcfff68eab4db9bdafcd3e2b16e342e18","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99003.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99003","state":"PUBLISHED","datePublished":"2026-10-23T12:20:24.476Z","dateUpdated":"2026-10-23T12:20:24.476Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.385Z"},"containers":{"cna":{"title":"drm/panthor: validate userspace queue count against initialized firmware slot count","descriptions":[{"lang":"en","value":"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->queues.count || args->queues.count > 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->input->ringbuf_base."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"4487cf79bf173f2b426a02d102076f8a20d23b96","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"fdee3570b282a6c8699aea63fa5694355e010ec9","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"9be126be5f78bc331a930295af97c9b1f9158f06","versionType":"git"},{"version":"de85488138247d034eb3241840424a54d660926b","status":"affected","lessThan":"ec86c43dcfff68eab4db9bdafcd3e2b16e342e18","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4487cf79bf173f2b426a02d102076f8a20d23b96"},{"url":"https://git.kernel.org/stable/c/fdee3570b282a6c8699aea63fa5694355e010ec9"},{"url":"https://git.kernel.org/stable/c/9be126be5f78bc331a930295af97c9b1f9158f06"},{"url":"https://git.kernel.org/stable/c/ec86c43dcfff68eab4db9bdafcd3e2b16e342e18"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-23T12:20:24.476Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}