Linux · Linux Kernel · CVE-2024-38541
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a buffer overflow in the `of modalias()` function. If the buffer is too small, the `len` parameter becomes negative, and the `str` parameter points beyond the buffer's end. This can be exploited to impact the confidentiality, integrity, and availability of protected information. The vulnerability is resolved by adding a buffer overflow check after the first `snprintf()` call and fixing the check after the `strlen()` call.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.