ubi0: user volume: 0, internal volumes: 1, max. volumes count: 23 kasan: CONFIG_KASAN_INLINE enabled ubi0: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 899136522 kasan: GPF could be caused by NULL-ptr deref or user memory access ubi0: available PEBs: 28, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0 general protection fault: 0000 [#1] PREEMPT SMP KASAN ubi0: background thread "ubi_bgt0d" started, PID 15173 Modules linked in: CPU: 0 PID: 15176 Comm: syz-executor.4 Not tainted 4.14.225-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804c89a140 task.stack: ffff888058988000 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55 RSP: 0018:ffff88805898f760 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000001000 RCX: ffffc90012927000 RDX: 0000000000000002 RSI: ffffffff83156ef4 RDI: ffff88804f7cd4a8 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed10085f4581 R10: ffff888042fa2c0c R11: 0000000000000000 R12: 0000000000001000 R13: ffff88805898f818 R14: 0000000000003680 R15: ffff88804f7cd4b4 FS: 00007fc79c4b8700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb45471a000 CR3: 0000000097557000 CR4: 00000000001406f0 ubi0: detaching mtd0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: scatterwalk_map_and_copy crypto/scatterwalk.c:72 [inline] scatterwalk_map_and_copy+0x100/0x1a0 crypto/scatterwalk.c:60 ubi0: mtd0 is detached ubi0: attaching mtd0 ubi0: scanning is finished gcmaes_encrypt.constprop.0+0x5b5/0xc00 arch/x86/crypto/aesni-intel_glue.c:778 Code: fc ff df 80 3c 02 00 0f 85 d9 01 00 00 48 8d 45 10 49 89 6d 00 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 81 01 00 00 48 b8 00 00 00 RIP: scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RSP: ffff88805898f760 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff88805898f760 RIP: scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55 RSP: ffff88805898f760 ubi0: attached mtd0 (name "mtdram test device", size 0 MiB) ubi0: PEB size: 4096 bytes (4 KiB), LEB size: 3968 bytes ubi0: min./max. I/O unit sizes: 1/64, sub-page size 1 ubi0: VID header offset: 64 (aligned 64), data offset: 128 ---[ end trace ea1554cc38cc3ece ]---