Thread (4 messages) 4 messages, 4 authors, 2025-08-02

Re: [PATCH v3 net] net/sched: taprio: enforce minimum value for picos_per_byte

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-08-02 00:29:55

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 29 Jul 2025 02:31:49 +0900 you wrote:
Syzbot reported a WARNING in taprio_get_start_time().

When link speed is 470,589 or greater, q->picos_per_byte becomes too
small, causing length_to_duration(q, ETH_ZLEN) to return zero.

This zero value leads to validation failures in fill_sched_entry() and
parse_taprio_schedule(), allowing arbitrary values to be assigned to
entry->interval and cycle_time. As a result, sched->cycle can become zero.

[...]
Here is the summary with links:
  - [v3,net] net/sched: taprio: enforce minimum value for picos_per_byte
    https://git.kernel.org/netdev/net/c/ae8508b25def

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help