syzbot


WARNING in __blkdev_put (2)

Status: fixed on 2019/09/06 20:45
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+34a8ffb71f7fb32ecca2@syzkaller.appspotmail.com
Fix commit: e91455bad5cf bdev: Fixup error handling in blkdev_get()
First crash: 1787d, last: 1778d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in __blkdev_put (2) 0 (1) 2019/08/05 12:38
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __blkdev_put fs 2 2086d 2085d 0/27 auto-closed as invalid on 2019/04/07 01:07
linux-4.19 WARNING in __blkdev_put syz error 1 641d 641d 0/1 upstream: reported syz repro on 2022/09/22 09:06
android-49 WARNING in __blkdev_put 1 2166d 2166d 0/3 auto-closed as invalid on 2019/02/22 14:29
Last patch testing requests (1)
Created Duration User Patch Repo Result
2019/08/07 10:01 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK

Sample crash report:
WARNING: CPU: 1 PID: 10622 at fs/block_dev.c:1899 __blkdev_put+0x6ba/0x810 fs/block_dev.c:1899
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 10622 Comm: blkid Not tainted 5.3.0-rc3+ #119
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2dc/0x755 kernel/panic.c:219
 __warn.cold+0x20/0x4c kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:__blkdev_put+0x6ba/0x810 fs/block_dev.c:1899
Code: 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 24 fd ff ff 48 8b bd 50 ff ff ff e8 00 79 e6 ff e9 13 fd ff ff e8 46 60 ac ff <0f> 0b e9 dc fa ff ff 48 89 cf e8 c7 78 e6 ff e9 6a fa ff ff 48 8b
RSP: 0018:ffff88808c65fc90 EFLAGS: 00010293
RAX: ffff88809acdc600 RBX: ffff8880aa004040 RCX: ffffffff81c62414
RDX: 0000000000000000 RSI: ffffffff81c6293a RDI: 0000000000000005
RBP: ffff88808c65fd88 R08: ffff88809acdc600 R09: ffffed101540080c
R10: ffff88808c65fc80 R11: ffff8880aa00405f R12: 0000000000000002
R13: dffffc0000000000 R14: ffff8880aa004058 R15: ffff8880aa004058
 blkdev_put+0x98/0x560 fs/block_dev.c:1969
 blkdev_close+0x8b/0xb0 fs/block_dev.c:1976
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3f655802b0
Code: 40 75 0b 31 c0 48 83 c4 08 e9 0c ff ff ff 48 8d 3d c5 32 08 00 e8 c0 07 02 00 83 3d 45 a3 2b 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ce 8a 01 00 48 89 04 24
RSP: 002b:00007ffcc6b12ab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3f655802b0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001596030
R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3082):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/07 11:56 upstream f4eb1423e433 cdde7486 .config console log report syz ci-upstream-kasan-gce
2019/08/07 11:46 upstream f4eb1423e433 cdde7486 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/06 22:15 upstream 0eb0ce0a78e1 c6f01e54 .config console log report syz ci-upstream-kasan-gce
2019/08/06 22:06 upstream 0eb0ce0a78e1 c6f01e54 .config console log report syz ci-upstream-kasan-gce-root
2019/08/06 21:59 upstream 0eb0ce0a78e1 c6f01e54 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/05 22:36 upstream e21a712a9685 6affd8e8 .config console log report syz ci-upstream-kasan-gce
2019/08/05 21:37 upstream e21a712a9685 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/05 21:36 upstream e21a712a9685 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/04 21:56 upstream 4b6f23161b4e 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 17:37 upstream d8778f13b73f 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/04 17:21 upstream d8778f13b73f 6affd8e8 .config console log report syz ci-upstream-kasan-gce
2019/08/04 11:57 upstream d8778f13b73f 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 06:19 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 06:02 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 02:25 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/04 02:11 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 01:39 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/08/04 00:42 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/04 00:29 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce
2019/08/04 00:26 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/04 00:08 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/03 22:57 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/03 22:41 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/03 22:28 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/03 22:11 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/03 22:10 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/03 21:53 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/03 21:43 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-root
2019/08/03 21:38 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/03 20:57 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/08/03 18:23 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce
2019/08/07 11:55 upstream f4eb1423e433 cdde7486 .config console log report syz ci-upstream-kasan-gce-386
2019/08/06 23:04 upstream 0eb0ce0a78e1 c6f01e54 .config console log report syz ci-upstream-kasan-gce-386
2019/08/05 21:40 upstream e21a712a9685 6affd8e8 .config console log report syz ci-upstream-kasan-gce-386
2019/08/04 00:30 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-386
2019/08/03 21:49 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-386
2019/08/03 21:31 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-386
2019/08/03 21:13 upstream dcb8cfbd8fe9 6affd8e8 .config console log report syz ci-upstream-kasan-gce-386
2019/08/11 05:05 linux-next 87b983f55b8c acb51638 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/08/06 23:17 linux-next 958eb4327c17 c6f01e54 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/08/05 21:37 linux-next b1645c0cbd48 6affd8e8 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/08/09 23:17 upstream b678c568c561 ede31a9b .config console log report ci-upstream-kasan-gce-smack-root
2019/08/09 20:15 upstream b678c568c561 ede31a9b .config console log report ci-upstream-kasan-gce-root
2019/08/09 17:42 upstream b678c568c561 ede31a9b .config console log report ci-upstream-kasan-gce
2019/08/09 09:59 upstream b678c568c561 ede31a9b .config console log report ci-upstream-kasan-gce-selinux-root
2019/08/03 18:00 upstream dcb8cfbd8fe9 6affd8e8 .config console log report ci-upstream-kasan-gce-root
2019/08/08 09:56 upstream ecb095bff5d4 e6ebef88 .config console log report ci-upstream-kasan-gce-386
2019/08/12 12:39 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 12:05 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 11:01 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 09:48 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 07:52 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 06:22 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 05:19 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 04:24 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 03:15 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/12 02:06 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 22:21 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 21:17 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 20:03 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 18:55 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 17:49 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 16:49 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 14:44 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 12:35 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 10:12 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 09:01 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 08:59 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 07:32 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 06:12 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 04:20 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 01:51 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/11 01:50 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 22:58 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 21:57 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 20:53 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 19:46 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 18:41 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 17:18 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 14:45 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 13:23 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 13:12 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 11:06 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 09:59 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 08:48 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 06:57 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 05:39 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/10 04:36 linux-next 87b983f55b8c acb51638 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.