summaryrefslogtreecommitdiff
path: root/include/mtd/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2026-03-16 13:39:47 -0500
committerLeon Romanovsky <leonro@nvidia.com>2026-03-18 06:20:53 -0400
commite37afcb56ae070477741fe2d6e61fc0c542cce2d (patch)
treebf9add2502b85183086248b456d7efde0a4c74d9 /include/mtd/git@git.tavy.me:linux.git
parent7221f581eefa79ead06e171044f393fb7ee22f87 (diff)
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. Fixes: 563e1feb5f6e ("RDMA/irdma: Add SRQ support") Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions