RDMA/irdma: Harden depth calculation functions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.216.19.117.0In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Harden depth calculation functions
An issue was exposed where OS can pass in U32_MAX for SQ/RQ/SRQ size. This can cause integer overflow and truncation of SQ/RQ/SRQ depth returning a success when it should have failed.
Harden the functions to do all depth calculations and boundary checking in u64 sizes.
From the CVE record · Linux
Linux kernel RDMA/irdma depth calculations can overflow or truncate when the OS supplies U32_MAX as an SQ, RQ, or SRQ size. The functions may then report success when they should fail. The input does not specify an attacker, access requirements, or user interaction.
Engineers running Linux kernels with RDMA/irdma should check their exposure; affected versions are not specified.