syzbot


WARNING in submit_bio_checks

Status: fixed on 2023/04/17 21:14
Reported-by: syzbot+4c50ac32e5b10e4133e1@syzkaller.appspotmail.com
Fix commit: 57e95e4670d1 block: fix and cleanup bio_check_ro
First crash: 1557d, last: 933d
Cause bisection: introduced by (bisect log) :
commit 449325b52b7a6208f65ed67d3484fd7b7184477b
Author: Alexei Starovoitov <ast@kernel.org>
Date: Tue May 22 02:22:29 2018 +0000

  umh: introduce fork_usermode_blob() helper

Crash: KASAN: use-after-free Write in call_usermodehelper_exec_work (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit b1f8ccdaae0310332d16f65bf0f622f9d4ae2391
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Fri Mar 25 02:25:24 2022 +0000

  Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

  
Discussions (2)
Title Replies (including bot) Last reply
WARNING in submit_bio_checks 2 (4) 2020/07/16 05:00
[PATCH] fs: block_dev.c: fix WARNING in submit_bio_check 1 (1) 2020/07/15 12:50
Last patch testing requests (15)
Created Duration User Patch Repo Result
2023/01/15 22:32 21m retest repro upstream report log
2023/01/13 20:32 20m retest repro upstream OK log
2022/11/09 00:30 17m retest repro linux-next error
2022/11/08 23:30 17m retest repro linux-next error
2022/11/08 21:30 17m retest repro linux-next error
2022/11/08 20:30 18m retest repro linux-next error
2022/11/08 08:30 18m retest repro linux-next error
2022/11/08 06:30 17m retest repro linux-next error
2022/11/08 05:30 11m retest repro linux-next error
2022/11/08 01:30 10m retest repro linux-next error
2020/07/19 17:43 10m bkkarthik@pesu.pes.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log
2020/07/19 17:40 10m bkkarthik@pesu.pes.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git master report log
2020/07/19 14:28 3m bkkarthik@pesu.pes.edu patch linux-next error
2020/07/16 04:35 9m bkkarthik@pesu.pes.edu patch linux-next report log
2020/07/16 04:32 9m bkkarthik@pesu.pes.edu patch linux-next report log

Sample crash report:
------------[ cut here ]------------
Trying to write to read-only block-device sda1 (partno 1)
WARNING: CPU: 0 PID: 4804 at block/blk-core.c:706 bio_check_ro block/blk-core.c:704 [inline]
WARNING: CPU: 0 PID: 4804 at block/blk-core.c:706 submit_bio_checks+0x110b/0x1600 block/blk-core.c:817
Modules linked in:
CPU: 1 PID: 4804 Comm: jbd2/sda1-8 Not tainted 5.12.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bio_check_ro block/blk-core.c:704 [inline]
RIP: 0010:submit_bio_checks+0x110b/0x1600 block/blk-core.c:817
Code: 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 e8 04 00 00 0f b6 13 48 c7 c7 a0 e8 0b 8a 4c 89 f6 31 c0 e8 15 ab 90 fd <0f> 0b 4c 8b 6c 24 10 49 be 00 00 00 00 00 fc ff df e9 bd f2 ff ff
RSP: 0018:ffffc9000b11f900 EFLAGS: 00010246
RAX: 9ab737cbee47ca00 RBX: ffff888016adf8e0 RCX: ffff888022943780
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000b11f9c0 R08: ffffffff81602402 R09: ffffed1017385fe8
R10: ffffed1017385fe8 R11: 0000000000000000 R12: ffff88801cca73c8
R13: ffff88801cca73c0 R14: ffffc9000b11f960 R15: 1ffff11003994e79
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7965117000 CR3: 00000000264e8000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 submit_bio_noacct+0x36/0x1020 block/blk-core.c:1032
 submit_bio+0x1a4/0x640 block/blk-core.c:1118
 submit_bh+0x21/0x30 fs/buffer.c:3061
 jbd2_journal_commit_transaction+0x25db/0x5ac0 fs/jbd2/commit.c:775
 kjournald2+0x432/0x8a0 fs/jbd2/journal.c:213
 kthread+0x39a/0x3c0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (1851):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/02 23:18 upstream 7a7fd0de4a98 92ead296 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2021/08/03 07:55 linux-next 8d4b477da1a8 6c236867 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/07/27 14:52 linux-next 2265c5286967 fd511809 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/06/11 07:39 linux-next a1f92694393a 1ba81399 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/05/11 14:18 linux-next 4bf27b1f7330 ca873091 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/05/05 09:06 linux-next 9a9aa07ae18b 06c27ff5 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/04/12 08:03 linux-next e99d8a849517 bfeda1b1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/03/29 22:29 linux-next 931294922e65 6a81331a .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2020/08/24 01:35 linux-next 494d311a82bb cef5ae68 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/07 05:50 linux-next 9e50b94b3eb0 51095195 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2022/03/10 07:45 upstream e7e19defa575 9e8eaa75 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/02/19 18:34 upstream 4f12b742eb2b 3cd800e4 .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/12/17 23:10 upstream 6441998e2e37 44068e19 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/10/05 10:40 upstream 84b3e42564ac ce697b49 .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/09/04 12:24 upstream 7cca308cfdc0 d236a457 .config console log report syz C ci-upstream-kasan-gce WARNING in submit_bio_checks
2021/08/27 15:44 upstream 77dd11439b86 b318694d .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/08/23 14:47 upstream e22ce8eb631b b599f2fc .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/08/23 06:04 upstream e22ce8eb631b b599f2fc .config console log report syz C ci-upstream-kasan-gce WARNING in submit_bio_checks
2021/08/15 18:50 upstream 0aa78d17099b 2489ab88 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/07/15 20:35 upstream 8096acd7442e b9a2f64e .config console log report syz C ci-upstream-kasan-gce WARNING in submit_bio_checks
2021/07/15 10:04 upstream 8096acd7442e b9a2f64e .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2021/07/11 11:58 upstream 3dbdb38e2869 8f5a7b8c .config console log report syz C ci-upstream-kasan-gce WARNING in submit_bio_checks
2021/07/02 10:58 upstream e058a84bfddc 658ebc66 .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/06/25 21:19 upstream 44db63d1ad8d ae6bf8dd .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/06/25 00:50 upstream 4a09d388f2ab 0edbbe31 .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/06/20 06:20 upstream 9ed13a17e38e aba2b2fb .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/05/17 15:26 upstream d07f6ca923ea a2eb125d .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/05/09 21:54 upstream b741596468b0 bc5434be .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/04/28 12:58 upstream 57fa2369ab17 805b5003 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/04/07 20:23 upstream 2d743660786e 6a81331a .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/04/07 12:17 upstream 2d743660786e 6a81331a .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2021/04/07 09:44 upstream 2d743660786e 6a81331a .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/03/30 08:17 upstream 1e43c377a79f 6a81331a .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2021/03/29 07:42 upstream 81b1d39fd39a a8529b82 .config console log report syz C ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2021/02/13 16:43 upstream c6d8570e4d64 98682e5e .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2021/02/10 06:09 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2020/12/13 14:04 upstream 7b1b868e1d91 bca53db9 .config console log report syz C ci-upstream-kasan-gce
2020/08/23 00:50 upstream c3d8f220d012 1da71ab0 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/08/23 00:16 upstream c3d8f220d012 1da71ab0 .config console log report syz C ci-upstream-kasan-gce-root
2020/08/23 00:09 upstream c3d8f220d012 1da71ab0 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/08/23 00:36 upstream c3d8f220d012 1da71ab0 .config console log report syz C ci-upstream-kasan-gce-386
2022/03/22 11:21 upstream eaa54b1458ca e2d91b1d .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/17 22:32 upstream 551acdc3c3d2 e2d91b1d .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/17 21:31 upstream 551acdc3c3d2 e2d91b1d .config console log report info ci-qemu-upstream WARNING in submit_bio_checks
2022/03/17 18:26 upstream 56e337f2cf13 e2d91b1d .config console log report info ci-qemu-upstream WARNING in submit_bio_checks
2022/03/17 17:14 upstream 56e337f2cf13 e2d91b1d .config console log report info ci-qemu-upstream WARNING in submit_bio_checks
2022/03/17 16:01 upstream 56e337f2cf13 e2d91b1d .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/17 12:11 upstream 56e337f2cf13 dfa9a8ed .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/03/17 08:59 upstream 56e337f2cf13 dfa9a8ed .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/14 21:51 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/03/14 19:00 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/14 16:42 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/14 04:54 upstream f0e18b03fcaf 9e8eaa75 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/14 03:44 upstream f0e18b03fcaf 9e8eaa75 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/13 14:58 upstream aad611a868d1 9e8eaa75 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/03/13 07:27 upstream aad611a868d1 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/12 18:37 upstream 68453767131a 9e8eaa75 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/11 23:00 upstream 79b00034e9dc 9e8eaa75 .config console log report info ci-qemu-upstream WARNING in submit_bio_checks
2022/03/10 17:08 upstream 3bf7edc84a9e 9e8eaa75 .config console log report info ci-qemu-upstream WARNING in submit_bio_checks
2022/03/10 13:53 upstream e7e19defa575 9e8eaa75 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/09 14:45 upstream 330f4c53d3c2 9e8eaa75 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/07 23:57 upstream ea4424be1688 7bdd8b2c .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/03/07 15:58 upstream ffb217a13a2e 7bdd8b2c .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/03/06 22:14 upstream dcde98da9970 7bdd8b2c .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/03/05 15:23 upstream ac84e82f78cb 45a13a73 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/01 10:37 upstream 719fce7539cd 45a13a73 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/03/01 02:29 upstream 719fce7539cd 45a13a73 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/02/26 19:39 upstream 9137eda53752 45a13a73 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/02/26 16:20 upstream 9137eda53752 45a13a73 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/25 16:51 upstream 53ab78cd6d5a 7c337266 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/02/25 06:42 upstream 73878e5eb1bd 7c337266 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/23 03:27 upstream 917bbdb107f8 6e821dbf .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/22 13:24 upstream 038101e6b2cd 6e821dbf .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/02/21 17:23 upstream cfb92440ee71 3cd800e4 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/20 16:57 upstream 4f12b742eb2b 3cd800e4 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/02/20 03:13 upstream 4f12b742eb2b 3cd800e4 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/19 04:06 upstream 7993e65fdd0f 3cd800e4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/02/16 15:32 upstream c5d9ae265b10 8b9ca619 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in submit_bio_checks
2022/02/16 05:20 upstream 705d84a366cf 8b9ca619 .config console log report info ci-upstream-kasan-gce-root WARNING in submit_bio_checks
2022/02/14 19:07 upstream 754e0b0e3560 8b9ca619 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in submit_bio_checks
2022/02/04 12:09 upstream dcb85f85fa6f a3e470b2 .config console log report info ci-upstream-kasan-gce WARNING in submit_bio_checks
2022/03/17 09:02 upstream 56e337f2cf13 dfa9a8ed .config console log report info ci-qemu-upstream-386 WARNING in submit_bio_checks
2022/03/10 15:37 upstream 3bf7edc84a9e 9e8eaa75 .config console log report info ci-qemu-upstream-386 WARNING in submit_bio_checks
2022/03/10 09:58 upstream e7e19defa575 9e8eaa75 .config console log report info ci-qemu2-arm64-mte WARNING in submit_bio_checks
2022/02/14 10:45 upstream 754e0b0e3560 8b9ca619 .config console log report info ci-qemu-upstream-386 WARNING in submit_bio_checks
2021/12/27 00:30 upstream fc74e0a40e4f e4f103c4 .config console log report info ci-upstream-kasan-gce-386 WARNING in submit_bio_checks
2021/11/15 10:07 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm32 WARNING in submit_bio_checks
2021/07/12 00:26 upstream de5540965853 8f5a7b8c .config console log report info ci-qemu2-arm64-compat WARNING in submit_bio_checks
2022/02/20 14:45 linux-next ef6b35306dd8 3cd800e4 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2022/02/19 23:48 linux-next ef6b35306dd8 3cd800e4 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2022/02/19 10:22 linux-next ef6b35306dd8 3cd800e4 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2022/02/14 23:53 linux-next ef6b35306dd8 8b9ca619 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2022/02/14 09:29 linux-next ef6b35306dd8 8b9ca619 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in submit_bio_checks
2021/06/05 12:45 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 500c2339 .config console log report info ci-qemu2-riscv64 WARNING in submit_bio_checks
2021/01/17 05:00 upstream 0da0a8a0a0e1 65a7a854 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/07/07 05:25 linux-next 9e50b94b3eb0 51095195 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.