Re: [PATCH] Use after free in drivers/media/video/videodev.c

From: Andrew Morton (akpm_at_osdl.org)
Date: 08/31/03

  • Next message: Fredrik Noring: "2.6.0-test4: uhci-hcd.c: "host controller process error", slab call trace"
    Date:	Sat, 30 Aug 2003 15:21:02 -0700
    To: kronos@kronoz.cjb.net
    
    

    Kronos <kronos@kronoz.cjb.net> wrote:
    >
    > --- 2.6.0.orig/drivers/media/video/videodev.c Tue Aug 12 17:02:29 2003
    > +++ 2.6.0/drivers/media/video/videodev.c Sat Aug 30 21:13:29 2003
    > @@ -349,9 +349,9 @@
    > if(video_device[vfd->minor]!=vfd)
    > panic("videodev: bad unregister");
    >
    > - class_device_unregister(&vfd->class_dev);
    > devfs_remove(vfd->devfs_name);
    > video_device[vfd->minor]=NULL;
    > + class_device_unregister(&vfd->class_dev);
    > up(&videodev_lock);
    > }

    Yes. I already have this fix (from gregkh) queued up.

    There are around 150 bugfixes in -mm at present. It is worth
    checking there first...
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Fredrik Noring: "2.6.0-test4: uhci-hcd.c: "host controller process error", slab call trace"

    Relevant Pages

    • Re: JFS resize=0 problem in 2.6.0
      ... it should not break on top of the raid code. ... These bugfixes are in 2.6.1-pre1 I ... mounted filesystems. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.7 "thoughts"] V0.3
      ... this is all crackpot wishlist gunk. ... Whatever fantasy may be worth, working code is worth a lot more. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH][2.6] Allow x86_64 to reenable interrupts on contention
      ... > really worth it? ... text data bss dec hex filename ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 1/2] VmLib wrapped: executable brk
      ... as writable will appear with wrapped VmLib: sorry, but while it's worth ... showing ordinary programs as ordinary, it's not worth much effort to ... avoid showing odd ones as odd. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] ktimers subsystem
      ... >> schedule things, need timestamps etc etc. ... it is absolutely and emphatically not worth it. ... to] where a new, clean subsystem introduces significant overhead, but ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)