[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174145886664.308372.5469459244434611708.b4-ty@kernel.org>
Date: Sat, 08 Mar 2025 13:34:26 -0500
From: Leon Romanovsky <leon@...nel.org>
To: Konstantin Taranov <kotaranov@...rosoft.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Long Li <longli@...rosoft.com>, Jason Gunthorpe <jgg@...pe.ca>,
Shiraz Saleem <shirazsaleem@...rosoft.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] RDMA/mana_ib: Use safer allocation function()
On Thu, 06 Mar 2025 22:49:06 +0300, Dan Carpenter wrote:
> My static checker says this multiplication can overflow. I'm not an
> expert in this code but the call tree would be:
>
> ib_uverbs_handler_UVERBS_METHOD_QP_CREATE() <- reads cap from the user
> -> ib_create_qp_user()
> -> create_qp()
> -> mana_ib_create_qp()
> -> mana_ib_create_ud_qp()
> -> create_shadow_queue()
>
> [...]
Applied, thanks!
[1/1] RDMA/mana_ib: Use safer allocation function()
https://git.kernel.org/rdma/rdma/c/1d5c69514e7428
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists