[PATCH v9 0/3] usb: gadget: f_tcm: fix infoleaks and a UAF in the BOT path
From: Yehyeong Lee
Date: Fri Nov 20 2026 - 12:29:08 EST
Three remote-triggerable bugs in the f_tcm BOT path: two infoleaks to the
host and a freed scatter list handed to the controller.
The first patch of v8 is in usb-linus as 69b3b657087f, so this is the
remaining three. v8 was posted here:
https://lore.kernel.org/r/20261118124005.2428068-1-yhlee@xxxxxxxxxxxxxxxxxx
Yehyeong Lee (3):
usb: gadget: f_tcm: zero the CBW buffer the status path sends
usb: gadget: f_tcm: reject a short write data-out transfer
usb: gadget: f_tcm: clear the scatter list when reusing the BOT status
request
drivers/usb/gadget/function/f_tcm.c | 14 +++++++++++---
drivers/usb/gadget/function/tcm.h | 1 +
2 files changed, 12 insertions(+), 3 deletions(-)
--
2.43.0