Skip to main content
Network Thinking Solutions Logo

CVE-2026-31720

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_uac1_legacy: validate control request size f_audio_complete() 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.

All CVEs
CVE-2026-31720Published 5/1/2026

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_uac1_legacy: validate control request size f_audio_complete() 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.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_uac1_legacy: validate control request size f_audio_complete() 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.

Published
5/1/2026
Last modified
11/11/2026
Assigned by
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.31, < 5.10.253

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.203

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.168

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.134

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.81

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.22

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.12

Verify advisory

Source
linux kernel
linux
7.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 557d1d4e862eccd0b74cc377b66de3e1e8d49605

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 21b11e8581285c6f10ef43d05df349d445f24273

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 0d41772d98dcaf6c17e875b7d0ea0154ae1191ee

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < c6da4fed7537aec19880c24f6c3a95065adb1406

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < be2d32f0c3fe333d14c0a9ca90328dacbc3e06b8

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 8e5eb1d6e6a3d7bbea9c92132d0cda5793176426

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 26304d124e7f0383f8fe1168b5801a0ac7e16b1c

Verify advisory

Source
Linux
Linux
≥ c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 6e0e34d85cd46ceb37d16054e97a373a32770f6c

Verify advisory

Source
Linux
Linux
2.6.31

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.