{"id":"CVE-2024-40990","summary":"RDMA/mlx5: Add check for srq max_sge attribute","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Add check for srq max_sge attribute\n\nmax_sge attribute is passed by the user, and is inserted and used\nunchecked, so verify that the value doesn't exceed maximum allowed value\nbefore using it.","modified":"2026-03-20T12:37:27.529527Z","published":"2024-07-12T12:37:34.485Z","related":["SUSE-SU-2024:2892-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40990.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1e692244bf7dd827dd72edc6c4a3b36ae572f03c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36ab7ada64caf08f10ee5a114d39964d1f91e81d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ab99e3613139f026d2d8ba954819e2876120ab3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7186b81c1f15e39069b1af172c6a951728ed3511"},{"type":"WEB","url":"https://git.kernel.org/stable/c/999586418600b4b3b93c2a0edd3a4ca71ee759bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0deb0e9c967b61420235f7f17a4450b4b4d6ce2"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40990.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40990"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c"},{"fixed":"7186b81c1f15e39069b1af172c6a951728ed3511"},{"fixed":"1e692244bf7dd827dd72edc6c4a3b36ae572f03c"},{"fixed":"999586418600b4b3b93c2a0edd3a4ca71ee759bf"},{"fixed":"e0deb0e9c967b61420235f7f17a4450b4b4d6ce2"},{"fixed":"4ab99e3613139f026d2d8ba954819e2876120ab3"},{"fixed":"36ab7ada64caf08f10ee5a114d39964d1f91e81d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40990.json"}}],"schema_version":"1.7.5"}