CVE-2024-56739

rtc: check if __rtc_read_time was successful in rtc_timer_do_work()

Medium · published December 29, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

rtc: check if __rtc_read_time was successful in rtc_timer_do_work()

If the __rtc_read_time call fails,, the struct rtc_time tm; may contain

uninitialized data, or an illegal date/time read from the RTC hardware.

When calling rtc_tm_to_ktime later, the result may be a very large value

(possibly KTIME_MAX). If there are periodic timers in rtc->timerqueue,

they will continually expire, may causing kernel softlockup.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Published
2024-12-29T11:30Z
EPSS history
Timeline
  • 29 DEC 11:30Z
    rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
    cvelistv5