[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169079162223.10005.12445736305010223466.git-patchwork-notify@kernel.org>
Date: Mon, 31 Jul 2023 08:20:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, vinicius.gomes@...el.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us, vedang.patel@...el.com,
kuni1840@...il.com, netdev@...r.kernel.org, syzkaller@...glegroups.com,
pctammela@...atatu.com
Subject: Re: [PATCH v3 net] net/sched: taprio: Limit
TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Fri, 28 Jul 2023 17:07:05 -0700 you wrote:
> syzkaller found zero division error [0] in div_s64_rem() called from
> get_cycle_time_elapsed(), where sched->cycle_time is the divisor.
>
> We have tests in parse_taprio_schedule() so that cycle_time will never
> be 0, and actually cycle_time is not 0 in get_cycle_time_elapsed().
>
> The problem is that the types of divisor are different; cycle_time is
> s64, but the argument of div_s64_rem() is s32.
>
> [...]
Here is the summary with links:
- [v3,net] net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
https://git.kernel.org/netdev/net/c/e739718444f7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists