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.
Published: 2026-05-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a flaw in the USB audio driver where a missing sanity check of the bNrChannels field allows a division by zero in playback_urb_complete() and capture_urb_complete(). If an attacker supplies a USB audio device that advertises bNrChannels as zero, the kernel will attempt to divide by the resulting zero frame_bytes value and crash. The crash manifests as a kernel panic, leading to a system reboot and a brief but complete loss of service.

Affected Systems

All Linux kernel distributions are affected, as the vulnerability resides in the common sound subsystem code. The exact kernel versions are not enumerated in the advisory, but the patch referenced in the source material applies to recent mainstream kernels. Users running older kernels that lack this fix are also vulnerable until updated.

Risk and Exploitability

The flaw is a classic division-by-zero error stemming from insufficient input validation. An attacker can trigger it by presenting a malicious USB audio device; network-based exploitation is unlikely, so the attack surface resembles physical or local device access. Although the CVSS score is not reported and the EPSS score is unavailable, kernel crashes have high impact on availability. The vulnerability is not listed in CISA's KEV catalog, suggesting no public exploits yet, but the simplicity of the trigger means it could be weaponized quickly.

Generated by OpenCVE AI on May 28, 2026 at 12:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version including the fix for the ua101 division‑by‑zero issue.
  • Ensure the system reboots after the kernel update to load the patched code.
  • If an upgrade is not immediately possible, restring the USB audio device to prevent the bad descriptor from being accepted or disconnect potentially malicious USB devices.
  • Monitor kernel logs for panic messages indicating a division‑by‑zero crash.

Generated by OpenCVE AI on May 28, 2026 at 12:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-409

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title sound: ua101: fix division by zero at probe
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-28T09:36:38.134Z

Reserved: 2026-05-13T15:03:33.103Z

Link: CVE-2026-46184

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T10:16:34.023

Modified: 2026-05-28T10:16:34.023

Link: CVE-2026-46184

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T12:15:21Z

Weaknesses