On Wed, 11 Nov 2020 20:07:00 +0100, Lukas Wunner wrote: > Here's my proposal to fix the use-after-free bugs reported by > Sascha Hauer and Florian Fainelli: > > I scrutinized all SPI drivers in the v5.10 tree: > > * There are 9 drivers with a use-after-free in the ->remove() hook > caused by accessing driver private data after spi_unregister_controller(). > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/4] spi: Introduce device-managed SPI controller allocation commit: 5e844cc37a5cbaa460e68f9a989d321d63088a89 [2/4] spi: bcm2835: Fix use-after-free on unbind commit: e1483ac030fb4c57734289742f1c1d38dca61e22 [3/4] spi: bcm2835aux: Fix use-after-free on unbind commit: e13ee6cc4781edaf8c7321bee19217e3702ed481 [4/4] spi: bcm-qspi: Fix use-after-free on unbind commit: 63c5395bb7a9777a33f0e7b5906f2c0170a23692 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark