soc: fsl: qbman: Always disable interrupts when taking cgr_lock
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 96f413f47677366e0ae03797409bfcc4151dbf9e · < 0e6521b0f93ff350434ed4ae61a250907e65d397| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: fsl: qbman: Always disable interrupts when taking cgr_lock
smp_call_function_single disables IRQs when executing the callback. To prevent deadlocks, we must disable IRQs when taking cgr_lock elsewhere. This is already done by qman_update_cgr and qman_delete_cgr; fix the other lockers.
From the CVE record · Linux
The Linux kernel's fsl qbman code can take cgr_lock without disabling interrupts, creating a deadlock risk because an associated callback runs with interrupts disabled. The input does not establish an attack path or specify whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions for this issue; affected versions are not specified.