Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ep93xx: clock: Fix UAF in ep93xx_clk_register_gate() arch/arm/mach-ep93xx/clock.c:154:2: warning: Use of memory after it is freed [clang-analyzer-unix.Malloc] arch/arm/mach-ep93xx/clock.c:151:2: note: Taking true branch if (IS_ERR(clk)) ^ arch/arm/mach-ep93xx/clock.c:152:3: note: Memory is released kfree(psc); ^~~~~~~~~~ arch/arm/mach-ep93xx/clock.c:154:2: note: Use of memory after it is freed return &psc->hw; ^ ~~~~~~~~
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 before 0f12166872da46c6b57ba2f1314bbf310b3bf017; affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 before 3b68b08885217abd9c57ff9b3bb3eb173eee02a9 |
| Linux / Linux | affected 5.16; unaffected 0 before 5.16; unaffected 5.17.4 through 5.17.*; unaffected 5.18 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0f12166872da46c6b57ba2f1314bbf310b3bf017
- https://git.kernel.org/stable/c/3b68b08885217abd9c57ff9b3bb3eb173eee02a9
ADP enrichment
No English description supplied.
No references supplied.