syzbot


WARNING in blkdev_ioctl

Status: auto-closed as invalid on 2019/11/26 22:59
Reported-by: syzbot+486eee3432a1e3b122a4@syzkaller.appspotmail.com
First crash: 1065d, last: 1065d

Sample crash report:
 __vfs_write+0x105/0x6b0 fs/read_write.c:480
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8457 at drivers/md/md.c:7167 md_ioctl+0x34b7/0x4bd0 drivers/md/md.c:7167
Kernel panic - not syncing: panic_on_warn set ...

 vfs_write+0x198/0x500 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xfd/0x230 fs/read_write.c:582
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459829
RSP: 002b:00007fc07d81ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc07d81ec90 RCX: 0000000000459829
RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc07d81f6d4
R13: 00000000004c9a18 R14: 00000000004e1000 R15: 0000000000000005
CPU: 1 PID: 8457 Comm: syz-executor.1 Not tainted 4.14.134 #30
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x138/0x19c lib/dump_stack.c:53
 panic+0x1f2/0x426 kernel/panic.c:182
kobject: 'loop5' (ffff8880a4ad8b60): kobject_uevent_env
kobject: 'loop5' (ffff8880a4ad8b60): fill_kobj_path: path = '/devices/virtual/block/loop5'
 __warn.cold+0x2f/0x36 kernel/panic.c:546
 report_bug+0x216/0x254 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:960
RIP: 0010:md_ioctl+0x34b7/0x4bd0 drivers/md/md.c:7167
RSP: 0018:ffff888057447a20 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 0000000000000932 RCX: ffffc90008a43000
RDX: 000000000000014f RSI: ffffffff844a9b57 RDI: 0000000000000001
RBP: ffff888057447c68 R08: ffff8880a9eb5588 R09: ffffffff88c851f0
R10: ffff888057447a10 R11: ffff8880575f62c0 R12: ffff8880a9eb5580
R13: ffff88807f15e680 R14: ffff8880a9eb55a8 R15: ffff8880a9eb5748
kobject: 'loop5' (ffff8880a4ad8b60): kobject_uevent_env
kobject: 'loop5' (ffff8880a4ad8b60): fill_kobj_path: path = '/devices/virtual/block/loop5'
 __blkdev_driver_ioctl block/ioctl.c:297 [inline]
 blkdev_ioctl+0x96b/0x1860 block/ioctl.c:594
syz-executor.2: 
vmalloc: allocation failure: 24000 bytes
 block_ioctl+0xde/0x120 fs/block_dev.c:1881
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684
, mode:0x14000c0(GFP_KERNEL), nodemask=
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459829
RSP: 002b:00007f91f1459c78 EFLAGS: 00000246
(null)
 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 0000000000000000 RSI: 0000000000000932 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f91f145a6d4
R13: 00000000004c0e18 R14: 00000000004d3ea8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2019/07/29 22:58 linux-4.14.y ff33472c282e f67095ee .config log report