CVE-2024-56739
rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
Reported by linux · Published December 29, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| bpftool | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-livepatch-6.1.124-134.200 | Amazon Linux | 1.0-0.amzn2023 |
| perf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.12.2, 6.11.11, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287, 4.19.325 |
| Linux | Linux | fde56535505dde3336df438e949ef4742b6d6d6e, e8ba8a2bc4f60a1065f23d6a0e7cbea945a0f40d, e77bce0a8c3989b4173c36f4195122bca8f4a3e1, dd4b1cbcc916fad5d10c2662b62def9f05e453d4, a1f0b4af90cc18b10261ecde56c6a56b22c75bd1, 44b3257ff705d63d5f00ef8ed314a0eeb7ec37f2, 39ad0a1ae17b54509cd9e93dcd8cec16e7c12d3f, 246f621d363988e7040f4546d20203dc713fa3e1, 2.6.38, 0d68e8514d9040108ff7d1b37ca71096674b6efe |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6610e0893b8bc6f59b14fed7f089c5997f035f88, 6610e0893b8bc6f59b14fed7f089c5997f035f88, 6610e0893b8bc6f59b14fed7f089c5997f035f88 |
| Linux | Linux | 2.6.38, 0, 4.19.325 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | 5.15.174, 6610e0893b8bc6f59b14fed7f089c5997f035f88, 6610e0893b8bc6f59b14fed7f089c5997f035f88 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 2.6.38, 2.6.38, 2.6.38 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
Timeline
- Dec 29, 2024 CVE Published
- Dec 30, 2024 EPSS Score (30 in total, the first dated here)
- Jan 20, 2025 Coalition ESS Score (27 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 29, 2025 Security Advisory (452 in total, the first dated here)
- Dec 29, 2025 CVE Updated
- Apr 29, 2026 Distribution Patch (369 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-56739
vulnetix vdb fixes CVE-2024-56739
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56739/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart