# CVE-2024-40990: RDMA/mlx5: Add check for srq max_sge attribute

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-12T12:37:34.485Z
- Modified: 2026-08-05T11:34:28.146Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 7186b81c1f15e39069b1af172c6a951728ed3511; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 1e692244bf7dd827dd72edc6c4a3b36ae572f03c; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 999586418600b4b3b93c2a0edd3a4ca71ee759bf; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before e0deb0e9c967b61420235f7f17a4450b4b4d6ce2; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 4ab99e3613139f026d2d8ba954819e2876120ab3; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 36ab7ada64caf08f10ee5a114d39964d1f91e81d; 3.11 (not affected: before 3.11; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.96 up to 6.1.*; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 3.11 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.96; from 6.2 before 6.6.36; from 6.7 before 6.9.7; 6.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7186b81c1f15e39069b1af172c6a951728ed3511> (patch)
- <https://git.kernel.org/stable/c/1e692244bf7dd827dd72edc6c4a3b36ae572f03c> (patch)
- <https://git.kernel.org/stable/c/999586418600b4b3b93c2a0edd3a4ca71ee759bf> (patch)
- <https://git.kernel.org/stable/c/e0deb0e9c967b61420235f7f17a4450b4b4d6ce2> (patch)
- <https://git.kernel.org/stable/c/4ab99e3613139f026d2d8ba954819e2876120ab3> (patch)
- <https://git.kernel.org/stable/c/36ab7ada64caf08f10ee5a114d39964d1f91e81d> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-40990](https://www.cve.org/CVERecord?id=CVE-2024-40990), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-40990](https://nvd.nist.gov/vuln/detail/CVE-2024-40990), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-40990 · Whole record: https://cve.day/CVE-2024-40990.json · Rebuilt by cve.day 2026-11-25T22:58:42.879Z
