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


Groups > linux.kernel > #1736469

Re: usb/media/cx231xx: null-ptr-deref in cx231xx_usb_probe

From Johan Hovold <johan@kernel.org>
Newsgroups linux.kernel
Subject Re: usb/media/cx231xx: null-ptr-deref in cx231xx_usb_probe
Date 2017-09-21 10:40 +0200
Message-ID <us5bA-6U3-19@gated-at.bofh.it> (permalink)
References <urSo1-6QG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 20, 2017 at 08:54:08PM +0200, Andrey Konovalov wrote:
> Hi!
> 
> I've got the following report while fuzzing the kernel with syzkaller.
> 
> On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18).
> 
> The null-ptr-deref happens on assoc_desc->bFirstInterface, where
> assoc_desc = udev->actconfig->intf_assoc[0]. There seems to be no
> check that the device actually contains an Interface Association
> Descriptor.

That is indeed a bug; I'll respond to this mail with a fix.

Thanks,
Johan

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


Thread

usb/media/cx231xx: null-ptr-deref in cx231xx_usb_probe Andrey Konovalov <andreyknvl@google.com> - 2017-09-20 21:00 +0200
  Re: usb/media/cx231xx: null-ptr-deref in cx231xx_usb_probe Johan Hovold <johan@kernel.org> - 2017-09-21 10:40 +0200
    [PATCH] [media] cx231xx-cards: fix NULL-deref on missing association descriptor Johan Hovold <johan@kernel.org> - 2017-09-21 10:50 +0200
      Re: [PATCH] [media] cx231xx-cards: fix NULL-deref on missing  association descriptor Andrey Konovalov <andreyknvl@google.com> - 2017-09-21 16:10 +0200

csiph-web