David B. Robins
f6194bcf03
net: usb: asix: Fix crash on skb alloc failure
...
If asix_rx_fixup_internal() fails to allocate rx->ax_skb, it will return
but not clear rx->size. rx points to driver private data. A later call
assumes that nonzero size means ax_skb was allocated and passes a null
ax_skb to skb_put. Changed allocation failure return to clear size first.
Found testing board with AX88772B devices.
Signed-off-by: David B. Robins <linux@davidrobins.net >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-10-05 03:31:27 -07:00
..
2015-10-01 22:30:35 +02:00
2015-09-17 21:29:07 -07:00
2015-10-01 22:30:47 +02:00
2015-09-19 18:57:09 -07:00
2015-09-26 21:05:23 -04:00
2015-09-19 20:17:40 -07:00
2015-09-16 02:17:49 +02:00
2015-09-26 21:05:23 -04:00
2015-09-16 15:47:51 +02:00
2015-09-21 15:07:19 +09:00
2015-09-27 06:45:18 -04:00
2015-09-18 08:11:42 -07:00
2015-09-25 06:52:37 +10:00
2015-09-20 22:44:51 -07:00
2015-09-20 17:50:19 -07:00
2015-10-01 16:38:52 -04:00
2015-10-01 21:42:35 -04:00
2015-10-02 07:59:29 -04:00
2015-09-27 18:22:34 -04:00
2015-09-17 10:02:20 +02:00
2015-09-14 12:04:24 -04:00
2015-09-16 15:47:51 +02:00
2015-09-26 20:53:15 -04:00
2015-09-30 14:54:22 +02:00
2015-09-29 12:47:05 +02:00
2015-10-05 03:31:27 -07:00
2015-09-17 11:49:28 -04:00
2015-09-26 06:01:33 -04:00
2015-09-15 13:18:04 -05:00
2015-10-01 22:30:12 +02:00
2015-09-18 08:11:42 -07:00
2015-09-17 21:41:02 -07:00
2015-09-17 12:25:42 -07:00
2015-09-24 16:23:20 -07:00
2015-09-18 09:28:20 -07:00
2015-09-21 12:02:27 -07:00
2015-09-16 15:47:51 +02:00
2015-09-22 09:48:41 -07:00
2015-09-16 15:47:51 +02:00
2015-09-26 20:56:50 -04:00
2015-09-24 23:24:46 -07:00
2015-10-01 21:42:35 -04:00
2015-09-20 15:20:11 -07:00
2015-09-22 09:09:15 -07:00
2015-09-23 12:15:19 -07:00
2015-09-18 09:28:20 -07:00
2015-09-28 10:56:10 +02:00