Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-10

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

Hello:

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

On Mon,  8 Nov 2021 10:08:15 -0800 you wrote:
From: Eric Dumazet <edumazet@google.com>

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

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