SB20260502121 - Stack-based buffer overflow in Linux kernel gadget function driver



SB20260502121 - Stack-based buffer overflow in Linux kernel gadget function driver

Published: May 2, 2026

Security Bulletin ID SB20260502121
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Denial of service

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Stack-based buffer overflow (CVE-ID: CVE-2026-31720)

CWE-ID: CWE-121 - Stack-based buffer overflow

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to stack-based buffer overflow in f_audio_complete() in the f_uac1_legacy USB gadget function driver when handling host-controlled USB control requests. A remote attacker can send a specially crafted USB control request with an oversized length value to cause a denial of service.

The issue arises because request data is copied into a fixed-size 4-byte stack variable using a host-influenced length.


Remediation

Install update from vendor's website.