CVE-2024-56739

medium

Description

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.

References

https://git.kernel.org/stable/c/fde56535505dde3336df438e949ef4742b6d6d6e

https://git.kernel.org/stable/c/e8ba8a2bc4f60a1065f23d6a0e7cbea945a0f40d

https://git.kernel.org/stable/c/e77bce0a8c3989b4173c36f4195122bca8f4a3e1

https://git.kernel.org/stable/c/dd4b1cbcc916fad5d10c2662b62def9f05e453d4

https://git.kernel.org/stable/c/a1f0b4af90cc18b10261ecde56c6a56b22c75bd1

https://git.kernel.org/stable/c/44b3257ff705d63d5f00ef8ed314a0eeb7ec37f2

https://git.kernel.org/stable/c/39ad0a1ae17b54509cd9e93dcd8cec16e7c12d3f

https://git.kernel.org/stable/c/246f621d363988e7040f4546d20203dc713fa3e1

https://git.kernel.org/stable/c/0d68e8514d9040108ff7d1b37ca71096674b6efe

Details

Source: Mitre, NVD

Published: 2024-12-29

Updated: 2025-01-07

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium