CVE-2024-53202Published Dec 27, 2024 · Dec 27Updated Oct 28
firmware_loader: Fix possible resource leak in fw_log_firmware_info()
Linux
Medium5.5Fix available
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware_loader: Fix possible resource leak in fw_log_firmware_info()
The alg instance should be released under the exception path, otherwise there may be resource leak here.
To mitigate this, free the alg instance with crypto_free_shash when kmalloc fails.
From the CVE record · Linux
The Linux kernel's fw_log_firmware_info() may leak an algorithm instance if kmalloc fails on an exception path. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.