CVE-2022-49047

ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()

High · published February 26, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
15.3
In the wild
Unconfirmed
What it is

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;

^ ~~~~~~~~

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00249 · 15.3th percentile
Published
2025-02-26T01:54Z
EPSS history
Timeline
  • 26 FEB 01:54Z
    ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()
    cvelistv5