Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53725

clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe

Description

In the Linux kernel, the following vulnerability has been resolved: clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe Smatch reports: drivers/clocksource/timer-cadence-ttc.c:529 ttc_timer_probe() warn: 'timer_baseaddr' from of_iomap() not released on lines: 498,508,516. timer_baseaddr may have the problem of not being released after use, I replaced it with the devm_of_iomap() function and added the clk_put() function to cleanup the "clk_ce" and "clk_cs".

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

  • e932900a3279b5dbb6d8f43c7b369003620e137c to < e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 54cc10a0f4b01b522e9519014200f1b33bf7e4aaaffected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < ebdff0986513a29be242aace0ef89b6c105b0bf0affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 289e2054eeb63c9e133960731c342eeffad218d3affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 919dd531ebb7514f205ae7aab87994337ebce1f6affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 67d7eebbc424935dec61fb352d1ccae5d16cf429affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 99744200f28b2cf5f50767447e51b4b4a977d145affected
  • e932900a3279b5dbb6d8f43c7b369003620e137c to < 8b5bf64c89c7100c921bd807ba39b2eb003061abaffected

Linux Linux

Default version status: affected

  • 3.10affected
  • 0 to < 3.10unaffected
  • 4.19.291 to ≤ 4.19.*unaffected
  • 5.4.251 to ≤ 5.4.*unaffected
  • 5.10.188 to ≤ 5.10.*unaffected
  • 5.15.121 to ≤ 5.15.*unaffected
  • 6.1.39 to ≤ 6.1.*unaffected
  • 6.3.13 to ≤ 6.3.*unaffected
  • 6.4.4 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References