[PATCH] Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

2016-06-26 Thread Ricky Liang
Kasan reported slab-out-of-bounds access in btmrvl_sdio: [ 33.055400] == [ 33.062585] BUG: KASAN: slab-out-of-bounds in memcpy+0x24/0x50 at addr ffc0d89b4a00 [ 33.070529] Read of size 256 by task btmrvl_main_ser/3576 [ 3

[PATCH] Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

2016-06-20 Thread Ricky Liang
Kasan reported slab-out-of-bounds access in btmrvl_sdio: [ 33.055400] == [ 33.062585] BUG: KASAN: slab-out-of-bounds in memcpy+0x24/0x50 at addr ffc0d89b4a00 [ 33.070529] Read of size 256 by task btmrvl_main_ser/3576 [ 3