CVE-2024-40990
kernel: RDMA/mlx5: Add check for srq max_sge attribute
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 12, 2024
Updated · August 5, 2026
Description
A vulnerability was found in the Linux kernel's RDMA mlx5 driver in the srq.c file, where the max_sge attribute is used without validation, the attribute is provided by the user and may exceed the maximum allowed value, leading to potential buffer overflows result in memory corruption.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 4.2CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
CWE-20 · Improper Input Validation