CVE-2024-57973
JSON

8.1high

rdma/cxgb4: Prevent potential integer overflow on 32bit

Severity
8.1high CVSS:3.1 by Linux
Exploit likelihood
0.89% (higher than 57% of CVEs)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1cab775c3e75f1250c965feafd061d696df36e53 before 2b759f78b83221f4a1cae3aeb20b500e375f3ee6, from 1cab775c3e75f1250c965feafd061d696df36e53 before d64148a10a85952352de6091ceed99fb9ce2d3ee, from 1cab775c3e75f1250c965feafd061d696df36e53 before e53ca458f543aa352d09b484550de173cb9085c2, from 1cab775c3e75f1250c965feafd061d696df36e53 before 4422f452d028850b9cc4fd8f1cf45a8ff91855eb, from 1cab775c3e75f1250c965feafd061d696df36e53 before de8d88b68d0cfd41152a7a63d6aec0ed3e1b837a, from 1cab775c3e75f1250c965feafd061d696df36e53 before dd352107f22bfbecbbf3b74bde14f3f932296309, from 1cab775c3e75f1250c965feafd061d696df36e53 before aeb814484387811b3579d5c78ad4eb301e3bf1c8, from 1cab775c3e75f1250c965feafd061d696df36e53 before bd96a3935e89486304461a21752f824fc25e0f0b and 1 more
Not affected: before 3.8, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.76 up to 6.6.*
CVE List
linux linux_kernelfrom 3.8 before 6.1.129, from 6.2 before 6.6.76, from 6.7 before 6.12.13, from 6.13 before 6.13.2NVD

All scores

Linux8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rdma/cxgb4: Evitar un posible desbordamiento de enteros en 32 bits La variable "gl->tot_len" está controlada por el usuario. Proviene de process_responses(). En sistemas de 32 bits, la adición "gl->tot_len + sizeof(struct cpl_pass_accept_req) + sizeof(struct rss_header)" podría tener un error de envoltura de enteros. Utilice size_add() para evitar esto.

References

https://git.kernel.org/stable/c/2b759f78b83221f4a1cae3aeb20b500e375f3ee6
https://git.kernel.org/stable/c/d64148a10a85952352de6091ceed99fb9ce2d3ee
https://git.kernel.org/stable/c/e53ca458f543aa352d09b484550de173cb9085c2
https://git.kernel.org/stable/c/4422f452d028850b9cc4fd8f1cf45a8ff91855ebpatch
https://git.kernel.org/stable/c/de8d88b68d0cfd41152a7a63d6aec0ed3e1b837apatch
https://git.kernel.org/stable/c/dd352107f22bfbecbbf3b74bde14f3f932296309patch
https://git.kernel.org/stable/c/aeb814484387811b3579d5c78ad4eb301e3bf1c8patch
https://git.kernel.org/stable/c/bd96a3935e89486304461a21752f824fc25e0f0bpatch
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Sources

SourceRecordLicence
CVE ListCVE-2024-57973 changed 2026-11-10CVE Terms of Use
NVDCVE-2024-57973 changed 2026-11-10Public domain