Linux · Linux Kernel · CVE-2024-57953
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to an integer overflow in the Linux kernel, specifically in the `tps6594 rtc set offset()` function. The problem occurs when the `offset` variable, which is a long in the range (-277774)-277774, is multiplied by `TICKS PER HOUR`, a large number approximately equal to a hundred million. This multiplication can cause an overflow on 32-bit systems, where a long can hold numbers up to approximately two billion.
**Recommendations**
To resolve the issue, consider changing the type of `TICKS PER HOUR` to `long long` to prevent the integer overflow.