efi: fix NULL-deref in init error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 98086df8b70c06234a8f4290c46064e44dafa0ed · < 703c13fe3c9af557d312f5895ed6a5fda2711104| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
efi: fix NULL-deref in init error path
In cases where runtime services are not supported or have been disabled, the runtime services workqueue will never have been allocated.
Do not try to destroy the workqueue unconditionally in the unlikely event that EFI initialisation fails to avoid dereferencing a NULL pointer.
From the CVE record · Linux
The Linux kernel can dereference a NULL pointer if EFI initialization fails when runtime services are unsupported or disabled, because it attempts to destroy a workqueue that was never allocated. The input does not specify whether an attacker can trigger this condition or whether access or user interaction is required.
Operators running the Linux kernel should check their installations; affected versions are not specified.