Re: [Umap2][4/11][0557:2002] NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Aug 2016, Binyamin Sharet wrote:

> Kernel version: raspberrypi 4.4.6-v7+ #871
> Driver source file: drivers/net/usb/kaweth.c
> Umap2 command line: umap2vsscan -P <PHY> -s 0557:2002
> 
> After connecting such a device, NULL pointer dereference in the kernel
> and USB stops responding.
> 
> This issue was reproduced with other VID/PIDs that use this driver.
> 
> Binyamin Sharet
> Cisco, STARE-C
> 
> << Attached:  0557_2002_dmesg.log >>

This looks like a bug in the kaweth driver.  kaweth_probe() assigns

	kaweth->intf = intf;

but it needs to happen much earlier in the routine, probably along with 
the initializations of kaweth->dev and kaweth->net.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux