Linux · Linux Kernel · CVE-2024-26883
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 stackmap code of the Linux kernel on 32-bit architectures. This overflow occurs when the roundup pow of two() function is used to compute the number of hash buckets, and it contains an overflow check by verifying if the resulting value is 0. However, on 32-bit architectures, the roundup code itself can overflow due to a 32-bit left-shift of an unsigned long value, which is undefined behavior and may not truncate neatly. The problem was triggered by syzbot on the DEVMAP HASH type, which includes the same check copied from the hashtab code.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.