ata: sata_dwc_460ex: enable SATA interrupts only after IRQ handler is registered
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 62936009f35a6659cc3ebe0d90c754182d60da73 · < daa80b422ed920a3c0c45153020b0ad7af7fb5a5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ata: sata_dwc_460ex: enable SATA interrupts only after IRQ handler is registered
sata_dwc_enable_interrupts() is called before platform_get_irq() and ata_host_activate(), leaving the SATA controller's interrupt mask enabled without a registered handler. If a later step fails (irq request, phy init, etc.) or if the controller asserts an interrupt during probe, the irq line may fire with no handler, causing a spurious interrupt storm.
Move sata_dwc_enable_interrupts() after ata_host_activate() so that interrupts are only unmasked once the handler is registered and the core is fully initialized.
From the CVE record · Linux
The Linux kernel’s sata_dwc_460ex driver can enable SATA interrupts before registering an interrupt handler. If an interrupt occurs during probe or a later initialization step fails, the system may experience a spurious interrupt storm. The input does not describe an attacker-triggered path, authentication requirement, or user interaction.
Engineers running Linux kernels that use the sata_dwc_460ex SATA driver should check their kernel versions; affected versions are not specified.