From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Baechle DL5RB Subject: Re: [PATCH] ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl Date: Sun, 27 Sep 2009 08:23:19 +0100 Message-ID: <20090927072319.GA28089@linux-mips.org> References: <20090921201157.GA5460@del.dom.local> <4ABA9058.3010605@free.fr> <20090925131038.GA14778@ff.dom.local> <20090925134052.GA1661@linux-mips.org> <20090925183504.GA3307@del.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , Bernard Pidoux F6BVP , Bernard Pidoux , Linux Netdev List , linux-hams To: Jarek Poplawski Return-path: Received: from h5.dl5rb.org.uk ([81.2.74.5]:49672 "EHLO h5.dl5rb.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753347AbZI0HWM (ORCPT ); Sun, 27 Sep 2009 03:22:12 -0400 Content-Disposition: inline In-Reply-To: <20090925183504.GA3307@del.dom.local> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 25, 2009 at 08:35:04PM +0200, Jarek Poplawski wrote: > > > This bug isn't responsible for these oopses here, but looks quite > > > obviously. (I'm not sure if it's easy to test/hit with the common > > > tools.) > > > > The issue your patch fixes is obvious enough. > > Yes, with new code there would be no doubt. But here, if you know it's > worked for some time, you wonder if you're not blind. |-) Most of of the ioctls are used by AX.25 userland which does error checking on user supplied values so userland will never attempt invalid ioctl calls. So no surprise this went unnoticed. Ralf