syzbot


WARNING in generic_make_request_checks

Status: fixed on 2019/11/28 11:06
Reported-by: syzbot+21cfe1f803e0e158acf1@syzkaller.appspotmail.com
Fix commit: 8b2ded1c94c0 block: don't warn when doing fsync on read-only devices
First crash: 2253d, last: 1772d
Cause bisection: introduced by (bisect log) :
commit a32e236eb93e62a0f692e79b7c3c9636689559b9
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Fri Aug 3 19:22:09 2018 +0000

  Partially revert "block: fail op_is_write() requests to read-only partitions"

Crash: WARNING in generic_make_request_checks (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
WARNING in generic_make_request_checks 3 (6) 2019/11/28 08:52
[PATCH] block: Replace bio_check_ro()'s WARN_ON() 9 (9) 2019/11/25 17:40
[PATCH v2 0/2] Fix a race condition triggered by submit_bio() 3 (3) 2019/07/30 18:36
Reminder: 11 open syzbot bugs in block subsystem 1 (1) 2019/07/24 02:26
Reminder: 11 open syzbot bugs in block subsystem 1 (1) 2019/06/25 06:17
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in generic_make_request_checks C 2543 578d 2004d 0/1 upstream: reported C repro on 2019/04/11 06:22
upstream WARNING in generic_make_request_checks (2) C done inconclusive 844 1160d 1768d 0/28 auto-obsoleted due to no activity on 2023/04/15 08:59
Last patch testing requests (1)
Created Duration User Patch Repo Result
2019/11/27 04:55 16m keescook@chromium.org git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 8b2ded1c94c06f841f8c1612bcfa33c85012a36b OK

Sample crash report:
------------[ cut here ]------------
generic_make_request: Trying to write to read-only block-device nullb0 (partno 0)
WARNING: CPU: 1 PID: 9386 at block/blk-core.c:797 bio_check_ro block/blk-core.c:797 [inline]
WARNING: CPU: 1 PID: 9386 at block/blk-core.c:797 generic_make_request_checks+0x1d5c/0x2210 block/blk-core.c:902
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 9386 Comm: syz-executor279 Not tainted 5.4.0-rc6+ #0
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+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 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:bio_check_ro block/blk-core.c:797 [inline]
RIP: 0010:generic_make_request_checks+0x1d5c/0x2210 block/blk-core.c:902
Code: 00 00 44 8b ab 3c 05 00 00 48 8d b5 78 ff ff ff 4c 89 f7 e8 c6 87 05 00 48 c7 c7 60 0e e5 87 48 89 c6 44 89 ea e8 5c 0b 14 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02
RSP: 0018:ffff8880a863f370 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880a3301000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815cc5a6 RDI: ffffed10150c7e60
RBP: ffff8880a863f470 R08: ffff8880a0ec26c0 R09: ffffed1015d26159
R10: ffffed1015d26158 R11: ffff8880ae930ac7 R12: ffff88809c53f448
R13: 0000000000000000 R14: ffff88809c53f440 R15: ffff8880a33b2ef8
 generic_make_request+0x8f/0xb50 block/blk-core.c:1018
 __blk_queue_split+0xb55/0x1560 block/blk-merge.c:332
 blk_mq_make_request+0x17d/0x2280 block/blk-mq.c:1959
 generic_make_request block/blk-core.c:1064 [inline]
 generic_make_request+0x23c/0xb50 block/blk-core.c:1006
 submit_bio+0x113/0x600 block/blk-core.c:1190
 blk_next_bio+0x4a/0x60 block/blk-lib.c:19
 __blkdev_issue_zero_pages+0x151/0x430 block/blk-lib.c:284
 blkdev_issue_zeroout+0x434/0x4c0 block/blk-lib.c:378
 blk_ioctl_zeroout block/ioctl.c:264 [inline]
 blkdev_ioctl+0x13d4/0x1c20 block/ioctl.c:531
 block_ioctl+0xee/0x130 fs/block_dev.c:1954
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446799
Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f7741a7adb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446799
RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c
R13: 00007fffb63da31f R14: 00007f7741a7b9c0 R15: 000000000000002d
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7760):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/08 14:32 upstream 847120f859cc 1e35461e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/10/08 01:10 upstream b145b0eb2031 f3f7d9c8 .config console log report syz C ci-upstream-kasan-gce
2019/06/11 12:21 upstream 01ccc3ad4413 5b5826d0 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/06/11 09:34 upstream 01ccc3ad4413 0159583c .config console log report syz C ci-upstream-kasan-gce-root
2019/06/11 06:30 upstream 01ccc3ad4413 0159583c .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/04/18 19:30 upstream e53f31bffe1d b0e8efcb .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/04/18 17:17 upstream e53f31bffe1d b0e8efcb .config console log report syz C ci-upstream-kasan-gce-root
2019/04/18 17:14 upstream e53f31bffe1d b0e8efcb .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/03 09:50 upstream c027c7cf1577 1c0e457a .config console log report syz C ci-upstream-kasan-gce-root
2019/03/03 02:09 upstream c93d9218ea56 1c0e457a .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/03 02:09 upstream c93d9218ea56 1c0e457a .config console log report syz C ci-upstream-kasan-gce
2019/03/03 02:08 upstream c93d9218ea56 1c0e457a .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/02/25 01:24 upstream c3619a482e15 7a06e792 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/02/24 20:03 upstream c3619a482e15 7a06e792 .config console log report syz C ci-upstream-kasan-gce-root
2019/02/24 17:57 upstream e60b5f79bd75 7a06e792 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/26 15:45 upstream 2e6e902d1850 ac912200 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/26 15:16 upstream 2e6e902d1850 ac912200 .config console log report syz C ci-upstream-kasan-gce-root
2018/11/26 15:16 upstream 2e6e902d1850 ac912200 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/26 15:08 upstream 2e6e902d1850 ac912200 .config console log report syz C ci-upstream-kasan-gce
2018/11/25 12:32 upstream e195ca6cb6f2 3d3ec907 .config console log report syz C ci-upstream-kasan-gce-root
2018/11/25 11:36 upstream e195ca6cb6f2 3d3ec907 .config console log report syz C ci-upstream-kasan-gce
2018/10/16 11:35 upstream f0a7d1883d9f 8cd30605 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/08/05 04:24 upstream 60f5a2173632 3476a2df .config console log report syz C ci-upstream-kasan-gce
2019/11/24 00:31 linux-next b9d3d0140506 598ca6c8 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/10/28 03:31 linux-next 139c2d13c258 25bb509e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/06/20 13:40 linux-next c0e4c41afeef 34bf9440 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/04/18 17:09 linux-next 3f018f4a019a b0e8efcb .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/03 02:08 linux-next c63e9e91a254 1c0e457a .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/02/24 17:22 linux-next 94a47529a645 7a06e792 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/11/26 17:58 linux-next 442b8cea2477 ac912200 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/10/16 11:27 linux-next 6d5d82417dd6 8cd30605 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/10/17 23:29 upstream 283ea345934d 8c88c9c1 .config console log report syz ci-upstream-kasan-gce-root
2019/04/16 23:05 upstream b5de3c5026f5 505ab413 .config console log report syz ci-upstream-kasan-gce-root
2019/04/16 23:05 upstream 618d919cae2f 505ab413 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/04/16 23:04 upstream 618d919cae2f 505ab413 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/10/10 21:47 upstream fb20da6af705 a4efa8c0 .config console log report syz ci-upstream-kasan-gce-386
2019/03/03 02:08 upstream c93d9218ea56 1c0e457a .config console log report syz ci-upstream-kasan-gce-386
2018/12/04 03:36 upstream 0072a0c14d5b 03f94a45 .config console log report syz ci-upstream-kasan-gce-386
2018/11/26 15:19 upstream 2e6e902d1850 ac912200 .config console log report syz ci-upstream-kasan-gce-386
2018/11/25 11:43 upstream e195ca6cb6f2 3d3ec907 .config console log report syz ci-upstream-kasan-gce-386
2019/04/16 23:03 linux-next de3c659c83ce 505ab413 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/11/28 09:24 upstream d76886972823 0d63f89c .config console log report ci-upstream-kasan-gce-root
2019/11/28 08:19 upstream d76886972823 0d63f89c .config console log report ci-upstream-kasan-gce-smack-root
2019/11/27 10:41 upstream 89d57dddd7d3 1048481f .config console log report ci-upstream-kasan-gce
2019/11/27 01:54 upstream be2eca94d144 1048481f .config console log report ci-upstream-kasan-gce-root
2019/11/26 10:30 upstream 0be0ee71816b f746151a .config console log report ci-upstream-kasan-gce-root
2019/11/26 03:04 upstream 0be0ee71816b f746151a .config console log report ci-upstream-kasan-gce-smack-root
2019/11/25 15:24 upstream 219d54332a09 371caf77 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/24 19:15 upstream 6b8a79467876 598ca6c8 .config console log report ci-upstream-kasan-gce-root
2019/11/24 04:29 upstream 6b8a79467876 598ca6c8 .config console log report ci-upstream-kasan-gce
2019/11/24 03:14 upstream 6b8a79467876 598ca6c8 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/23 22:10 upstream 2027cabe6afe 598ca6c8 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/23 18:37 upstream 2027cabe6afe 598ca6c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/23 09:26 upstream a6b0373ffcd8 598ca6c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/23 07:26 upstream a6b0373ffcd8 598ca6c8 .config console log report ci-upstream-kasan-gce-root
2019/11/22 22:11 upstream a6b0373ffcd8 598ca6c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/22 17:58 upstream 81429eb8d9ca 598ca6c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/22 11:16 upstream 81429eb8d9ca 8098ea0f .config console log report ci-upstream-kasan-gce-root
2019/11/22 09:15 upstream 81429eb8d9ca 8098ea0f .config console log report ci-upstream-kasan-gce-root
2019/11/22 00:54 upstream 81429eb8d9ca 8098ea0f .config console log report ci-upstream-kasan-gce-smack-root
2019/11/21 23:46 upstream c74386d50fba 8098ea0f .config console log report ci-upstream-kasan-gce-root
2019/11/21 21:19 upstream c74386d50fba 8098ea0f .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/21 18:58 upstream c74386d50fba 8098ea0f .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/21 10:46 upstream c74386d50fba 8098ea0f .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/21 04:07 upstream c74386d50fba 8098ea0f .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/20 16:32 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/20 13:23 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/20 12:15 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/20 09:59 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/20 05:03 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/20 01:43 upstream af42d3466bdc 5bc70212 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/19 23:00 upstream af42d3466bdc 5bc70212 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/19 21:04 upstream af42d3466bdc 5bc70212 .config console log report ci-upstream-kasan-gce-root
2019/11/19 13:32 upstream af42d3466bdc 5bc70212 .config console log report ci-upstream-kasan-gce-root
2019/11/19 11:01 upstream af42d3466bdc 5bc70212 .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/18 20:16 upstream af42d3466bdc 1daed50a .config console log report ci-upstream-kasan-gce-root
2019/11/18 18:23 upstream af42d3466bdc 1daed50a .config console log report ci-upstream-kasan-gce-selinux-root
2019/11/18 07:18 upstream cbb104f91dfe d5696d51 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/18 02:32 upstream cbb104f91dfe d5696d51 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/18 01:16 upstream cbb104f91dfe d5696d51 .config console log report ci-upstream-kasan-gce-root
2019/11/17 21:34 upstream cbb104f91dfe d5696d51 .config console log report ci-upstream-kasan-gce
2019/11/17 17:55 upstream fe30021c36fb d5696d51 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/17 10:28 upstream fe30021c36fb d5696d51 .config console log report ci-upstream-kasan-gce-root
2019/11/17 07:24 upstream fe30021c36fb d5696d51 .config console log report ci-upstream-kasan-gce-smack-root
2018/08/05 02:40 upstream 60f5a2173632 3476a2df .config console log report ci-upstream-kasan-gce
2019/11/20 07:46 upstream c74386d50fba f4b7ed07 .config console log report ci-upstream-kasan-gce-386
2019/11/28 06:35 linux-next 1875ff320f14 0d63f89c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/26 14:38 linux-next 131b7b67e6c2 f746151a .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/25 03:26 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/24 21:13 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/24 13:43 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/24 02:08 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/23 11:30 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/22 20:54 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/22 03:36 linux-next 1fef9976397f 8098ea0f .config console log report ci-upstream-linux-next-kasan-gce-root
2019/11/18 17:13 linux-next 5a6fcbeabe3e 1daed50a .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/04 15:54 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.