Thread (4 messages) 4 messages, 4 authors, 2025-09-26

Re: [PATCH net v3] ptp: Add a upper bound on max_vclocks

From: Richard Cochran <richardcochran@gmail.com>
Date: 2025-09-26 12:58:12
Also in: linux-kernel-mentees, lkml

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@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=94d20db923b9f51be0df
Tested-by: syzbot+94d20db923b9f51be0df@syzkaller.appspotmail.com
Fixes: 73f37068d540 ("ptp: support ptp physical/virtual clocks conversion")
Signed-off-by: I Viswanath <redacted>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help