CVE-2026-31720: usb: gadget: f_uac1_legacy: validate control request size

Published May 1, 2026
·
Updated

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

usb: gadget: fuac1legacy: validate control request size

faudiocomplete() copies req->length bytes into a 4-byte stack variable:

u32 data = 0; memcpy(&data, req->buf, req->length);

req->length is derived from the host-controlled USB request path, which can lead to a stack out-of-bounds write.

Validate req->actual against the expected payload size for the supported control selectors and decode only the expected amount of data.

This avoids copying a host-influenced length into a fixed-size stack object.

Affected Software

14 affected components
Linux Foundation Linux Kernel
Linux Linux kernel>=2.6.31<5.10.253
Linux Linux kernel>=5.11<5.15.203
Linux Linux kernel>=5.16<6.1.168
Linux Linux kernel>=6.2<6.6.134
Linux Linux kernel>=6.7<6.12.81
Linux Linux kernel>=6.13<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Event History

May 1, 2026
CVE Published
via MITRE·02:14 PM
Data Sourced
via MITRE·02:14 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31720?

CVE-2026-31720 has a high severity rating of 7.8 on the CVSS scale.

2

How do I fix CVE-2026-31720?

The recommended fix for CVE-2026-31720 is to apply the available patch.

3

What systems are affected by CVE-2026-31720?

CVE-2026-31720 affects the Linux kernel and related components utilized in Linux systems.

4

What type of vulnerability is CVE-2026-31720?

CVE-2026-31720 is a stack memory corruption vulnerability that arises from improper validation of control request sizes.

5

When was CVE-2026-31720 published?

CVE-2026-31720 was published on May 1, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203