What’s Vulnerable › Vulnerabilities
CVE-2022-49047: ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-416
Description
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 products
- Linux kernel: from 5.16 before 5.17.4; 5.18-rc1, 5.18-rc2 — fixed in 5.17.4
How to fix
Upgrade to a fixed version: Linux kernel 5.17.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0f12166872da46c6b57ba2f1314bbf310b3bf017
- https://git.kernel.org/stable/c/3b68b08885217abd9c57ff9b3bb3eb173eee02a9
Get alerted when CVE-2022-49047 or the next vulnerability affects your stack