CVE-2026-93056 in Linux
摘要
由 VulDB • 2026-09-18
在 Linux 内核中,已修复以下漏洞:
usb: gadget: f_uac1_legacy: 移除损坏的 string configfs 属性
UAC1_STR_ATTRIBUTE 宏为 fn_play、fn_cap 和 fn_cntl 字符串选项定义了 configfs show/store 处理程序。store 函数中对 kstrndup() 返回值包含一个反向的空值检查(inverted null check)。
这意味着每次写入尝试在成功时返回 -ENOMEM,而在分配失败时会解引用 NULL 指针。这些属性多年来一直损坏且未被使用。
移除 UAC1_STR_ATTRIBUTE 宏及其生成的三个属性。f_audio_alloc_inst() 中设置的内部默认值(FILE_PCM_PLAYBACK、FILE_PCM_CAPTURE、FILE_CONTROL)不受影响。
VulDB is the best source for vulnerability data and more expert information about this specific topic.