# Re: \[PATCH net\] net/sched: sch\_taprio: fix undefined behavior in ktime\_mono\_to\_any

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-11-10 03:20:11 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/11/11215821
- Thread: https://ratatoskr.run/netdev/2021/11/11215771/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [ref]:

On Mon,  8 Nov 2021 10:08:15 -0800 you wrote:
> From: Eric Dumazet <redacted>
> 
> 1) if q->tk_offset == TK_OFFS_MAX, then get_tcp_tstamp() calls
>    ktime_mono_to_any() with out-of-bound value.
> 
> 2) if q->tk_offset is changed in taprio_parse_clockid(),
>    taprio_get_time() might also call ktime_mono_to_any()
>    with out-of-bound value as sysbot found:
> 
> [...]

Here is the summary with links:
  - [net] net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
    https://git.kernel.org/netdev/net/c/6dc25401cba4

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


```
