[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130719154556.GF4165@ZenIV.linux.org.uk>
Date: Fri, 19 Jul 2013 16:45:56 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Patrick McHardy <kaber@...sh.net>
Cc: netdev@...r.kernel.org
Subject: Re: buggy check in netlink_mmap_sendmsg()
On Fri, Jul 19, 2013 at 05:38:46PM +0200, Patrick McHardy wrote:
> >From what I can tell, the second check should catch the second case you
> describe. If the address space is shared, dup_mmap() will invoke
> netlink_mmap_ops->open
See the check for CLONE_VM in copy_mm(); we do not call dup_mm() (which would
be calling dup_mmap()) in that case.
--
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