CVE-2024-57890 Details
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Prevent integer overflow issue In the expression "cmd.wqe_size * cmd.wr_count", both variables are u32 values that come from the user so the multiplication can lead to integer wrapping. Then we pass the result to uverbs_request_next_ptr() which also could potentially wrap. The "cmd.sge_count * sizeof(struct ib_uverbs_sge)" multiplication can also overflow on 32bit systems although it's fine on 64bit systems. This patch does two things. First, I've re-arranged the condition in uverbs_request_next_ptr() so that the use controlled variable "len" is on one side of the comparison by itself without any math. Then I've modified all the callers to use size_mul() for the multiplications.
An integer overflow vulnerability has been identified in the Linux kernel's RDMA/uverbs component. This issue arises from user-supplied values in the 'cmd.wqe_size' and 'cmd.wr_count' variables, where their multiplication can lead to integer wrapping. The resulting value is then passed to 'uverbs_request_next_ptr()', which could also be susceptible to wrapping. Additionally, on 32-bit systems, the multiplication of 'cmd.sge_count' and 'sizeof(struct ib_uverbs_sge)' can overflow, although this is not a concern on 64-bit systems.
Users can apply the latest patches available in the Linux kernel's official repository to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.15, < 5.4.289 >= 5.5, < 5.10.233 >= 5.11, < 5.15.176 >= 5.16, < 6.1.124 >= 6.2, < 6.6.70 >= 6.7, < 6.12.9 6.13 rc1 6.13 rc2 6.13 rc3 6.13 rc4 6.13 rc5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Jan 21, 2025 | Initial Analysis | [email protected] |
| Jan 15, 2025 | New CVE Received | kernel.org |