CVE-2022-49047

published 26 Feb 2025 · updated 11 May 2026

ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f12166872da46c6b57ba2f1314bbf310b3bf017 and Kernel 3b68b08885217abd9c57ff9b3bb3eb173eee02a9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=9645ccc7bd7a16cd73c3be9dee70cd702b03be37 <0f12166872da46c6b57ba2f1314bbf310b3bf017, >=9645ccc7bd7a16cd73c3be9dee70cd702b03be37 <3b68b08885217abd9c57ff9b3bb3eb173eee02a90f12166872da46c6b57ba2f1314bbf310b3bf017, 3b68b08885217abd9c57ff9b3bb3eb173eee02a9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49047 severity on Zeptric[![CVE-2022-49047](https://zeptric.io/badge/cve/CVE-2022-49047.svg)](https://zeptric.io/cve/CVE-2022-49047)