CVE-2026-74297
RDMA/mlx5: Fix undefined shift of user RQ WQE size
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix undefined shift of user RQ WQE size set_rq_size() computes the RQ WQE size as "1 << rq_wqe_shift" based on the user-provided rq_wqe_shift, which is only checked to be greater than 32, so shifts of 32 are still accepted. A shift of 31 also overflows a signed integer, leading to undefined behavior. Use check_shl_overflow() to compute the RQ WQE size and reject any invalid values.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 15, 2026, 6:22 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-74297
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply the patch to fix the shift overflow.
- Validate RQ WQE size calculations.
- Update the Linux kernel to the patched version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74297.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74297 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74297
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74297 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74297 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': '9fff54929cc00849d738faa99f06c32399aeb026', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': 'b746f949c2ac2b041102836095d6d4a2ef21fa75', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': 'c1dbf52d24a8cb1aa56780ba51b72e7d495f258c', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': '6fc874fdfb366bfb11c62e6af9a831c8be59ddda', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': '42f3d2c8c18b92ea33e506a38b64f1a8986c2823', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': '4b87a2497276a72fd63028e7419abf0fb7ed837b', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': 'b732db02a2b04cde393638df19de6251ce62a74e', 'versionType': 'git'}, {'status': 'affected', 'version': 'e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c', 'lessThan': 'd881d60223aac8fdc12b227d89c76e131e92a9cd', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/hw/mlx5/qp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/hw/mlx5/qp.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix undefined shift of user RQ WQE size set_rq_size() computes the RQ WQE size as "1 << rq_wqe_shift" based on the user-provided rq_wqe_shift, which is only checked to be greater than 32, so shifts of 32 are still accepted. A shift of 31 also overflows a signed integer, leading to undefined behavior. Use check_shl_overflow() to compute the RQ WQE size and reject any invalid values. Added Reference https://git.kernel.org/stable/c/42f3d2c8c18b92ea33e506a38b64f1a8986c2823 Added Reference https://git.kernel.org/stable/c/4b87a2497276a72fd63028e7419abf0fb7ed837b Added Reference https://git.kernel.org/stable/c/6fc874fdfb366bfb11c62e6af9a831c8be59ddda Added Reference https://git.kernel.org/stable/c/9fff54929cc00849d738faa99f06c32399aeb026 Added Reference https://git.kernel.org/stable/c/b732db02a2b04cde393638df19de6251ce62a74e Added Reference https://git.kernel.org/stable/c/b746f949c2ac2b041102836095d6d4a2ef21fa75 Added Reference https://git.kernel.org/stable/c/c1dbf52d24a8cb1aa56780ba51b72e7d495f258c Added Reference https://git.kernel.org/stable/c/d881d60223aac8fdc12b227d89c76e131e92a9cd