CVE-2026-99299: media: em28xx: reject audio endpoint with zero packet size
In the Linux kernel, the following vulnerability has been resolved:
media: em28xx: reject audio endpoint with zero packet size
em28xxaudiourbinit() divides by the audio endpoint's wMaxPacketSize without checking it, so a USB device that declares a zero-sized audio endpoint divides by zero at probe time.
Reject a zero-sized audio endpoint like a missing one; the caller already unwinds on a negative return.
Oops: divide error: 0000 [#1] SMP NOPTI Workqueue: usbhubwq hubevent RIP: 0010:em28xxaudioinit (drivers/media/usb/em28xx/em28xx-audio.c:718) Call Trace: em28xxinitextension (drivers/media/usb/em28xx/em28xx-core.c:1248) em28xxinitdev.isra.0 (drivers/media/usb/em28xx/em28xx-cards.c:3887) em28xxusbprobe (drivers/media/usb/em28xx/em28xx-cards.c:4258) usbprobeinterface (drivers/usb/core/driver.c:396) ... usbsetconfiguration (drivers/usb/core/message.c:2268) usbgenericdriverprobe (drivers/usb/core/generic.c:250) usbprobedevice (drivers/usb/core/driver.c:291) ... usbnewdevice (drivers/usb/core/hub.c:2703) hubevent (drivers/usb/core/hub.c:5961) processonework (kernel/workqueue.c:3322) workerthread (kernel/workqueue.c:3486) kthread (kernel/kthread.c:436) retfromfork (arch/x86/kernel/process.c:158) retfromforkasm (arch/x86/entry/entry64.S:245) Kernel panic - not syncing: Fatal exception
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the em28xx audio initialization path, reject an audio endpoint with zero wMaxPacketSize as if it were missing, allowing the caller to unwind on a negative return.