[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090927171029.GA3297@del.dom.local>
Date: Sun, 27 Sep 2009 19:10:29 +0200
From: Jarek Poplawski <jarkao2@...il.com>
To: Ralf Baechle DL5RB <ralf@...ux-mips.org>
Cc: David Miller <davem@...emloft.net>,
Bernard Pidoux F6BVP <f6bvp@...e.fr>,
Bernard Pidoux <bernard.pidoux@...c.fr>,
Linux Netdev List <netdev@...r.kernel.org>,
linux-hams <linux-hams@...r.kernel.org>
Subject: Re: [PATCH] ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl
On Sun, Sep 27, 2009 at 08:23:19AM +0100, Ralf Baechle DL5RB wrote:
> 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.
In this case valid calls (return 0) were affected too, so I guess the
whole thing is rarely used.
Jarek P.
--
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