CVE-2024-40990

RDMA/mlx5: Add check for srq max_sge attribute

MEDIUM
5.5
CVSS Score
Published: July 12, 2024 at 12:37 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.11 ≤ v < 5.10.2213.11 ≤ v < 5.15.1623.11 ≤ v < 6.1.963.11 ≤ v < 6.103.11 ≤ v < 6.6.363.11 ≤ v < 6.9.75.11 ≤ v < 5.15.1625.16 ≤ v < 6.1.966.2 ≤ v < 6.6.366.7 ≤ v < 6.9.76.10 rc16.10 rc26.10 rc36.10 rc4e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c
Vendor states this is fixed in 1e692244bf7dd827dd72edc6c4a3b36ae572f03c (fixed)
Vendor states this is fixed in 36ab7ada64caf08f10ee5a114d39964d1f91e81d (fixed)
Vendor states this is fixed in 4ab99e3613139f026d2d8ba954819e2876120ab3 (fixed)
Vendor states this is fixed in 7186b81c1f15e39069b1af172c6a951728ed3511 (fixed)
Vendor states this is fixed in 999586418600b4b3b93c2a0edd3a4ca71ee759bf (fixed)
Vendor states this is fixed in e0deb0e9c967b61420235f7f17a4450b4b4d6ce2 (fixed)
Vendor states this is fixed in 3.11 (unaffected)
Vendor states this is fixed in 5.10.221 (unaffected)
Vendor states this is fixed in 5.15.162 (unaffected)
Vendor states this is fixed in 6.1.96 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.36 (unaffected)
Vendor states this is fixed in 6.9.7 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1e692244bf7dd827dd72edc6c4a3b36ae572f03c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/36ab7ada64caf08f10ee5a114d39964d1f91e81d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ab99e3613139f026d2d8ba954819e2876120ab3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7186b81c1f15e39069b1af172c6a951728ed3511
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/999586418600b4b3b93c2a0edd3a4ca71ee759bf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0deb0e9c967b61420235f7f17a4450b4b4d6ce2
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card