PT-2024-27210
CVE-2024-36920
·
تاريخ النشر
2024-03-23
·
تاريخ التحديث
2026-10-19
الوصف من
CVSS 2.0
5.7
متوسطةالمقاييسAV:L/AC:L/Au:S/C:P/I:P/A:C
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a memcpy field-spanning write warning in the Linux kernel's mpi3mr driver. When the "storcli2 show" command is executed for eHBA-9600, the driver prints a warning message indicating a detected field-spanning write of size 128 to a single field "bsg reply buf->reply buf". The cause of the warning is a 128-byte memcpy to a 1-byte size array " u8 replay buf[1]" in the struct mpi3mr bsg in reply buf, which is intended to be a flexible length array, resulting in a false positive warning.
Recommendations
To suppress the warning, remove the constant number '1' from the array declaration and clarify that it has flexible length. Also, adjust the memory allocation size to match the change.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾