目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-63895— USB Gadget f_fs 短 EP0 读取漏洞

AI 预测 7.8 利用难度: 困难 EPSS 0.24% · P16

影响版本矩阵 16

厂商产品版本范围状态
LinuxLinuxddf8abd2599491cbad959c700b90ba72a5dce8d0< 90ccf5fb63243fae1b4b3200f3310500500ecf2eaffected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< af32dbb2ca0b3d09271ab718d13857a457fa16f2affected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< e835bf9a055f71874065a40780ca5560b7df8b33affected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< 88874a19b2b093bfaaa1c0090fa536c44da8c08baffected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< 607730a414773a7cbe3037a64a6c64e72689ff5eaffected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< 23c1f7deb9dd8447ecde749850676302aa1e2bd3affected
ddf8abd2599491cbad959c700b90ba72a5dce8d0< 4e036c10e7f4df5d951c69cc3697bc8e209c6d02affected
2.6.35affected
… +8 条更多
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-63895 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
usb: gadget: f_fs: copy only received bytes on short ep0 read
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
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))) ret = -EFAULT; __ffs_ep0_queue_wait() returns req->actual, which on a short control OUT transfer is strictly less than len. The copy_to_user() call still copies len bytes, so on a short OUT the last (len - ret) bytes of the kmalloc() buffer -- uninitialised slab residue -- are delivered to the FunctionFS daemon. Short ep0 OUT completions are specified USB control-transfer behavior and are produced by in-tree UDCs: * dwc2 continues on req->actual < req->length for ep0 DATA OUT (short-not-ok is the only ep0-OUT stall path). * aspeed_udc ends ep0 OUT on rx_len < ep->ep.maxpacket. * renesas_usbf logs "ep0 short packet" and completes the request. * dwc3 stalls on short IN but not on short OUT. A short ep0 OUT is therefore not evidence of a broken UDC; it is a normal condition f_fs has to cope with. The sibling gadgetfs implementation in drivers/usb/gadget/legacy/inode.c already does this correctly via min(len, dev->req->actual) before copy_to_user(). This patch brings f_fs.c to the same safe pattern rather than trimming at a defensive layer. The bug is reached from the FunctionFS device node, which in real deployments is owned by the privileged gadget daemon (adbd, UMS, composite gadget services, etc.); it is not reachable from unprivileged userspace. Linux host stacks normally reject short-wLength control OUTs before they reach the gadget, so reproducing this required a build that bypasses that host-side check. With the bypass in place, a 1-byte payload on a 64-byte Setup produces 63 bytes of non-canary slab residue in the daemon's read buffer. Fix by copying only ret (actually received) bytes to userspace.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux ddf8abd2599491cbad959c700b90ba72a5dce8d0 ~ 90ccf5fb63243fae1b4b3200f3310500500ecf2e -
LinuxLinux 2.6.35 -

二、漏洞 CVE-2026-63895 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-63895 的情报信息

登录查看更多情报信息。

CVE-2026-63895 补丁与修复 (7)

同批安全公告 · Linux · 2026-07-19 · 共 431 条

CVE-2026-6379510.0 CRITICAL9p: p9_client_walk()错误路径中避免放置oldfid漏洞
CVE-2026-638009.8 CRITICALLinux内核pNFS pnfs_update_layout函数使用释放后漏洞
CVE-2026-640559.8 CRITICALCortina以太网驱动内存管理漏洞
CVE-2026-640569.8 CRITICALCortina网卡RX SKB每端口处理漏洞
CVE-2026-640619.8 CRITICALLinux 内核 netfs 远程代码执行漏洞
CVE-2026-640669.8 CRITICALnetfs: 修复netfs_read_to_pagecache()在子请求失败时暂停
CVE-2026-640679.8 CRITICALnetfs 无锁访问流子请求锁缺失屏障漏洞
CVE-2026-640689.8 CRITICALnetfs 新增子请求重试缺少锁定漏洞
CVE-2026-640699.8 CRITICALnetfs DIO和单读子请求取消漏洞
CVE-2026-638089.8 CRITICALexfat 文件系统 exfat_find_dir_entry() 函数存在使用释放后内存漏洞
CVE-2026-640899.8 CRITICALbatman-adv tt: last_changeset_len 负值漏洞
CVE-2026-640919.8 CRITICALbatman-adv 报告VLAN时存在竞态条件漏洞
CVE-2026-533999.8 CRITICALnfsd setlease失败时未释放布局stid
CVE-2026-641429.8 CRITICALksmbd 文件列表查找与耐用 scavenger 竞争漏洞
CVE-2026-533989.8 CRITICALNFSD SECINFO_NO_NAME解码错误清理
CVE-2026-641369.8 CRITICALSamba 客户端 smb2_find_smb_sess_tcon_unlocked() tc_count 竞态条件漏洞
CVE-2026-641329.8 CRITICALIPv6 IOAM 刷新hdr指针前导致ioam6_event漏洞
CVE-2026-641229.8 CRITICALmlx5e 驱动 mlx5e_tx_reporter_timeout_recover 中的 use-after-free 漏洞
CVE-2026-641029.8 CRITICALRDMA/siw: 拒绝MPA FPDU长度下溢
CVE-2026-641139.8 CRITICALixgbevf VEPA组播源修剪使用后释放漏洞

显示前 20 条,共 431 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-63895

暂无评论


发表评论