PoC Monitor
← All CVEs
CVE-2026-31720published 1 May 2026 14:14 UTCData: JSON · API

Linux

usb: gadget: f_uac1_legacy: validate control request size

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.

First public PoC Date pendingpublic PoC known, its date not yet looked up
Public PoCs11 on GitHub
CVSS7.8high · scored by NVD · CWE-787
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 557d1d4e862eccd0b74cc377b66de3e1e8d49605
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 21b11e8581285c6f10ef43d05df349d445f24273
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 0d41772d98dcaf6c17e875b7d0ea0154ae1191ee
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < c6da4fed7537aec19880c24f6c3a95065adb1406
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < be2d32f0c3fe333d14c0a9ca90328dacbc3e06b8
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 8e5eb1d6e6a3d7bbea9c92132d0cda5793176426
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 26304d124e7f0383f8fe1168b5801a0ac7e16b1c
  • >= c6994e6f067cf0fc4c6cca3d164018b1150916f8, < 6e0e34d85cd46ceb37d16054e97a373a32770f6c

Fixed in 557d1d4e862eccd0b74cc377b66de3e1e8d49605, 21b11e8581285c6f10ef43d05df349d445f24273, 0d41772d98dcaf6c17e875b7d0ea0154ae1191ee, c6da4fed7537aec19880c24f6c3a95065adb1406, be2d32f0c3fe333d14c0a9ca90328dacbc3e06b8, 8e5eb1d6e6a3d7bbea9c92132d0cda5793176426, 26304d124e7f0383f8fe1168b5801a0ac7e16b1c, 6e0e34d85cd46ceb37d16054e97a373a32770f6c

Linux Linux
  • 2.6.31

Fixed in 0, 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, 7.0

Mitigation

Upgrade Linux to 557d1d4e862eccd0b74cc377b66de3e1e8d49605 or 21b11e8581285c6f10ef43d05df349d445f24273 or 0d41772d98dcaf6c17e875b7d0ea0154ae1191ee or c6da4fed7537aec19880c24f6c3a95065adb1406 or be2d32f0c3fe333d14c0a9ca90328dacbc3e06b8 or 8e5eb1d6e6a3d7bbea9c92132d0cda5793176426 or 26304d124e7f0383f8fe1168b5801a0ac7e16b1c or 6e0e34d85cd46ceb37d16054e97a373a32770f6c or later.

Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.168 or 6.6.134 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 May 2026 · t = 0

Public PoC known, its date not yet looked up; not in CISA KEV.

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
foxirain/linux-kernel-codex-harness 2 Apr 2026 −29 d 0 PoC older repo: PoC date unknown, not used for the first PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.