[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171233693092.304466.7167467366245404657.b4-ty@kernel.org>
Date: Fri, 05 Apr 2024 22:38:50 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
Mikhail Kobuk <m.kobuk@...ras.ru>
Cc: Kishon Vijay Abraham I <kishon@...nel.org>,
Marek Behún <kabel@...nel.org>,
Pali Rohár <pali@...nel.org>,
linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, Alexey Khoroshilov <khoroshilov@...ras.ru>
Subject: Re: [PATCH 1/2] phy: marvell: a3700-comphy: Fix out of bounds read
On Thu, 21 Mar 2024 19:47:30 +0300, Mikhail Kobuk wrote:
> There is an out of bounds read access of 'gbe_phy_init_fix[fix_idx].addr'
> every iteration after 'fix_idx' reaches 'ARRAY_SIZE(gbe_phy_init_fix)'.
>
> Make sure 'gbe_phy_init[addr]' is used when all elements of
> 'gbe_phy_init_fix' array are handled.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Applied, thanks!
[1/2] phy: marvell: a3700-comphy: Fix out of bounds read
commit: e4308bc22b9d46cf33165c9dfaeebcf29cd56f04
[2/2] phy: marvell: a3700-comphy: Fix hardcoded array size
commit: 627207703b73615653eea5ab7a841d5b478d961e
Best regards,
--
~Vinod
Powered by blists - more mailing lists