drm/panthor: validate userspace queue count against initialized firmware slot count
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.113, 6.18.57, 7.2.11
- CVEs
- CVE-2026-99003
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:49 UTC · Revision 1
Source evidence
drm/panthor: validate userspace queue count against initialized firmware slot count
core-osv · Original sourcePublished 23 Oct 2026, 12:20 UTC
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.
osv:CVE-2026-99003
Kernel
Fixed versions: 6.12.113, 6.18.57, 7.2.11
Complete source record
{
"id": "4ad68abde7277d4dc287ed74e57223ed3a6c8658eb571b5a466316de2a929e09",
"url": "https://osv.dev/vulnerability/CVE-2026-99003",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/panthor: validate userspace queue count against initialized firmware slot count",
"summary": "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.",
"evidence": "osv:CVE-2026-99003",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.57",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-99003",
"aliases": [
"CVE-2026-99003"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "de85488138247d034eb3241840424a54d660926b"
},
{
"fixed": "4487cf79bf173f2b426a02d102076f8a20d23b96"
},
{
"fixed": "fdee3570b282a6c8699aea63fa5694355e010ec9"
},
{
"fixed": "9be126be5f78bc331a930295af97c9b1f9158f06"
},
{
"fixed": "ec86c43dcfff68eab4db9bdafcd3e2b16e342e18"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99003.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99003.json"
}
}
],
"modified": "2026-10-28T02:30:25.168531958Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4487cf79bf173f2b426a02d102076f8a20d23b96",
"https://git.kernel.org/stable/c/9be126be5f78bc331a930295af97c9b1f9158f06",
"https://git.kernel.org/stable/c/ec86c43dcfff68eab4db9bdafcd3e2b16e342e18",
"https://git.kernel.org/stable/c/fdee3570b282a6c8699aea63fa5694355e010ec9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99003.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-99003",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99003.json"
}
},
"related_cves": [
{
"value": "CVE-2026-99003",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 492043,
"published_at": "2026-10-23T12:20:24.476+00:00"
}