5.5medium
rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 2 more 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.* | CVE List |
| 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 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtc: comprobar si __rtc_read_time se ha ejecutado correctamente en rtc_timer_do_work() Si la llamada a __rtc_read_time falla, la estructura rtc_time tm; puede contener datos no inicializados o una fecha/hora ilegal leída desde el hardware RTC. Al llamar a rtc_tm_to_ktime más tarde, el resultado puede ser un valor muy grande (posiblemente KTIME_MAX). Si hay temporizadores periódicos en rtc->timerqueue, expirarán continuamente, lo que puede provocar un bloqueo suave del kernel.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56739 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-56739 changed 2026-06-17 | Public domain |