syzbot


WARNING in loop_add

Status: upstream: reported C repro on 2023/06/02 07:04
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+345db7d28450eed314e4@syzkaller.appspotmail.com
First crash: 492d, last: 6d20h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/06/02 linux-5.15.y (ToT) 0ab06468cbd1 C [report] WARNING in loop_add
2023/06/02 upstream (ToT) 921bdc72a0d6 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in loop_add C error 94 593d 1878d 0/1 upstream: reported C repro on 2019/08/16 07:43
upstream WARNING in loop_add C done error 64 1057d 1871d 20/28 fixed on 2022/03/08 16:11
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/05/25 19:44 0m fix candidate upstream error job log
2024/03/25 03:38 0m fix candidate upstream error job log
2024/02/12 02:13 0m fix candidate upstream error job log
2024/01/08 20:08 1m fix candidate upstream error job log
2023/11/23 11:14 0m fix candidate upstream error job log
2023/09/06 08:47 0m fix candidate upstream error job log
2023/09/01 04:00 1m bisect fix linux-5.15.y error job log

Sample crash report:
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4021 at block/genhd.c:549 device_add_disk+0x604/0xaf4
Modules linked in:
CPU: 0 PID: 4021 Comm: syz-executor502 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : device_add_disk+0x604/0xaf4
lr : device_add_disk+0x600/0xaf4 block/genhd.c:547
sp : ffff8000200c7b10
x29: ffff8000200c7b70 x28: dfff800000000000 x27: ffff0000c0484680
x26: ffff0000c0484b7c x25: 00000000ffffffea x24: ffff0000d02eb8a0
x23: 1fffe0001a05d714 x22: 0000000000000001 x21: ffff0000d02eb890
x20: 0000000000000007 x19: ffff0000d02eb800 x18: 0000000000000001
x17: 0000000000000000 x16: ffff8000082ec9a8 x15: ffff8000089c9954
x14: ffff80000c06ba9c x13: ffff80000c06c530 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d74bd1c0
x8 : ffff80000a858574 x7 : 0000000000000000 x6 : ffff80000805d400
x5 : ffff0000d57e6780 x4 : 0000000000000000 x3 : ffff80000ab70c3c
x2 : 0000000000000001 x1 : 0000000000000007 x0 : 0000000000000103
Call trace:
 device_add_disk+0x604/0xaf4
 add_disk include/linux/genhd.h:203 [inline]
 loop_add+0x554/0x7ac drivers/block/loop.c:2430
 loop_control_ioctl+0xec/0x62c drivers/block/loop.c:2545
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 1186
hardirqs last  enabled at (1185): [<ffff8000088d70f8>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231
hardirqs last disabled at (1186): [<ffff800011abda6c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (1178): [<ffff8000081b6d74>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (1178): [<ffff8000081b6d74>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (1153): [<ffff8000081b740c>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (1153): [<ffff8000081b740c>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (1153): [<ffff8000081b740c>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (1153): [<ffff8000081b740c>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace fefbc4bcc207f89a ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/29 10:53 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2023/06/02 09:14 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2023/06/24 07:18 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in loop_add
2024/09/29 10:35 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
2023/06/02 07:04 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in loop_add
* Struck through repros no longer work on HEAD.