CVE-2024-40994Published Jul 12, 2024 · Jul 12Updated Oct 28
ptp: fix integer overflow in max_vclocks_store
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ptp: fix integer overflow in max_vclocks_store
On 32bit systems, the "4 * max" multiply can overflow. Use kcalloc() to do the allocation to prevent this.
From the CVE record · Linux
On 32-bit systems, a multiplication in the Linux kernel's ptp max_vclocks_store can overflow during allocation. The input does not specify what an attacker could achieve or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux on 32-bit systems should check whether their kernel includes the fix; affected versions are not specified.