CVE-2023-53572Published Oct 4, 2025 · Oct 4Updated Oct 28
clk: imx: scu: use _safe list iterator to avoid a use after free
Linux
High7.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: imx: scu: use _safe list iterator to avoid a use after free
This loop is freeing "clk" so it needs to use list_for_each_entry_safe(). Otherwise it dereferences a freed variable to get the next item on the loop.
From the CVE record · Linux
A loop in the Linux kernel's i.MX SCU clock code frees a clock entry, then dereferences it to find the next entry. This is a use-after-free; the input does not specify how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the i.MX SCU clock code should check their deployments; affected versions are not specified.