Description
In the Linux kernel, the following vulnerability has been resolved: usb: renesas_usbhs: fix use-after-free in ISR during device removal In usbhs_remove(), the driver frees resources (including the pipe array) while the interrupt handler (usbhs_interrupt) is still registered. If an interrupt fires after usbhs_pipe_remove() but before the driver is fully unbound, the ISR may access freed memory, causing a use-after-free. Fix this by calling devm_free_irq() before freeing resources. This ensures the interrupt handler is both disabled and synchronized (waits for any running ISR to complete) before usbhs_pipe_remove() is called.
Product status
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before c7012fc73dab4829404fedeeaa8531f12ac8545f
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 51afaf919bbaacdd9cc9e146033ae0a743a42dd7
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 1899edac312ef17a7234851686e8a703f56d0a84
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 9c6159d5b72d5fc265cce5da04f27d730b552e69
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 6287e0c01ccb818e7214f88d885ffb7c9e81b0e0
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 0b7d11fd6e742ecc0b1eca44b4f0b93140c74bae
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 6ffe44f022c95b1b29c691d2169c5abc046f7580
f1407d5c66240b33d11a7f1a41d55ccf6a9d7647 (git) before 3cbc242b88c607f55da3d0d0d336b49bf1e20412
3.0
Any version before 3.0
5.10.253 (semver)
5.15.203 (semver)
6.1.167 (semver)
6.6.130 (semver)
6.12.78 (semver)
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/c7012fc73dab4829404fedeeaa8531f12ac8545f
git.kernel.org/...c/51afaf919bbaacdd9cc9e146033ae0a743a42dd7
git.kernel.org/...c/1899edac312ef17a7234851686e8a703f56d0a84
git.kernel.org/...c/9c6159d5b72d5fc265cce5da04f27d730b552e69
git.kernel.org/...c/6287e0c01ccb818e7214f88d885ffb7c9e81b0e0
git.kernel.org/...c/0b7d11fd6e742ecc0b1eca44b4f0b93140c74bae
git.kernel.org/...c/6ffe44f022c95b1b29c691d2169c5abc046f7580
git.kernel.org/...c/3cbc242b88c607f55da3d0d0d336b49bf1e20412