CVE-2024-40990

RDMA/mlx5: Add check for srq max_sge attribute

State
Published
Severity
7.8 High
Published
Jul 12, 2024
Updated
Aug 5, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Add check for srq max_sge attribute

max_sge attribute is passed by the user, and is inserted and used unchecked, so verify that the value doesn't exceed maximum allowed value before using it.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 7186b81c1f15e39069b1af172c6a951728ed3511Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 1e692244bf7dd827dd72edc6c4a3b36ae572f03cAffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 999586418600b4b3b93c2a0edd3a4ca71ee759bfAffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before e0deb0e9c967b61420235f7f17a4450b4b4d6ce2Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 4ab99e3613139f026d2d8ba954819e2876120ab3Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 36ab7ada64caf08f10ee5a114d39964d1f91e81dAffected
LinuxLinux
  • 3.11Affected
  • before 3.11Not affected
  • 5.10.221 through 5.10.*Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.96 through 6.1.*Not affected
  • 6.6.36 through 6.6.*Not affected
  • 6.9.7 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.