[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200912211951.09832.strakh@ispras.ru>
Date: Mon, 21 Dec 2009 19:51:09 +0000
From: Alexander Strakh <strakh@...ras.ru>
To: "Greg Kroah-Hartman" <greg@...ah.com>,
"Greg Kroah-Hartman" <gregkh@...e.de>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: BUG null dereference in driver ./drivers/usb/serial/mos7840.c
KERNEL_VERSION: 2.6.32
SUBJECT: null derefernce in function mos7840_bulk_in_callback
SUBSCRIBE:
In driver drivers/usb/serial/mos7840.c in function
mos7840_bulk_in_callback:
1. If in line 697 mos7840_port = NULL then we goto line 699
2. In line 699 we have null dereference.
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 }
Found by Linux Device Drivers Verification Project (Svace Detector)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists