# CVE-2024-56739: rtc: check if __rtc_read_time was successful in rtc_timer_do_work()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-29T11:30:08.512Z
- Modified: 2026-06-17T08:12:52.533Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before 39ad0a1ae17b54509cd9e93dcd8cec16e7c12d3f; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before 44b3257ff705d63d5f00ef8ed314a0eeb7ec37f2; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before 0d68e8514d9040108ff7d1b37ca71096674b6efe; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before 246f621d363988e7040f4546d20203dc713fa3e1; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before fde56535505dde3336df438e949ef4742b6d6d6e; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before dd4b1cbcc916fad5d10c2662b62def9f05e453d4; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before a1f0b4af90cc18b10261ecde56c6a56b22c75bd1; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before e77bce0a8c3989b4173c36f4195122bca8f4a3e1; from 6610e0893b8bc6f59b14fed7f089c5997f035f88 before e8ba8a2bc4f60a1065f23d6a0e7cbea945a0f40d; 2.6.38 (not affected: before 2.6.38; from 4.19.325 up to 4.19.*; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 2.6.38 before 4.19.325; from 4.20 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/39ad0a1ae17b54509cd9e93dcd8cec16e7c12d3f> (patch)
- <https://git.kernel.org/stable/c/44b3257ff705d63d5f00ef8ed314a0eeb7ec37f2> (patch)
- <https://git.kernel.org/stable/c/0d68e8514d9040108ff7d1b37ca71096674b6efe> (patch)
- <https://git.kernel.org/stable/c/246f621d363988e7040f4546d20203dc713fa3e1> (patch)
- <https://git.kernel.org/stable/c/fde56535505dde3336df438e949ef4742b6d6d6e> (patch)
- <https://git.kernel.org/stable/c/dd4b1cbcc916fad5d10c2662b62def9f05e453d4> (patch)
- <https://git.kernel.org/stable/c/a1f0b4af90cc18b10261ecde56c6a56b22c75bd1> (patch)
- <https://git.kernel.org/stable/c/e77bce0a8c3989b4173c36f4195122bca8f4a3e1> (patch)
- <https://git.kernel.org/stable/c/e8ba8a2bc4f60a1065f23d6a0e7cbea945a0f40d> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56739](https://www.cve.org/CVERecord?id=CVE-2024-56739), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56739](https://nvd.nist.gov/vuln/detail/CVE-2024-56739), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56739 · Whole record: https://cve.day/CVE-2024-56739.json · Rebuilt by cve.day 2026-11-25T22:58:50.559Z
