CVE-2026-138923: media: uvcvideo: Fix NULL deref on events for uninitialized controls
In the Linux kernel, the following vulnerability has been resolved:
media: uvcvideo: Fix NULL deref on events for uninitialized controls
A null-ptr-deref exists in v6.12.105 and upstream. KASAN crash log:
KASAN: null-ptr-deref in range [0x0000000000000080-0x0000000000000087] Workqueue: events uvcctrlstatuseventwork RIP: 0010:uvcctrlstatusevent+0x105/0x280 uvcctrlstatuseventwork+0x82/0x240 processonework+0x66f/0x10b0
XU controls are initialized lazily, on the first UVCIOCCTRLMAP or UVCIOCCTRLQUERY. Until then ctrl->info is all zeroes, so info.mappings is not a valid list head, listempty() returns false, and uvcctrlstatusevent() walks it from a NULL next pointer.