syzbot


WARNING in __device_add_disk

Status: closed as invalid on 2023/08/03 09:52
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+3337db851ace689ceb50@syzkaller.appspotmail.com
First crash: 2363d, last: 1903d
Cause bisection: introduced by (bisect log) :
commit e41d58185f1444368873d4d7422f7664a68be61d
Author: Dmitry Vyukov <dvyukov@google.com>
Date: Wed Jul 12 21:34:35 2017 +0000

  fault-inject: support systematic fault injection

Crash: general protection fault in sysfs_do_create_link_sd (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit ec939e4c94bd3ef2fd4f34c15f8aaf79bd0c5ee1
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Dec 5 19:43:31 2019 +0000

  Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

  
Discussions (3)
Title Replies (including bot) Last reply
WARNING in __device_add_disk 0 (3) 2019/11/26 10:16
Reminder: 5 open syzbot bugs in "fs/fuse" subsystem 1 (1) 2019/07/24 02:32
Reminder: 5 open syzbot bugs in "fs/fuse" subsystem 1 (1) 2019/07/02 05:26
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __device_add_disk C error 4 1589d 1990d 0/1 upstream: reported C repro on 2019/04/26 22:33
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/06/05 20:09 13m retest repro upstream error
2023/06/05 19:58 13m retest repro upstream error
2023/06/05 14:49 14m retest repro upstream error
2023/06/05 11:49 12m retest repro upstream error
2023/03/27 19:32 14m retest repro upstream error
2023/03/27 14:32 13m retest repro upstream error
2023/03/27 10:32 13m retest repro upstream error
2022/12/17 16:31 13m retest repro upstream error
2022/12/17 12:31 14m retest repro upstream error
2022/12/17 08:31 13m retest repro upstream error

Sample crash report:
RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445989
RDX: 00000000004ae3f9 RSI: 0000000020000880 RDI: 00000000200008c0
RBP: 0000000000000000 R08: 00007f03acf92ca0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00000000006dbc20
R13: 0000000000000005 R14: 0030656c69662f2e R15: 0000000000000001
WARNING: CPU: 1 PID: 4515 at block/genhd.c:697 __device_add_disk+0x104a/0x1340 block/genhd.c:697
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4515 Comm: syz-executor745 Not tainted 4.17.0-rc5+ #51
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+0x1b9/0x294 lib/dump_stack.c:113
 panic+0x22f/0x4de kernel/panic.c:184
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:__device_add_disk+0x104a/0x1340 block/genhd.c:697
RSP: 0018:ffff8801d903f4e0 EFLAGS: 00010293
RAX: ffff8801d8ce8600 RBX: ffff8801d8e30200 RCX: ffffffff83438983
RDX: 0000000000000000 RSI: ffffffff83438aba RDI: 0000000000000005
RBP: ffff8801d903f6b0 R08: ffff8801d8ce8600 R09: 0000000000000006
R10: ffff8801d8ce8600 R11: 0000000000000000 R12: 00000000fffffff4
R13: ffff8801d903f688 R14: ffff8801d8e30760 R15: ffff8801d8e30204
 device_add_disk+0x22/0x30 block/genhd.c:717
 add_disk include/linux/genhd.h:399 [inline]
 loop_add+0x70b/0x9c0 drivers/block/loop.c:1895
 loop_probe+0x185/0x1c0 drivers/block/loop.c:1967
 kobj_lookup+0x269/0x460 drivers/base/map.c:124
 get_gendisk+0x4c/0x380 block/genhd.c:825
 bdev_get_gendisk fs/block_dev.c:1063 [inline]
 bd_start_claiming fs/block_dev.c:1118 [inline]
 blkdev_get+0x16a/0xb30 fs/block_dev.c:1604
 blkdev_get_by_path+0x5c/0xe0 fs/block_dev.c:1689
 mount_bdev+0x5d/0x3e0 fs/super.c:1122
 fuse_mount_blk+0x34/0x40 fs/fuse/inode.c:1222
 mount_fs+0xae/0x328 fs/super.c:1267
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2848
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x445989
RSP: 002b:00007f03acf92c88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445989
RDX: 00000000004ae3f9 RSI: 0000000020000880 RDI: 00000000200008c0
RBP: 0000000000000000 R08: 00007f03acf92ca0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00000000006dbc20
R13: 0000000000000005 R14: 0030656c69662f2e R15: 0000000000000001
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/15 14:17 upstream 67b8d5c70812 661fd7b9 .config console log report syz C ci-upstream-kasan-gce-root
2018/05/12 16:12 upstream f0ab773f5c96 e726f42b .config console log report syz C ci-upstream-kasan-gce-root
2018/04/30 12:36 upstream 6da6c0db5316 06db3cec .config console log report syz C ci-upstream-kasan-gce-root
2019/07/23 16:03 upstream c6dd78fcb8ee de453f34 .config console log report ci-upstream-kasan-gce-root
2019/06/30 06:15 upstream 728254541ebc 7509bf36 .config console log report ci-upstream-kasan-gce-smack-root
2019/05/03 16:31 upstream ea9866793d1e 1bfa09b9 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/25 06:45 upstream cd8dead0c394 8e3c52b1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/19 06:37 upstream 6d906f998179 b0e8efcb .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/17 03:20 upstream 444fe9913539 b0e8efcb .config console log report ci-upstream-kasan-gce-root
2019/04/14 17:30 upstream 4443f8e6ac77 505ab413 .config console log report ci-upstream-kasan-gce-smack-root
2019/04/11 17:37 upstream 582549e3fbe1 13030ef8 .config console log report ci-upstream-kasan-gce-root
2019/04/03 09:46 upstream a816fd6b49b6 dfd3394d .config console log report ci-upstream-kasan-gce-root
2019/03/09 19:47 upstream 38e7571c07be 12365b99 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/09 06:39 upstream 3601fe43e816 12365b99 .config console log report ci-upstream-kasan-gce-root
2019/03/07 16:47 upstream f90d64483ebd 8c085c5e .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/28 12:15 upstream 7d762d69145a 09aeeba4 .config console log report ci-upstream-kasan-gce-root
2019/02/20 07:53 upstream 40e196a906d9 4df543c9 .config console log report ci-upstream-kasan-gce-root
2019/02/08 19:48 upstream 74e96711e337 fa6c7b70 .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/03 05:42 upstream 12491ed354d2 c198d5dd .config console log report ci-upstream-kasan-gce-smack-root
2019/01/30 05:09 upstream 62967898789d aa432daf .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/15 20:06 upstream fe76fc6aaf53 79cb1a7c .config console log report ci-upstream-kasan-gce-smack-root
2019/01/08 01:15 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-root
2019/01/08 00:19 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/26 02:18 upstream d8924c0d76aa 8a41a0ad .config console log report ci-upstream-kasan-gce-smack-root
2018/12/18 04:39 upstream 1a9430db2835 def91db3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/17 01:20 upstream e6a2562fe27f b08ee62a .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/04 13:07 upstream 71e56028173b 8bd6bd63 .config console log report ci-upstream-kasan-gce-root
2018/10/19 15:48 upstream 91b15613ce7f 9aba67b5 .config console log report ci-upstream-kasan-gce
2018/10/16 03:12 upstream f0a7d1883d9f 8cd30605 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/22 00:34 upstream 10dc890d4228 37079712 .config console log report ci-upstream-kasan-gce-selinux-root
2018/07/13 01:57 upstream 63f047771621 06c33b3a .config console log report ci-upstream-kasan-gce-root
2018/05/26 12:22 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/22 07:23 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/21 21:43 upstream 6741c4bb389d f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/12 23:37 upstream 427fbe89261d e726f42b .config console log report ci-upstream-kasan-gce
2018/04/19 14:16 upstream 87ef12027b9b 3642839c .config console log report ci-upstream-kasan-gce
2019/03/15 00:02 upstream 3b319ee220a8 d72db19b .config console log report ci-upstream-kasan-gce-386
2018/10/07 13:06 upstream fb1c592cf4c9 8b311eaf .config console log report ci-upstream-kasan-gce-386
2018/10/04 09:03 upstream cec4de302c5f 8b311eaf .config console log report ci-upstream-kasan-gce-386
2018/06/05 23:28 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce-386
2018/11/08 06:38 linux-next f7af6d2c48bf e85d2a61 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/16 11:43 linux-next 6d5d82417dd6 8cd30605 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/11 11:11 linux-next 98be45067040 2e0e3130 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.