mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Miles Lane" <miles.lane@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net,
	David Brownell <david-b@pacbell.net>
Subject: Re: 2.6.17-mm5 -- netconsole failed to send full trace
Date: Mon, 3 Jul 2006 12:17:17 -0700	[thread overview]
Message-ID: <20060703121717.b36ef57e.akpm@osdl.org> (raw)
In-Reply-To: <a44ae5cd0607030704q63f1f64x5e46688cef6fa44c@mail.gmail.com>

On Mon, 3 Jul 2006 07:04:05 -0700
"Miles Lane" <miles.lane@gmail.com> wrote:

> On 7/3/06, Andrew Morton <akpm@osdl.org> wrote:
> > On Mon, 3 Jul 2006 01:31:36 -0700
> > "Miles Lane" <miles.lane@gmail.com> wrote:
> >
> > > I get a system lockup on my laptop every time I remove my Linksys USB
> > > 10/100 Ethernet adapter.  Unfortunately, my laptop has no serial port,
> > > so debugging this kernel is difficult.  I tried netconsole tonight,
> > > but only got:
> > >
> > > BUG: unable to handle kernel paging request at virtual address 6b6b6b6b
> >
> > Nice.
> >
> > >  printing eip:
> > > c101a44d
> > > *pde = 00000000
> > > Oops: 0000 [#1]
> > > 4K_STACKS PREEMPT
> > > last sysfs file: /block/hda/hda9/stat
> > > Modules linked in: netconsole binfmt_misc i915 drm ipv6
> > > speedstep_centrino cpufreq_powersave cpufreq_performance
> > > cpufreq_conservative video thermal button nls_ascii nls_cp437 vfat fat
> > > nls_utf8 ntfs nls_base md_mod sr_mod sbp2 scsi_mod parport_pc lp
> > > parport rtl8150 snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss
> > > snd_mixer_oss snd_pcm snd_timer snd evdev soundcore ipw2200
> > > intel_agpc3 89 e5 53 fa 61 0b 01 1d 14 c1 c7 14 3c 00 00 00 b0 1a 00
> > > eb <8b> 8b 43 85 75
> > >
> > > What should I try now?  I somehow doubt that I can make the kernel
> > > send info to a USB tty port.
> > >
> >
> > Can you get it to happen on the VGA console, make a record of the display?
> > (Digital photo is good).
> >
> >
> 

OK, thanks.  I uploaded that to
http://www.zip.com.au/~akpm/linux/patches/stuff/00003.jpg.

So we have a use-after-free in tasklet_action(), as a consequence of
unplugging a USB ethernet adapter.

The post-2.6.17 changes in drivers/usb/net/ are relatively modest, but
certainly enough to cause lifetime problems.  Do you know whether mainline
has the same bug?  And are you able to identify at which kernel version
this started to happen?

Thanks.


  parent reply	other threads:[~2006-07-03 19:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-03  8:31 Miles Lane
2006-07-03  8:40 ` Andrew Morton
     [not found]   ` <a44ae5cd0607030704q63f1f64x5e46688cef6fa44c@mail.gmail.com>
2006-07-03 19:17     ` Andrew Morton [this message]
     [not found]       ` <a44ae5cd0607042222w6a370b70ka2d75fab926a28be@mail.gmail.com>
2006-07-05  6:49         ` David Brownell
2006-07-05  6:54           ` Miles Lane
2006-07-05 16:39             ` Miles Lane
2006-07-05 18:04               ` David Brownell
2006-07-05 18:44       ` Miles Lane
     [not found]         ` <a44ae5cd0607051934o2656a40bs88393dc0d6591249@mail.gmail.com>
2006-07-06  2:42           ` Andrew Morton
2006-07-06  2:46             ` Andrew Morton
2006-07-06  2:53               ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060703121717.b36ef57e.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=miles.lane@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome