[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aNaN4DtuP0QJZVus@hoboy.vegasvil.org>
Date: Fri, 26 Sep 2025 05:58:08 -0700
From: Richard Cochran <richardcochran@...il.com>
To: I Viswanath <viswanathiyyappan@...il.com>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev, david.hunter.linux@...il.com,
syzbot+94d20db923b9f51be0df@...kaller.appspotmail.com
Subject: Re: [PATCH net v3] ptp: Add a upper bound on max_vclocks
On Thu, Sep 25, 2025 at 09:29:08PM +0530, I Viswanath wrote:
> syzbot reported WARNING in max_vclocks_store.
>
> This occurs when the argument max is too large for kcalloc to handle.
>
> Extend the guard to guard against values that are too large for
> kcalloc
>
> Reported-by: syzbot+94d20db923b9f51be0df@...kaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=94d20db923b9f51be0df
> Tested-by: syzbot+94d20db923b9f51be0df@...kaller.appspotmail.com
> Fixes: 73f37068d540 ("ptp: support ptp physical/virtual clocks conversion")
> Signed-off-by: I Viswanath <viswanathiyyappan@...il.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists