From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:36254 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932159AbcDFJer (ORCPT ); Wed, 6 Apr 2016 05:34:47 -0400 Message-ID: <1459935281.17504.69.camel@sipsolutions.net> (sfid-20160406_113459_044840_451F6B0C) Subject: Re: NETLINK_URELEASE non-bound socket problem (was: [PATCH] Fix local DoS in cfg80211 subsystem) From: Johannes Berg To: Dmitrijs Ivanovs Cc: linux-wireless@vger.kernel.org, netdev , samuel , Pablo Neira Ayuso , Thomas Graf Date: Wed, 06 Apr 2016 11:34:41 +0200 In-Reply-To: (sfid-20160406_102025_380946_ED0DACD9) References: <1459850188.18188.38.camel@sipsolutions.net> (sfid-20160406_102025_380946_ED0DACD9) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2016-04-06 at 11:20 +0300, Dmitrijs Ivanovs wrote: > Hi Johannes! > > I will prepare patch which does not send NETLINK_URELEASE for unbound > sockets as you suggest. But I think protocol check in nl80211 is > still needed because port_id is unique per-protocol. > Yes, good point. Can you please send that as a separate patch? That one should have a Fixes: 026331c4d9b5 ("cfg80211/mac80211: allow registering for and sending action frames") tag. I'll apply this one right away, but the other one should probably go through Dave's tree. Thanks, johannes