rtc: check if __rtc_read_time was successful in rtc_timer_do_work() (Linux Linux)

CVE-2024-56739
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < 39ad0a1ae17b54509cd9e93dcd8cec16e7c12d3f ; affected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < 44b3257ff705d63d5f00ef8ed314a0eeb7ec37f2 ; affected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < 0d68e8514d9040108ff7d1b37ca71096674b6efe ; affected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < 246f621d363988e7040f4546d20203dc713fa3e1 ; affected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < fde56535505dde3336df438e949ef4742b6d6d6e ; affected 6610e0893b8bc6f59b14fed7f089c5997f035f88 < dd4b1cbcc916fad5d10c2662b62def9f05e453d4
Linux · Linuxaffected 2.6.38 ; unaffected 0 < 2.6.38 ; unaffected 4.19.325 ≤ 4.19.* ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD