[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151204.142651.968075964630586979.davem@davemloft.net>
Date: Fri, 04 Dec 2015 14:26:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: alexei.starovoitov@...il.com
Cc: dvyukov@...gle.com, ast@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller@...glegroups.com,
kcc@...gle.com, glider@...gle.com, sasha.levin@...cle.com,
edumazet@...gle.com, ryabinin.a.a@...il.com
Subject: Re: bpf: undefined shift in __bpf_prog_run
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
Date: Fri, 4 Dec 2015 11:10:15 -0800
> just don't generate random bpf programs with such shifts.
Agreed, it is exactly the same as if the compiler emitted real cpu
shift instructions with undefined behavior.
The creator of the BPF code in question is what should be fixed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists