In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: copy only received bytes on short ep0 read ffs_ep0_read() allocates its control-OUT data buffer with kmalloc()…
提示
摘要
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: copy only received bytes on short ep0 read ffs_ep0_read() allocates its control-OUT data buffer with kmalloc() (not kzalloc) at the Length value from the Setup packet, then copies that full len to userspace regardless of how many bytes were actually received: data = kmalloc(len, GFP_KERNEL); ... ret = __ffs_ep0_queue_wait(ffs, data, len); if ((ret > 0) && (copy_to_user(buf, data, len))) …
中文摘要建设中,暂以英文摘要呈现(DR-003 v2)。
深度研判 · 自动通道
该漏洞尚未生成深度研判报告(DR-003 v2 AI pipeline 建设中)。
数据来源
- NVD DATABASE
原始链接
- https://git.kernel.org/stable/c/23c1f7deb9dd8447ecde749850676302aa1e2bd3
- https://git.kernel.org/stable/c/4e036c10e7f4df5d951c69cc3697bc8e209c6d02
- https://git.kernel.org/stable/c/607730a414773a7cbe3037a64a6c64e72689ff5e
- https://git.kernel.org/stable/c/88874a19b2b093bfaaa1c0090fa536c44da8c08b
- https://git.kernel.org/stable/c/90ccf5fb63243fae1b4b3200f3310500500ecf2e
- https://git.kernel.org/stable/c/af32dbb2ca0b3d09271ab718d13857a457fa16f2
- https://git.kernel.org/stable/c/e835bf9a055f71874065a40780ca5560b7df8b33
时间线
- nvd_ingest NVD