CVE-2024-57973

medium

Description

In the Linux kernel, the following vulnerability has been resolved: rdma/cxgb4: Prevent potential integer overflow on 32bit The "gl->tot_len" variable is controlled by the user. It comes from process_responses(). On 32bit systems, the "gl->tot_len + sizeof(struct cpl_pass_accept_req) + sizeof(struct rss_header)" addition could have an integer wrapping bug. Use size_add() to prevent this.

References

https://git.kernel.org/stable/c/e53ca458f543aa352d09b484550de173cb9085c2

https://git.kernel.org/stable/c/de8d88b68d0cfd41152a7a63d6aec0ed3e1b837a

https://git.kernel.org/stable/c/dd352107f22bfbecbbf3b74bde14f3f932296309

https://git.kernel.org/stable/c/d64148a10a85952352de6091ceed99fb9ce2d3ee

https://git.kernel.org/stable/c/bd96a3935e89486304461a21752f824fc25e0f0b

https://git.kernel.org/stable/c/aeb814484387811b3579d5c78ad4eb301e3bf1c8

https://git.kernel.org/stable/c/4422f452d028850b9cc4fd8f1cf45a8ff91855eb

https://git.kernel.org/stable/c/2b759f78b83221f4a1cae3aeb20b500e375f3ee6

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-03-13

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium