Extracting prog: 2m3.366980843s Minimizing prog: 12m3.500646819s Simplifying prog options: 0s Extracting C: 30.585339691s Simplifying C: 11m6.951325504s extracting reproducer from 31 programs first checking the prog from the crash report single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto detailed listing: executing program 0: r0 = openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, &(0x7f0000000180)='/sys/kernel/tracing/set_event\x00', 0x60, 0x0) read$auto(r0, &(0x7f0000000000)='/proc/self/net/afs/addr_prefs\x00', 0x6c64) (fail_nth: 2) program crashed: WARNING: bad unlock balance in seq_read_iter single: successfully extracted reproducer found reproducer with 2 syscalls minimizing guilty program testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events detailed listing: executing program 0: openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, &(0x7f0000000180)='/sys/kernel/tracing/set_event\x00', 0x60, 0x0) program did not crash testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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}}): read$auto detailed listing: executing program 0: read$auto(0xffffffffffffffff, &(0x7f0000000000)='/proc/self/net/afs/addr_prefs\x00', 0x6c64) (fail_nth: 2) program did not crash testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto detailed listing: executing program 0: r0 = openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, &(0x7f0000000180)='/sys/kernel/tracing/set_event\x00', 0x60, 0x0) read$auto(r0, &(0x7f0000000000)='/proc/self/net/afs/addr_prefs\x00', 0x6c64) program did not crash testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto detailed listing: executing program 0: r0 = openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, 0x0, 0x60, 0x0) read$auto(r0, &(0x7f0000000000)='/proc/self/net/afs/addr_prefs\x00', 0x6c64) (fail_nth: 2) program did not crash testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto detailed listing: executing program 0: r0 = openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, &(0x7f0000000180)='/sys/kernel/tracing/set_event\x00', 0x60, 0x0) read$auto(r0, 0x0, 0x6c64) (fail_nth: 2) program crashed: WARNING: bad unlock balance in seq_read_iter testing program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto detailed listing: executing program 0: r0 = openat$auto_ftrace_set_event_fops_trace_events(0xffffffffffffff9c, &(0x7f0000000180)='/sys/kernel/tracing/set_event\x00', 0x60, 0x0) read$auto(r0, 0x0, 0x6c64) program did not crash extracting C reproducer testing compiled C program (duration=52.576167237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter simplifying C reproducer testing compiled C program (duration=52.576167237s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter testing compiled C program (duration=52.576167237s, {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$auto_ftrace_set_event_fops_trace_events-read$auto program crashed: WARNING: bad unlock balance in seq_read_iter reproducing took 25m44.404322528s repro crashed as (corrupted=false): Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe566caee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffe566caef0 RCX: 00007f1f6401a2e9 RDX: 0000000000006c64 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe566cac87 R09: 00007f1f64080032 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f1f64085618 R13: 00007ffe566cb0c8 R14: 0000000000000001 R15: 0000000000000001 ===================================== WARNING: bad unlock balance detected! 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Not tainted ------------------------------------- syz-executor359/5828 is trying to release lock (event_mutex) at: [] seq_read_iter+0x5ff/0x12b0 fs/seq_file.c:251 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor359/5828: #0: ffff88802fd120a0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 stack backtrace: CPU: 0 UID: 0 PID: 5828 Comm: syz-executor359 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_unlock_imbalance_bug kernel/locking/lockdep.c:5289 [inline] print_unlock_imbalance_bug+0x1aa/0x1f0 kernel/locking/lockdep.c:5263 __lock_release kernel/locking/lockdep.c:5528 [inline] lock_release+0x525/0x6f0 kernel/locking/lockdep.c:5872 __mutex_unlock_slowpath+0xa3/0x6a0 kernel/locking/mutex.c:891 seq_read_iter+0x5ff/0x12b0 fs/seq_file.c:251 seq_read+0x39f/0x4e0 fs/seq_file.c:162 vfs_read+0x1df/0xbf0 fs/read_write.c:563 ksys_read+0x12b/0x250 fs/read_write.c:708 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1f6401a2e9 Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe566caee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffe566caef0 RCX: 00007f1f6401a2e9 RDX: 0000000000006c64 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe566cac87 R09: 00007f1f64080032 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f1f64085618 R13: 00007ffe566 ---------------- Code disassembly (best guess): 0: 48 83 c4 28 add $0x28,%rsp 4: c3 ret 5: e8 17 1a 00 00 call 0x1a21 a: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W final repro crashed as (corrupted=false): Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe566caee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffe566caef0 RCX: 00007f1f6401a2e9 RDX: 0000000000006c64 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe566cac87 R09: 00007f1f64080032 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f1f64085618 R13: 00007ffe566cb0c8 R14: 0000000000000001 R15: 0000000000000001 ===================================== WARNING: bad unlock balance detected! 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Not tainted ------------------------------------- syz-executor359/5828 is trying to release lock (event_mutex) at: [] seq_read_iter+0x5ff/0x12b0 fs/seq_file.c:251 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor359/5828: #0: ffff88802fd120a0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 stack backtrace: CPU: 0 UID: 0 PID: 5828 Comm: syz-executor359 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_unlock_imbalance_bug kernel/locking/lockdep.c:5289 [inline] print_unlock_imbalance_bug+0x1aa/0x1f0 kernel/locking/lockdep.c:5263 __lock_release kernel/locking/lockdep.c:5528 [inline] lock_release+0x525/0x6f0 kernel/locking/lockdep.c:5872 __mutex_unlock_slowpath+0xa3/0x6a0 kernel/locking/mutex.c:891 seq_read_iter+0x5ff/0x12b0 fs/seq_file.c:251 seq_read+0x39f/0x4e0 fs/seq_file.c:162 vfs_read+0x1df/0xbf0 fs/read_write.c:563 ksys_read+0x12b/0x250 fs/read_write.c:708 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1f6401a2e9 Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe566caee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffe566caef0 RCX: 00007f1f6401a2e9 RDX: 0000000000006c64 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe566cac87 R09: 00007f1f64080032 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f1f64085618 R13: 00007ffe566 ---------------- Code disassembly (best guess): 0: 48 83 c4 28 add $0x28,%rsp 4: c3 ret 5: e8 17 1a 00 00 call 0x1a21 a: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W