Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-93056

usb: gadget: f_uac1_legacy: remove broken string configfs attributes

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 745adfe6c337f3d5d7737d57529d14a208151b45affected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 6351ba62778f72dc4f6bc18bfa99e618829cff0daffected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 021b58ac3e58cffa68ed9585ff492a19e98414f6affected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7affected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 8b9335aec93975bb9186d63993a5a610e5066ffcaffected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 2ed25c9d4400cf90d9201657963a231c27a5ea57affected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 977659adb341f6e30fb00dcf183f63f29df879e2affected
  • 0854611a19ae4dfa56569e6f640017a1d2dd3312 to < 590d74ec8f488e06b9f1c0f8f0941f45531f3a55affected

Linux Linux

Default version status: affected

  • 3.18affected
  • 0 to < 3.18unaffected
  • 5.10.270 to ≤ 5.10.*unaffected
  • 5.15.221 to ≤ 5.15.*unaffected
  • 6.1.188 to ≤ 6.1.*unaffected
  • 6.6.157 to ≤ 6.6.*unaffected
  • 6.12.110 to ≤ 6.12.*unaffected
  • 6.18.52 to ≤ 6.18.*unaffected
  • 7.2.6 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References