rdma/cxgb4: Prevent potential integer overflow on 32bit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1cab775c3e75f1250c965feafd061d696df36e53 · < dd352107f22bfbecbbf3b74bde14f3f932296309| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s rdma/cxgb4 component has a potential integer overflow on 32-bit systems when adding a user-controlled length to header sizes. A local user could supply a length that causes the addition to wrap; the input does not specify further impact or authentication requirements.
Operators running the Linux kernel on 32-bit systems should check whether they use rdma/cxgb4; affected versions are not specified.