Details

[Home]

Issue of the Implementation # L0016

Brief

drivers/usb/mos7840.c: Null dereference

Detailed Description

Null dereference in driver drivers/usb/mos7840.c in function mos7840_callback: Path:

  • 1. If in line 697 mos7840 = NULL then we goto line 699
  • 2. In line 699 we have null dereference of "mos7840_port->read_urb_busy".
  •  696         mos7840_port = urb->context;
     697         if (!mos7840_port) {
     698                 dbg("%s", "NULL mos7840_port pointer");
     699                 mos7840_port->read_urb_busy = false;
     700                 return;
     701         }
    

    Component

    linux-kernel 2.6.32

    Accepted

    http://lkml.org/lkml/2009/12/21/131
    commit

    Status

    Fixed in kernel 2.6.35-rc2

    [Home]