CVE-2024-57953
rtc: tps6594: Fix integer overflow on 32bit systems
Reported by linux · Published February 27, 2025
In 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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9f67c1e63976d3403f0b250b03ffe959c890f9db, 9f67c1e63976d3403f0b250b03ffe959c890f9db, 9f67c1e63976d3403f0b250b03ffe959c890f9db |
| Linux | Linux | 6.8, 0, 6.12.13 |
| linux | linux_kernel | 6.8, 6.8, 6.8 |
| Linux | Linux | 9f67c1e63976d3403f0b250b03ffe959c890f9db, 9f67c1e63976d3403f0b250b03ffe959c890f9db, 6.8 |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Mar 14, 2025 Coalition ESS Score (7 in total, the first dated here)
- Dec 29, 2025 Security Advisory (357 in total, the first dated here)
- Nov 2, 2026 Distribution Patch (312 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-57953
vulnetix vdb fixes CVE-2024-57953
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-57953/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart