Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before f95ff838ac39f861d1f95a0f3bbb1e01c2517d79; affected 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba; affected 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 3d90921f91fc6a8c801d527bb5848c99e335c1cf; affected 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 0a719f0e4b6f233979e219baff73923e76a96e09; affected 77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 before 632c60ecd25dbacee54d5581fe3aeb834b57010a |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 5.15.121 through 5.15.*; unaffected 6.1.39 through 6.1.*; unaffected 6.3.13 through 6.3.*; unaffected 6.4.4 through 6.4.*; unaffected 6.5 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f95ff838ac39f861d1f95a0f3bbb1e01c2517d79
- https://git.kernel.org/stable/c/08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba
- https://git.kernel.org/stable/c/3d90921f91fc6a8c801d527bb5848c99e335c1cf
- https://git.kernel.org/stable/c/0a719f0e4b6f233979e219baff73923e76a96e09
- https://git.kernel.org/stable/c/632c60ecd25dbacee54d5581fe3aeb834b57010a