spi: mpc52xx: fix use-after-free on unbind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 984836621aad98802d92c4a3047114cf518074c8 · < 6c3e413919a12627d04a31a4a5fccb9fc129bb02| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
spi: mpc52xx: fix use-after-free on unbind
The state machine work is scheduled by the interrupt handler and therefore needs to be cancelled after disabling interrupts to avoid a potential use-after-free.
From the CVE record · Linux
The Linux kernel's mpc52xx SPI driver has a potential use-after-free during unbind. Interrupt-scheduled state machine work may run after the driver is unbound if it is not cancelled after interrupts are disabled. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running the Linux kernel with the mpc52xx SPI driver should check their versions against the vendor advisory; affected versions are not specified.