public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] acess_ok() missing from zerocopy_sg_from_iovec()
@ 2013-06-04  0:34 Eric Dumazet
  2013-06-04  1:06 ` Eric Dumazet
  2013-06-04  5:30 ` Michael S. Tsirkin
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Dumazet @ 2013-06-04  0:34 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: netdev

It looks like access_ok(VERIFY_READ, base, len) checks are missing in
drivers/net/tun.c & drivers/net/macvtap.c before the
get_user_pages_fast() calls.

Or am I missing something ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-04  5:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04  0:34 [BUG] acess_ok() missing from zerocopy_sg_from_iovec() Eric Dumazet
2013-06-04  1:06 ` Eric Dumazet
2013-06-04  3:25   ` Jason Wang
2013-06-04  5:32   ` Michael S. Tsirkin
2013-06-04  5:30 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox