media: em28xx: reject audio endpoint with zero packet size

State
Published
Severity
Not Scored
Published
Nov 16, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

media: em28xx: reject audio endpoint with zero packet size

em28xx_audio_urb_init() 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: usb_hub_wq hub_event RIP: 0010:em28xx_audio_init (drivers/media/usb/em28xx/em28xx-audio.c:718) Call Trace: em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248) em28xx_init_dev.isra.0 (drivers/media/usb/em28xx/em28xx-cards.c:3887) em28xx_usb_probe (drivers/media/usb/em28xx/em28xx-cards.c:4258) usb_probe_interface (drivers/usb/core/driver.c:396) ... usb_set_configuration (drivers/usb/core/message.c:2268) usb_generic_driver_probe (drivers/usb/core/generic.c:250) usb_probe_device (drivers/usb/core/driver.c:291) ... usb_new_device (drivers/usb/core/hub.c:2703) hub_event (drivers/usb/core/hub.c:5961) process_one_work (kernel/workqueue.c:3322) worker_thread (kernel/workqueue.c:3486) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Kernel panic - not syncing: Fatal exception

ProductVersions
Linux Linux1b3fd2d342667005855deae74200195695433259 to before d5503ac5852cee1507b4d5f5cbd707f106c72542 Affected1b3fd2d342667005855deae74200195695433259 to before 5133b8c5b458cbbd697900c267e72251bd1682ab Affected1b3fd2d342667005855deae74200195695433259 to before c799a49bdb68c3cb3fa837fc8eaacea1c2bfbc56 Affected1b3fd2d342667005855deae74200195695433259 to before 3227c593dad737a6b13a103b5f6a5f44239a4947 Affected1b3fd2d342667005855deae74200195695433259 to before ffafe6ecce8794ed821689b874964da3ab9d0869 Affected1b3fd2d342667005855deae74200195695433259 to before dc0072c1b40fc376c6cbe821de947f3744ab254b Affected1b3fd2d342667005855deae74200195695433259 to before e282da1201f16ff75b95f85cc0b0c1de7ff59731 Affected1b3fd2d342667005855deae74200195695433259 to before aebfe430ba885d2f8fc882d7a6d60a7fdbe535d8 Affected
Linux Linux3.14 Affectedbefore 3.14 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.