syzbot


WARNING in generic_make_request_checks (2)

Status: upstream: reported C repro on 2019/12/02 15:25
Reported-by: syzbot+452bda868799d5a80da8@syzkaller.appspotmail.com
First crash: 1035d, last: 422d

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

Fix bisection: the fix commit could be any of (bisect log):
  7cc2a8ea1048 Merge tag 'block-5.8-2020-07-01' of git://git.kernel.dk/linux-block
  9e9fb7655ed5 Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in corrupted (2) C done 28 22h26m 1030d 0/24 closed as dup on 2020/06/28 17:00
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 2374 14h18m 1266d 0/1 upstream: reported C repro on 2019/04/11 06:22
upstream WARNING in generic_make_request_checks C done 7760 1035d 1511d 14/24 fixed on 2019/11/28 11:06
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/27 14:30 17m upstream OK log
2022/09/27 13:30 16m upstream OK log
2022/09/27 10:30 17m upstream OK log
2022/09/27 08:30 17m upstream OK log
2022/09/27 06:30 18m upstream OK log
2022/09/27 04:30 16m upstream OK log
2022/09/16 18:29 16m upstream OK log
2022/09/16 14:29 15m upstream OK log
2022/09/16 11:29 15m upstream OK log
2022/09/10 15:27 15m upstream OK log
2022/09/10 12:27 16m upstream OK log

Sample crash report:
------------[ cut here ]------------
generic_make_request: Trying to write to read-only block-device nullb0 (partno 0)
WARNING: CPU: 0 PID: 6811 at block/blk-core.c:852 bio_check_ro block/blk-core.c:852 [inline]
WARNING: CPU: 0 PID: 6811 at block/blk-core.c:852 generic_make_request_checks+0x1cb0/0x21c0 block/blk-core.c:988
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 6811 Comm: syz-executor309 Not tainted 5.8.0-rc3-syzkaller #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+0x18f/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:231
 __warn.cold+0x20/0x45 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563
RIP: 0010:bio_check_ro block/blk-core.c:852 [inline]
RIP: 0010:generic_make_request_checks+0x1cb0/0x21c0 block/blk-core.c:988
Code: 1a 05 00 00 44 8b ab ac 05 00 00 48 8d 74 24 70 48 89 ef e8 92 0f fe ff 48 c7 c7 20 9b 91 88 48 89 c6 44 89 ea e8 c2 ad c2 fd <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02
RSP: 0018:ffffc90001477330 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff8880a134f000 RCX: 0000000000000000
RDX: ffff8880a783a380 RSI: ffffffff815d4f87 RDI: fffff5200028ee58
RBP: ffff8880a6bb2680 R08: 0000000000000001 R09: ffff8880ae6318e7
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a6bb2688
R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a134b080
 generic_make_request+0x89/0xc00 block/blk-core.c:1112
 submit_bio+0x263/0x5b0 block/blk-core.c:1275
 submit_bh_wbc+0x68d/0x8e0 fs/buffer.c:3073
 __block_write_full_page+0x837/0x12e0 fs/buffer.c:1811
 block_write_full_page+0x214/0x270 fs/buffer.c:2997
 __writepage+0x60/0x170 mm/page-writeback.c:2313
 write_cache_pages+0x736/0x11b0 mm/page-writeback.c:2248
 generic_writepages mm/page-writeback.c:2339 [inline]
 generic_writepages+0xe2/0x150 mm/page-writeback.c:2328
 do_writepages+0xec/0x290 mm/page-writeback.c:2354
 __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:421
 filemap_write_and_wait_range mm/filemap.c:654 [inline]
 filemap_write_and_wait_range+0xe1/0x1c0 mm/filemap.c:648
 filemap_write_and_wait include/linux/fs.h:2765 [inline]
 __sync_blockdev fs/block_dev.c:490 [inline]
 sync_blockdev fs/block_dev.c:499 [inline]
 __blkdev_put+0x69a/0x890 fs/block_dev.c:1886
 blkdev_close+0x8c/0xb0 fs/block_dev.c:1970
 __fput+0x33c/0x880 fs/file_table.c:281
 task_work_run+0xdd/0x190 kernel/task_work.c:135
 exit_task_work include/linux/task_work.h:25 [inline]
 do_exit+0xb72/0x2a40 kernel/exit.c:805
 do_group_exit+0x125/0x310 kernel/exit.c:903
 __do_sys_exit_group kernel/exit.c:914 [inline]
 __se_sys_exit_group kernel/exit.c:912 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:912
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x43ee48
Code: Bad RIP value.
RSP: 002b:00007fffdc072048 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee48
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004be648 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (844):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2020/07/07 20:29 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/07/07 16:17 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/12 18:18 upstream e6e6ec48dd0f d850e9d0 .config log report syz C
ci-upstream-kasan-gce-root 2019/12/08 08:16 upstream ad910e36da4c 1508f453 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/12/02 02:51 upstream b94ae8ad9fe7 f879db37 .config log report syz C
ci-upstream-kasan-gce-root 2019/12/01 20:55 upstream b94ae8ad9fe7 a76bf83f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/11/29 09:10 upstream 81b6b96475ac 76357d6f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/11/29 08:41 upstream 81b6b96475ac 76357d6f .config log report syz C
ci-upstream-kasan-gce-root 2019/11/29 05:09 upstream 81b6b96475ac 76357d6f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/11/28 16:16 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce-root 2019/11/28 15:55 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/21 04:55 linux-next 7ddd09fc4b74 bc586918 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/15 12:13 linux-next 32b8acf85223 eef6e580 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/13 13:22 linux-next 78adcacd4edb 08003f64 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/13 12:56 linux-next 78adcacd4edb 08003f64 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/13 12:28 linux-next 78adcacd4edb 08003f64 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/03/11 11:57 upstream e94148454103 35f53e45 .config log report syz
ci-upstream-kasan-gce-selinux-root 2020/07/08 04:02 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/12/08 10:15 upstream ad910e36da4c 1508f453 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/12/02 10:38 upstream ceb307474506 f879db37 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/11/28 20:56 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/11/28 20:23 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/11/28 19:45 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce 2019/11/28 18:01 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce 2019/11/28 17:25 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce 2019/11/28 16:21 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce-386 2019/11/28 18:10 upstream a6ed68d6468b 46869e3e .config log report syz
ci-upstream-kasan-gce-386 2019/11/28 17:37 upstream a6ed68d6468b 46869e3e .config log report syz
ci-upstream-kasan-gce-root 2020/08/04 10:56 upstream 3208167a865e 196277c4 .config log report
ci-upstream-kasan-gce-selinux-root 2020/08/04 01:48 upstream bcf876870b95 196277c4 .config log report
ci-upstream-kasan-gce-smack-root 2020/08/03 14:28 upstream 5a30a78924ec 196277c4 .config log report
ci-upstream-kasan-gce-selinux-root 2020/08/03 14:25 upstream 5a30a78924ec 196277c4 .config log report
ci-upstream-kasan-gce-smack-root 2020/08/03 07:51 upstream 5a30a78924ec 196277c4 .config log report
ci-upstream-kasan-gce-smack-root 2020/08/02 05:17 upstream d52daa8620c6 d895b3be .config log report
ci-upstream-kasan-gce-root 2020/07/31 20:18 upstream d8b9faec54ae d895b3be .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/31 10:43 upstream 83bdc7275e62 8df85ed9 .config log report
ci-upstream-kasan-gce-root 2020/07/31 09:13 upstream 83bdc7275e62 8df85ed9 .config log report
ci-upstream-kasan-gce-root 2020/07/30 08:15 upstream d3590ebf6f91 233283a1 .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/30 05:31 upstream d3590ebf6f91 233283a1 .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/30 02:59 upstream d3590ebf6f91 233283a1 .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/29 22:53 upstream 6ba1b005ffc3 19a8de55 .config log report
ci-upstream-kasan-gce-root 2020/07/29 14:03 upstream 6ba1b005ffc3 19a8de55 .config log report
ci-upstream-kasan-gce-root 2020/07/29 04:35 upstream 6ba1b005ffc3 cb93dc6a .config log report
ci-upstream-kasan-gce-root 2020/07/28 19:27 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-root 2020/07/28 10:04 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-root 2020/07/28 00:05 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/27 14:11 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-smack-root 2020/07/27 00:09 upstream 04300d66f0a0 51265195 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/26 15:14 upstream 04300d66f0a0 51265195 .config log report
ci-upstream-kasan-gce-root 2020/07/26 11:59 upstream 04300d66f0a0 51265195 .config log report
ci-upstream-kasan-gce-root 2020/07/26 07:49 upstream 23ee3e4e5bd2 1f7cc1ca .config log report
ci-upstream-kasan-gce-root 2020/07/26 00:19 upstream 23ee3e4e5bd2 1f7cc1ca .config log report
ci-upstream-kasan-gce-smack-root 2020/07/25 16:48 upstream 68845a55c31b 1f7cc1ca .config log report
ci-upstream-kasan-gce-root 2020/07/25 14:14 upstream 68845a55c31b 1f7cc1ca .config log report
ci-upstream-kasan-gce-smack-root 2020/07/25 01:03 upstream f37e99aca03f 554af388 .config log report
ci-upstream-kasan-gce-selinux-root 2020/07/24 23:14 upstream f37e99aca03f 554af388 .config log report
ci-upstream-kasan-gce-root 2020/07/24 14:27 upstream f37e99aca03f 554af388 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/24 05:55 upstream d15be546031c 70c104a1 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/23 22:40 upstream d15be546031c 70c104a1 .config log report
ci-upstream-kasan-gce-root 2020/07/23 07:26 upstream 8c26c87b0532 340ea530 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/23 02:19 upstream 8c26c87b0532 340ea530 .config log report
ci-upstream-kasan-gce 2020/07/23 00:27 upstream 8c26c87b0532 340ea530 .config log report
ci-upstream-kasan-gce 2020/07/22 14:16 upstream 4fa640dc5230 128cd85f .config log report
ci-upstream-kasan-gce 2020/07/22 05:35 upstream 4fa640dc5230 21f1765e .config log report
ci-upstream-kasan-gce 2020/07/22 01:21 upstream 4fa640dc5230 21f1765e .config log report
ci-upstream-kasan-gce-root 2020/07/21 15:16 upstream 4fa640dc5230 d88894e6 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/21 10:11 upstream 4fa640dc5230 d88894e6 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/21 00:05 upstream 5714ee50bb43 4285ffa3 .config log report
ci-upstream-kasan-gce 2020/07/20 18:52 upstream 5714ee50bb43 4285ffa3 .config log report
ci-upstream-kasan-gce-root 2020/07/20 10:43 upstream 92188b41f139 9c812472 .config log report
ci-upstream-kasan-gce-smack-root 2020/07/20 00:56 upstream 92188b41f139 9c812472 .config log report
ci-qemu-upstream 2020/07/10 12:58 upstream 42f82040ee66 56d01184 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/28 15:10 upstream a6ed68d6468b 46869e3e .config log report
ci-upstream-kasan-gce-386 2020/07/28 21:39 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-386 2020/07/27 14:13 upstream 92ed30191993 cb93dc6a .config log report
ci-upstream-kasan-gce-386 2020/07/27 04:04 upstream 92ed30191993 51265195 .config log report
ci-qemu-upstream-386 2020/07/21 00:34 upstream 4fa640dc5230 8caeeeb7 .config log report
ci-upstream-kasan-gce-386 2020/07/20 11:49 upstream 92188b41f139 9c812472 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/07/03 11:14 linux-next aab2003999e7 bed10395 .config log report
* Struck through repros no longer work on HEAD.