Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2022-49047

ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 0f12166872da46c6b57ba2f1314bbf310b3bf017affected
  • 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 3b68b08885217abd9c57ff9b3bb3eb173eee02a9affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 5.17.4 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References