# CVE-2026-93056: usb: gadget: f_uac1_legacy: remove broken string configfs attributes

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2026-09-17T16:10:44.442Z
- Modified: 2026-10-19T10:16:55.487Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 745adfe6c337f3d5d7737d57529d14a208151b45; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 6351ba62778f72dc4f6bc18bfa99e618829cff0d; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 021b58ac3e58cffa68ed9585ff492a19e98414f6; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 8b9335aec93975bb9186d63993a5a610e5066ffc; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 2ed25c9d4400cf90d9201657963a231c27a5ea57; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 977659adb341f6e30fb00dcf183f63f29df879e2; from 0854611a19ae4dfa56569e6f640017a1d2dd3312 before 590d74ec8f488e06b9f1c0f8f0941f45531f3a55; 3.18 (not affected: before 3.18; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/745adfe6c337f3d5d7737d57529d14a208151b45>
- <https://git.kernel.org/stable/c/6351ba62778f72dc4f6bc18bfa99e618829cff0d>
- <https://git.kernel.org/stable/c/021b58ac3e58cffa68ed9585ff492a19e98414f6>
- <https://git.kernel.org/stable/c/fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7>
- <https://git.kernel.org/stable/c/8b9335aec93975bb9186d63993a5a610e5066ffc>
- <https://git.kernel.org/stable/c/2ed25c9d4400cf90d9201657963a231c27a5ea57>
- <https://git.kernel.org/stable/c/977659adb341f6e30fb00dcf183f63f29df879e2>
- <https://git.kernel.org/stable/c/590d74ec8f488e06b9f1c0f8f0941f45531f3a55>

## Sources

- CVE List: [CVE-2026-93056](https://www.cve.org/CVERecord?id=CVE-2026-93056), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93056](https://nvd.nist.gov/vuln/detail/CVE-2026-93056), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93056 · Whole record: https://cve.day/CVE-2026-93056.json · Rebuilt by cve.day 2026-11-25T22:59:39.441Z
