syzbot


WARNING in submit_bio_checks
Status: upstream: reported C repro on 2020/07/11 05:34
Reported-by: syzbot+4c50ac32e5b10e4133e1@syzkaller.appspotmail.com
First crash: 690d, last: 66d

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

Patch testing requests:
Created Duration User Patch Repo Result
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:
loop0: detected capacity change from 0 to 1707
------------[ cut here ]------------
Trying to write to read-only block-device loop0 (partno 0)
WARNING: CPU: 1 PID: 3592 at block/blk-core.c:586 bio_check_ro block/blk-core.c:584 [inline]
WARNING: CPU: 1 PID: 3592 at block/blk-core.c:586 submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697
Modules linked in:
CPU: 0 PID: 3592 Comm: syz-executor326 Not tainted 5.17.0-rc7-syzkaller-00068-ge7e19defa575 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bio_check_ro block/blk-core.c:584 [inline]
RIP: 0010:submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697
Code: 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 96 05 00 00 0f b6 13 48 c7 c7 60 10 d4 8a 4c 89 ee 31 c0 e8 f7 17 4c fd <0f> 0b 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 30 e9 50 f3 ff ff
RSP: 0018:ffffc90001f6e860 EFLAGS: 00010246
RAX: f24c694015656200 RBX: ffff88814613a7d0 RCX: ffff888018cf9d00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90001f6e990 R08: ffffffff816add92 R09: ffffed1017364f24
R10: ffffed1017364f24 R11: 0000000000000000 R12: 1ffff1100ef7db19
R13: ffffc90001f6e900 R14: ffff888077bed8c0 R15: ffff888077bed8c8
FS:  0000555555718300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005647211c8328 CR3: 000000007f767000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __submit_bio+0xad/0x2f0 block/blk-core.c:796
 __submit_bio_noacct_mq block/blk-core.c:875 [inline]
 submit_bio_noacct+0x844/0x9e0 block/blk-core.c:901
 submit_bio+0x2d2/0x520 block/blk-core.c:962
 __block_write_full_page+0x8fb/0x1090 fs/buffer.c:1809
 __writepage+0x60/0x120 mm/page-writeback.c:2320
 write_cache_pages+0x8aa/0xe30 mm/page-writeback.c:2255
 generic_writepages+0xfb/0x160 mm/page-writeback.c:2346
 do_writepages+0x3c3/0x690 mm/page-writeback.c:2364
 filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:384
 __filemap_fdatawrite_range mm/filemap.c:417 [inline]
 filemap_write_and_wait_range+0x1b4/0x2a0 mm/filemap.c:669
 loop_set_status+0x1d7/0xa50 drivers/block/loop.c:1254
 lo_ioctl+0xc9a/0x1f50
 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:588
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9dc60fb769
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc1bc58ec8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9dc60fb769
RDX: 0000000020000280 RSI: 0000000000004c02 RDI: 0000000000000003
RBP: 00007f9dc60bb310 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 00007f9dc60bb3a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

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