Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1373457

Re: Oops in 4.6-rc2: NULL pointer dereference in cdc-acm

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: Oops in 4.6-rc2: NULL pointer dereference in cdc-acm
Date 2016-04-07 16:50 +0200
Message-ID <rljpV-5mp-49@gated-at.bofh.it> (permalink)
References <rl2S6-1tt-23@gated-at.bofh.it> <rlc54-8lR-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 07, 2016 at 08:59:38AM +0200, Oliver Neukum wrote:
> On Wed, 2016-04-06 at 22:48 +0200, Gabriele Mazzotta wrote:
> > Hi,
> > 
> > I'm getting a kernel oops when I plug some smartphone via USB to my
> > laptop, which is currently running the v4.6-rc2.
> > 
> > The problem seems to be caused by a81cf9799ad7 ("cdc-acm: implement
> > put_char() and flush_chars()").
> > 
> > A simple NULL pointer check prevents the crash, but since I have no
> > use of cdc-acm and I didn't read the code, I don't know if some other
> > changes are required.
> > 
> > Here below you can find the change I did to prevent the crash and
> > the dmesg showing the problem.
> 
> Hi,
> 
> thank you for reporting this. You are the second one to report it.
> I send a fix upstream last week.
> Greg, can we merge this for the next rc? People are hitting this
> bug.

Yes, will be sent this week, sorry for the delay.

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Oops in 4.6-rc2: NULL pointer dereference in cdc-acm Gabriele Mazzotta <gabriele.mzt@gmail.com> - 2016-04-06 23:10 +0200
  Re: Oops in 4.6-rc2: NULL pointer dereference in cdc-acm Oliver Neukum <oneukum@suse.com> - 2016-04-07 09:00 +0200
    Re: Oops in 4.6-rc2: NULL pointer dereference in cdc-acm Greg KH <gregkh@linuxfoundation.org> - 2016-04-07 16:50 +0200

csiph-web