Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: gadget: Correct cleanup ordering on failure and removal
@ 2026-11-18 14:08 Guangshuo Li
  2026-11-18 14:10 ` [PATCH 1/2] usb: gadget: fsl_udc: Fix potential use-after-free during removal Guangshuo Li
  2026-11-18 14:13 ` [PATCH 2/2] usb: gadget: nokia: Fix potential use-after-free on bind failure Guangshuo Li
  0 siblings, 2 replies; 5+ messages in thread
From: Guangshuo Li @ 2026-11-18 14:08 UTC (permalink / raw)
  To: Neill Kapron, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel, linuxppc-dev

Keep the FSL controller alive through removal and detach the Nokia
functions from their configuration before dropping their references.

Guangshuo Li (2):
  usb: gadget: fsl_udc: Fix potential use-after-free during removal
  usb: gadget: nokia: Fix potential use-after-free on bind failure

 drivers/usb/gadget/legacy/nokia.c     | 4 ++++
 drivers/usb/gadget/udc/fsl_udc_core.c | 2 ++
 2 files changed, 6 insertions(+)

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-18 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 14:08 [PATCH 0/2] usb: gadget: Correct cleanup ordering on failure and removal Guangshuo Li
2026-11-18 14:10 ` [PATCH 1/2] usb: gadget: fsl_udc: Fix potential use-after-free during removal Guangshuo Li
2026-11-18 14:29   ` sashiko-bot
2026-11-18 14:13 ` [PATCH 2/2] usb: gadget: nokia: Fix potential use-after-free on bind failure Guangshuo Li
2026-11-18 14:28   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox