CVE-2026-93056

Source
https://cve.org/CVERecord?id=CVE-2026-93056
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93056.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93056
Downstream
Published
2026-09-17T16:10:44Z
Modified
2026-09-19T03:47:26Z
Summary
usb: gadget: f_uac1_legacy: remove broken string configfs attributes
Details

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

usb: gadget: f_uac1_legacy: remove broken string configfs attributes

The UAC1_STR_ATTRIBUTE macro defines configfs show/store handlers for the fn_play, fn_cap, and fn_cntl string options. The store function contains an inverted null check on the kstrndup() return value.

This means every write attempt returns -ENOMEM on success and dereferences a NULL pointer on allocation failure. The attributes have been broken and unused for many years.

Remove the UAC1_STR_ATTRIBUTE macro and the three attributes it generated. The internal defaults (FILE_PCM_PLAYBACK, FILE_PCM_CAPTURE, FILE_CONTROL) set in f_audio_alloc_inst() are unaffected.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93056.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0854611a19ae4dfa56569e6f640017a1d2dd3312
Fixed
745adfe6c337f3d5d7737d57529d14a208151b45
Fixed
6351ba62778f72dc4f6bc18bfa99e618829cff0d
Fixed
021b58ac3e58cffa68ed9585ff492a19e98414f6
Fixed
fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7
Fixed
8b9335aec93975bb9186d63993a5a610e5066ffc
Fixed
2ed25c9d4400cf90d9201657963a231c27a5ea57
Fixed
977659adb341f6e30fb00dcf183f63f29df879e2
Fixed
590d74ec8f488e06b9f1c0f8f0941f45531f3a55

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93056.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.18.0
Fixed
5.10.270
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.221
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.188
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.157
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93056.json"