netlink: 1 bytes leftover after parsing attributes in process `syz-executor0'. kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 5985 Comm: syz-executor1 Not tainted 4.9.41-gdb02484 #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c86a0000 task.stack: ffff8801c86a8000 RIP: 0010:[] [] bio_copy_user_iov+0x5fa/0xea0 /syzkaller/managers/android-49-kasan-gce/kernel/block/bio.c:1701 RSP: 0018:ffff8801c86af590 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8801ce47dc00 RDI: ffff8801c86af9e4 RBP: ffff8801c86af6a0 R08: ffffed0039c8fb91 R09: ffff8801ce47dc00 R10: 0000000000000011 R11: ffffed0039c8fb90 R12: 0000000000000026 R13: ffff8801c86af9d8 R14: 0000000000000026 R15: dffffc0000000000 FS: 00007f5fa0664700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020006fb0 CR3: 00000001cb12a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff81e42a3f ffffed003a44028b ffff8801d220145c ffff8801cee37000 1ffff100390d5ebf 01ff880102080020 ffff880100000001 ffff8801d2200d08 ffff8801c86af9d8 ffff8801ce47dc00 ffff8801c86af768 0000000000000000 Call Trace: [] queue_limit_discard_alignment /syzkaller/managers/android-49-kasan-gce/kernel/./include/linux/blkdev.h:1324 [inline] [] blk_rq_map_user_iov+0x237/0x790 /syzkaller/managers/android-49-kasan-gce/kernel/block/blk-settings.c:611 [] get_start_sect /syzkaller/managers/android-49-kasan-gce/kernel/./include/linux/genhd.h:445 [inline] [] bdev_stack_limits /syzkaller/managers/android-49-kasan-gce/kernel/block/blk-settings.c:653 [inline] [] blk_rq_map_user+0x111/0x1a0 /syzkaller/managers/android-49-kasan-gce/kernel/block/blk-settings.c:674 [] sg_common_write.isra.24+0xc1a/0x17c0 /syzkaller/managers/android-49-kasan-gce/kernel/drivers/scsi/sg.c:1498 [] sg_write+0x688/0xad0 /syzkaller/managers/android-49-kasan-gce/kernel/drivers/scsi/sg.c:1110 [] SYSC_faccessat /syzkaller/managers/android-49-kasan-gce/kernel/fs/open.c:385 [inline] [] __vfs_write+0x103/0x680 /syzkaller/managers/android-49-kasan-gce/kernel/fs/open.c:363 [] vfs_write+0x170/0x4e0 /syzkaller/managers/android-49-kasan-gce/kernel/fs/read_write.c:1765 [] SyS_write+0xd9/0x1b0 /syzkaller/managers/android-49-kasan-gce/kernel/fs/read_write.c:898 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: 89 e8 48 c1 e8 03 42 80 3c 38 00 0f 85 5f 08 00 00 89 d8 49 8b 4d 00 99 f7 bd 20 ff ff ff 48 98 48 8d 04 c1 48 89 c1 48 c1 e9 03 <42> 80 3c 39 00 0f 85 47 08 00 00 48 63 d2 83 c3 01 48 c1 e2 06 RIP [] bio_copy_user_iov+0x5fa/0xea0 /syzkaller/managers/android-49-kasan-gce/kernel/block/bio.c:1701 RSP ---[ end trace 3c28e970b83044c3 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..