* [PATCH 6.6.y] Revert "usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal"
@ 2026-08-28 7:27 Ralf Lici
2026-08-29 3:34 ` Sasha Levin
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Lici @ 2026-08-28 7:27 UTC (permalink / raw)
To: stable
Cc: Ralf Lici, Duoming Zhou, Greg Kroah-Hartman, linux-kernel,
linuxppc-dev, linux-usb
This reverts commit 319f7a85b3c4e34ac2fe083eb146fe129a556317.
The reverted commit uses disable_delayed_work_sync, which was introduced
by commit 86898fa6b8cd ("workqueue: Implement disable/enable for
(delayed) work items") in v6.10. The function is therefore unavailable
in 6.6.y, causing configurations that enable CONFIG_FSL_USB2_OTG to fail
to build.
The upstream commit is unaffected; only its incompatible stable backport
is being reverted.
Fixes: 319f7a85b3c4 ("usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal")
Link: https://lore.kernel.org/stable/20260827154302.706689-1-ralf@mandelbit.com/
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
---
drivers/usb/phy/phy-fsl-usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c
index 552899fa985e..79617bb0a70e 100644
--- a/drivers/usb/phy/phy-fsl-usb.c
+++ b/drivers/usb/phy/phy-fsl-usb.c
@@ -987,7 +987,6 @@ static void fsl_otg_remove(struct platform_device *pdev)
{
struct fsl_usb2_platform_data *pdata = dev_get_platdata(&pdev->dev);
- disable_delayed_work_sync(&fsl_otg_dev->otg_event);
usb_remove_phy(&fsl_otg_dev->phy);
free_irq(fsl_otg_dev->irq, fsl_otg_dev);
base-commit: a4a971135a2ff64382ae4235b3ae60503bb1036a
--
2.55.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 6.6.y] Revert "usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal"
2026-08-28 7:27 [PATCH 6.6.y] Revert "usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal" Ralf Lici
@ 2026-08-29 3:34 ` Sasha Levin
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-08-29 3:34 UTC (permalink / raw)
To: stable
Cc: Sasha Levin, Ralf Lici, Duoming Zhou, Greg Kroah-Hartman,
linux-kernel, linuxppc-dev, linux-usb
> The reverted commit uses disable_delayed_work_sync, which was introduced
> by commit 86898fa6b8cd ("workqueue: Implement disable/enable for
> (delayed) work items") in v6.10. The function is therefore unavailable
> in 6.6.y, causing configurations that enable CONFIG_FSL_USB2_OTG to fail
> to build.
Queued for 6.6, thanks.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-29 3:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 7:27 [PATCH 6.6.y] Revert "usb: phy: fsl-usb: Fix use-after-free in delayed work during device removal" Ralf Lici
2026-08-29 3:34 ` Sasha Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox