irqchip/gic-v5: Clear per-CPU IRS data on teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.577.2.67.3In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v5: Clear per-CPU IRS data on teardown
IRS affinity setup publishes an IRS pointer and IAFFID state in the per-CPU data before the remaining IRS initialization can fail. The error path then frees the IRS data without clearing that published state, leaving CPUs associated with freed memory.
On initialization failure and normal IRS teardown, clear the per-CPU IRS association by removing the stale pointer to irs_data. Also invalidate the per-CPU IAFFID state for any CPUs that were tied to the IRS before it was freed.
From the CVE record · Linux
The Linux kernel's irqchip/gic-v5 code can leave per-CPU IRS pointers and IAFFID state associated with freed memory after initialization fails or IRS teardown. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the irqchip/gic-v5 code should check their kernel versions; affected versions were not provided.