CVE-2024-57953
MediumIn the Linux kernel, the following vulnerability has been resolved: rtc: tps6594: Fix integer overflow on 32bit systems The problem is this multiply in tps6594_rtc_set_offset() tmp = offset * TICKS_PER_HOUR; The "tmp" variable is an s64 but "offset" is a long in the (-277774)-277774 range. On 32bit systems a long can hold numbers up to approximately two billion. The number of TICKS_PER_HOUR is really large, (32768 * 3600) or roughly a hundred million. When you start multiplying by a hundred million it doesn't take long to overflow the two billion mark. Probably the safest way to fix this is to change the type of TICKS_PER_HOUR to long long because it's such a large number.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-190CVE-2024-57953 is a Integer Overflow vulnerability
What is Integer Overflow?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.8
and later are affected. Fixed in
6.12.13,
6.13.2,
6.14
and their respective stable series.
References
The following references provide additional information about CVE-2024-57953 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/09c4a610153286cef54d4f0c85398f4e32fc227e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5127f3cbfc78a7b301b86328247230bec47e0bb3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/53b0c7b15accb18d15d95c7fe68f61630ebfd1ca
Frequently asked questions
-
What is CVE-2024-57953?
CVE-2024-57953 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Integer Overflow flaw (CWE-190) . It affects Linux kernel versions from 6.8 onward and has been patched in 6.12.13, 6.13.2 and 6.14. CVE-2024-57953 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-57953?
CVE-2024-57953 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-57953?
Yes — CVE-2024-57953 has been patched. Fixed versions include 6.12.13, 6.13.2 and 6.14. If you are running Linux kernel 6.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-57953 actively exploited?
No — CVE-2024-57953 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Integer Overflow (CWE-190)?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →