CVE-2026-46184
Received Received - Intake
Division by Zero in Linux Kernel USB Audio Driver

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: sound: ua101: fix division by zero at probe Add a missing sanity check for bNrChannels in detect_usb_format() to prevent a division by zero in playback_urb_complete() and capture_urb_complete(). USB core does not validate class-specific descriptor fields such as bNrChannels, so drivers must verify them before use. If a device provides bNrChannels = 0, frame_bytes becomes zero and is later used as a divisor in the URB completion handlers, leading to a kernel crash.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-28
AI Q&A
2026-05-28
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

The vulnerability is caused by a missing sanity check for the bNrChannels field in the Linux kernel sound driver ua101, which can lead to a division by zero and kernel crash.

Immediate mitigation steps include updating the Linux kernel to a version where this issue is fixed, as the patch adds a check to prevent bNrChannels from being zero before performing division.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel sound subsystem, specifically in the ua101 driver. It occurs because the driver does not properly check the value of bNrChannels, a field that indicates the number of audio channels. If a USB device reports bNrChannels as zero, the driver uses this value in a division operation without validation, causing a division by zero error. This leads to a kernel crash during audio playback or capture.


How can this vulnerability impact me? :

The impact of this vulnerability is a potential kernel crash on a Linux system using the affected ua101 sound driver. An attacker or a malicious USB device could exploit this by providing a crafted descriptor with bNrChannels set to zero, causing the system to crash. This could lead to denial of service, requiring a system reboot and potentially causing data loss or disruption of services.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart