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


Groups > linux.kernel > #1665426

Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8
Date 2017-06-14 07:10 +0200
Message-ID <tS8J4-V8-9@gated-at.bofh.it> (permalink)
References (5 earlier) <tRLMu-3kB-29@gated-at.bofh.it> <tRLMu-3kB-27@gated-at.bofh.it> <tRWRA-1MW-25@gated-at.bofh.it> <tRX1g-1PX-11@gated-at.bofh.it> <tRZFL-3wK-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 13, 2017 at 09:13:32PM +0200, Sven-Haegar Koch wrote:
> On Tue, 13 Jun 2017, Greg Kroah-Hartman wrote:
> 
> > On Tue, Jun 13, 2017 at 10:25:40AM -0600, Logan Gunthorpe wrote:
> > > 
> > > On 12/06/17 10:35 PM, Greg Kroah-Hartman wrote:
> > > > Or better yet, just turn all char major allocations into dynamic, which
> > > > would be really good for test systems.  I thought someone proposed
> > > > patches for that a long time ago, but I can't find them anymore.  That
> > > > would be the simplest solution here.
> > > 
> > > Would people not complain about that? I would not be surprised if some
> > > crazy application is using hard coded major numbers in userspace. So
> > > such a change could potentially break userspace...
> > 
> > For char devices, I doubt it, but we can't take the chance, which is why
> > you make it an option.  Then, it's enabled for 'allmodconfig' builds,
> > which helps testers out.
> 
> At least for /dev/null, /dev/zero, and perhaps /dev/tty it would 
> definitely break things if the major+minor number is not static. I have 
> multiple chroot environments having only some minimal needed static 
> /dev subdir, with naturally no daemons or filesystem creating those 
> on-demand. For the main /dev I use whatever the system sets up, so 
> devtmpfs with udev.

No, it wouldn't be required, it would be an option for those people
using devtmpfs.

thanks,

greg k-h

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


Thread

Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:20 +0200
  Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 06:30 +0200
    Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:40 +0200
      Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 18:30 +0200
        Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 18:40 +0200
          Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 19:50 +0200
            Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-14 07:10 +0200
              Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-14 08:00 +0200
          Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Sven-Haegar Koch <haegar@sdinet.de> - 2017-06-13 21:30 +0200
            Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-14 07:10 +0200
    Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:40 +0200
      Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Linus Walleij <linus.walleij@linaro.org> - 2017-06-14 12:00 +0200
        Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-14 18:00 +0200

csiph-web