CVE-2024-57890

Medium

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.

Package Linux Kernel
Published 2025-01-15
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-190

CVE-2024-57890 is a Integer Overflow vulnerability

What is Integer Overflow?

The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE

Affected versions

Linux kernel versions 2.6.15 and later are affected. Fixed in 5.4.289, 5.10.233, 5.15.176, 6.1.124, 6.6.70, 6.12.9, 6.13 and their respective stable series.

Affected from
≥ 2.6.15
Fixed in
✓ 5.4.289 5.4.x ✓ 5.10.233 5.10.x ✓ 5.15.176 5.15.x ✓ 6.1.124 6.1.x ✓ 6.6.70 6.6.x ✓ 6.12.9 6.12.x ✓ 6.13

References

The following references provide additional information about CVE-2024-57890 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2024-57890?

    CVE-2024-57890 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Integer Overflow flaw (CWE-190) . It affects Linux kernel versions from 2.6.15 onward and has been patched in 5.4.289, 5.10.233, 5.15.176 and others. CVE-2024-57890 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-57890?

    CVE-2024-57890 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-57890?

    Yes — CVE-2024-57890 has been patched. Fixed versions include 5.4.289, 5.10.233, 5.15.176 and others. If you are running Linux kernel 2.6.15 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-57890 actively exploited?

    No — CVE-2024-57890 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

  • What is Integer Overflow (CWE-190)?

    The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →