mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ec4ba01e894d3165e4d1ccbef782ef5593b708b4 · < 1ed0ccd5649154bfc00ab11c59262d4f42515252| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
The Cadence NAND interrupt handler uses both the IRQ lock and completion object. Registering the IRQ before initializing them leaves a window in which a pending interrupt can access uninitialized synchronization state.
Initialize them before registering the handler.
From the CVE record · Linux
The Linux kernel’s Cadence NAND driver registers its interrupt handler before initializing the lock and completion object it uses. A pending interrupt during that window can access uninitialized synchronization state. The input does not describe an attacker, authentication requirements, or user interaction.
Engineers running Linux kernels with the Cadence NAND driver should check their kernel; affected versions are not specified.