Extracting prog: 2m3.424981995s Minimizing prog: 5m30.006562022s Simplifying prog options: 0s Extracting C: 1m3.160474901s Simplifying C: 4m22.37959434s 1 programs, 3 VMs, timeouts [15s 6m0s] extracting reproducer from 1 programs single: executing 1 programs separately with timeout 15s testing program (duration=15s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) r1 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r1, 0x4c81, &(0x7f0000000040)) program crashed: WARNING in del_gendisk single: successfully extracted reproducer found reproducer with 4 syscalls minimizing guilty program testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) ioctl$FS_IOC_SETFLAGS(0xffffffffffffffff, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: ioctl$FS_IOC_SETFLAGS(0xffffffffffffffff, 0x4c80, &(0x7f0000000040)) r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, 0x0, 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) r1 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r1, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, 0x0) r1 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r1, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) r1 = openat$loop_ctrl(0xffffffffffffff9c, 0x0, 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r1, 0x4c81, &(0x7f0000000040)) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS detailed listing: executing program 0: r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r0, 0x4c80, &(0x7f0000000040)) r1 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$FS_IOC_SETFLAGS(r1, 0x4c81, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk simplifying C reproducer testing compiled C program (duration=22.5s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS-openat$loop_ctrl-ioctl$FS_IOC_SETFLAGS program crashed: WARNING in del_gendisk reproducing took 12m58.971627088s repro crashed as (corrupted=false): ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3966 at block/genhd.c:592 del_gendisk+0x698/0x72c block/genhd.c:592 Modules linked in: CPU: 0 PID: 3966 Comm: syz-executor427 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : del_gendisk+0x698/0x72c block/genhd.c:592 lr : del_gendisk+0x698/0x72c block/genhd.c:592 sp : ffff80001afa7bc0 x29: ffff80001afa7be0 x28: ffff0000daa39b40 x27: 1fffe0001ade6a2a x26: 1fffe0001913d510 x25: 1ffff000035f4f88 x24: ffff0000c89ea880 x23: 0000000000000000 x22: ffff0000c89ea8a0 x21: ffff0000c89ea800 x20: ffff0000cd2a2aa8 x19: 0000000000000240 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eb0b0 x15: 0000000000004c82 x14: 1ffff0000292a06a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000daa39b40 x8 : ffff80000a848970 x7 : ffff80000c045e78 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800011a6243c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: del_gendisk+0x698/0x72c block/genhd.c:592 loop_remove drivers/block/loop.c:2452 [inline] loop_control_remove drivers/block/loop.c:2509 [inline] loop_control_ioctl+0x4a8/0x62c drivers/block/loop.c:2547 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: 13688 hardirqs last enabled at (13687): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (13688): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (13670): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (13670): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (13635): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (13635): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (13635): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (13635): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 1537fbd5b53085f4 ]--- final repro crashed as (corrupted=false): ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3966 at block/genhd.c:592 del_gendisk+0x698/0x72c block/genhd.c:592 Modules linked in: CPU: 0 PID: 3966 Comm: syz-executor427 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : del_gendisk+0x698/0x72c block/genhd.c:592 lr : del_gendisk+0x698/0x72c block/genhd.c:592 sp : ffff80001afa7bc0 x29: ffff80001afa7be0 x28: ffff0000daa39b40 x27: 1fffe0001ade6a2a x26: 1fffe0001913d510 x25: 1ffff000035f4f88 x24: ffff0000c89ea880 x23: 0000000000000000 x22: ffff0000c89ea8a0 x21: ffff0000c89ea800 x20: ffff0000cd2a2aa8 x19: 0000000000000240 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eb0b0 x15: 0000000000004c82 x14: 1ffff0000292a06a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000daa39b40 x8 : ffff80000a848970 x7 : ffff80000c045e78 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800011a6243c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: del_gendisk+0x698/0x72c block/genhd.c:592 loop_remove drivers/block/loop.c:2452 [inline] loop_control_remove drivers/block/loop.c:2509 [inline] loop_control_ioctl+0x4a8/0x62c drivers/block/loop.c:2547 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: 13688 hardirqs last enabled at (13687): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (13688): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (13670): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (13670): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (13635): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (13635): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (13635): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (13635): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 1537fbd5b53085f4 ]---