CVE-2024-56739: rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
In the Linux kernel, the following vulnerability has been resolved:
rtc: check if rtcreadtime was successful in rtctimerdowork()
If the rtcreadtime call fails,, the struct rtctime tm; may contain uninitialized data, or an illegal date/time read from the RTC hardware.
When calling rtctmtoktime later, the result may be a very large value (possibly KTIMEMAX). If there are periodic timers in rtc->timerqueue, they will continually expire, may causing kernel softlockup.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
rtc: check if rtcreadtime was successful in rtctimerdowork()
If the rtcreadtime call fails,, the struct rtctime tm; may contain uninitialized data, or an illegal date/time read from the RTC hardware.
When calling rtctmtoktime later, the result may be a very large value (possibly KTIMEMAX). If there are periodic timers in rtc-timerqueue, they will continually expire, may causing kernel softlockup.
— IBM
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56739?
CVE-2024-56739 is considered a medium severity vulnerability due to potential exposure to uninitialized data.
How do I fix CVE-2024-56739?
To mitigate CVE-2024-56739, upgrade the Linux kernel to a version that addresses this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-56739?
CVE-2024-56739 affects Linux kernel versions from 2.6.38 up to 6.12.2.
What is the impacts of CVE-2024-56739?
The impact of CVE-2024-56739 may include the use of uninitialized data leading to unreliable or improper date and time readings.
Is there a workaround for CVE-2024-56739?
Currently, there are no recommended workarounds for CVE-2024-56739, so applying the patch is essential.