Extracting prog: 1m8.097467872s
Minimizing prog: 7m31.468422075s
Simplifying prog options: 0s
Extracting C: 56.579668611s
Simplifying C: 10m10.605972474s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {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}}): bpf$PROG_LOAD-bpf$BPF_RAW_TRACEPOINT_OPEN-socket$inet-setsockopt$inet_opts-unshare
detailed listing:
executing program 0:
bpf$PROG_LOAD(0x5, 0x0, 0x0)
bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, 0x0, 0x0)
r0 = socket$inet(0x2, 0x2, 0x1)
setsockopt$inet_opts(r0, 0x0, 0x4, &(0x7f0000000000), 0x0)
unshare(0x44000680)
program crashed: WARNING in ip6mr_free_table
single: successfully extracted reproducer
found reproducer with 5 syscalls
minimizing guilty program
testing program (duration=53.319668905s, {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}}): bpf$PROG_LOAD-bpf$BPF_RAW_TRACEPOINT_OPEN-socket$inet-setsockopt$inet_opts
detailed listing:
executing program 0:
bpf$PROG_LOAD(0x5, 0x0, 0x0)
bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, 0x0, 0x0)
r0 = socket$inet(0x2, 0x2, 0x1)
setsockopt$inet_opts(r0, 0x0, 0x4, &(0x7f0000000000), 0x0)
program did not crash
testing program (duration=53.319668905s, {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}}): bpf$PROG_LOAD-bpf$BPF_RAW_TRACEPOINT_OPEN-socket$inet-unshare
detailed listing:
executing program 0:
bpf$PROG_LOAD(0x5, 0x0, 0x0)
bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, 0x0, 0x0)
socket$inet(0x2, 0x2, 0x1)
unshare(0x44000680)
program crashed: WARNING in ip6mr_free_table
testing program (duration=53.319668905s, {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}}): bpf$PROG_LOAD-bpf$BPF_RAW_TRACEPOINT_OPEN-unshare
detailed listing:
executing program 0:
bpf$PROG_LOAD(0x5, 0x0, 0x0)
bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, 0x0, 0x0)
unshare(0x44000680)
program crashed: WARNING in ip6mr_free_table
testing program (duration=53.319668905s, {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}}): bpf$PROG_LOAD-unshare
detailed listing:
executing program 0:
bpf$PROG_LOAD(0x5, 0x0, 0x0)
unshare(0x44000680)
program crashed: WARNING in ip6mr_free_table
testing program (duration=53.319668905s, {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}}): unshare
detailed listing:
executing program 0:
unshare(0x44000680)
program crashed: WARNING in ip6mr_free_table
extracting C reproducer
testing compiled C program (duration=53.319668905s, {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}}): unshare
program crashed: WARNING in ip6mr_free_table
simplifying C reproducer
testing compiled C program (duration=53.319668905s, {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}}): unshare
program did not crash
testing compiled C program (duration=53.319668905s, {Threaded:true 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}}): unshare
program did not crash
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 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}}): unshare
program did not crash
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): unshare
program crashed: WARNING in ip6mr_free_table
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): unshare
program crashed: WARNING in ip6mr_free_table
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): unshare
program crashed: WARNING in ip6mr_free_table
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): unshare
program crashed: WARNING in ip6mr_free_table
testing compiled C program (duration=53.319668905s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): unshare
program crashed: WARNING in ip6mr_free_table
reproducing took 19m46.751551297s
repro crashed as (corrupted=false):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5852 at net/ipv6/ip6mr.c:419 ip6mr_free_table+0xd8/0x100 net/ipv6/ip6mr.c:419
Modules linked in:
CPU: 1 UID: 0 PID: 5852 Comm: syz-executor873 Not tainted 6.12.0-syzkaller-10713-gda4fa00abe56 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ip6mr_free_table+0xd8/0x100 net/ipv6/ip6mr.c:419
Code: e8 9d 2f ff ff 49 8d be 98 0e 00 00 31 f6 31 d2 e8 9d 63 3c fa 4c 89 f7 5b 41 5c 41 5e 41 5f e9 8e 0c 70 f7 e8 69 6d 11 f7 90 <0f> 0b 90 eb c0 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 72 ff ff ff 48
RSP: 0018:ffffc90003eefaf8 EFLAGS: 00010293
RAX: ffffffff8a847717 RBX: 0000000000000001 RCX: ffff88805cb11e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8a8476aa R09: 1ffff1100f7383f0
R10: dffffc0000000000 R11: ffffed100f7383f1 R12: dffffc0000000000
R13: dead000000000122 R14: ffff88814ddd0000 R15: ffff88807b9c2d00
FS: 00007f1fb23c66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1fb24092b3 CR3: 0000000078e74000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip6mr_rules_exit+0x18f/0x220 net/ipv6/ip6mr.c:283
ip6mr_net_exit_batch+0x4a/0x90 net/ipv6/ip6mr.c:1388
ops_exit_list net/core/net_namespace.c:177 [inline]
setup_net+0x829/0x9e0 net/core/net_namespace.c:394
copy_net_ns+0x33f/0x570 net/core/net_namespace.c:500
create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0x124/0x180 kernel/nsproxy.c:228
ksys_unshare+0x57d/0xa70 kernel/fork.c:3334
__do_sys_unshare kernel/fork.c:3405 [inline]
__se_sys_unshare kernel/fork.c:3403 [inline]
__x64_sys_unshare+0x38/0x40 kernel/fork.c:3403
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1fb240b2d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1fb23c6238 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f1fb2495308 RCX: 00007f1fb240b2d9
RDX: 00007f1fb23e78c6 RSI: 0000000000000000 RDI: 0000000044000680
RBP: 00007f1fb2495300 R08: 00007fffdd495127 R09: 00007f1fb23c66c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1fb249530c
R13: 0000000000000000 R14: 00007fffdd495040 R15: 00007fffdd495128
final repro crashed as (corrupted=false):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5852 at net/ipv6/ip6mr.c:419 ip6mr_free_table+0xd8/0x100 net/ipv6/ip6mr.c:419
Modules linked in:
CPU: 1 UID: 0 PID: 5852 Comm: syz-executor873 Not tainted 6.12.0-syzkaller-10713-gda4fa00abe56 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ip6mr_free_table+0xd8/0x100 net/ipv6/ip6mr.c:419
Code: e8 9d 2f ff ff 49 8d be 98 0e 00 00 31 f6 31 d2 e8 9d 63 3c fa 4c 89 f7 5b 41 5c 41 5e 41 5f e9 8e 0c 70 f7 e8 69 6d 11 f7 90 <0f> 0b 90 eb c0 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 72 ff ff ff 48
RSP: 0018:ffffc90003eefaf8 EFLAGS: 00010293
RAX: ffffffff8a847717 RBX: 0000000000000001 RCX: ffff88805cb11e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8a8476aa R09: 1ffff1100f7383f0
R10: dffffc0000000000 R11: ffffed100f7383f1 R12: dffffc0000000000
R13: dead000000000122 R14: ffff88814ddd0000 R15: ffff88807b9c2d00
FS: 00007f1fb23c66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1fb24092b3 CR3: 0000000078e74000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip6mr_rules_exit+0x18f/0x220 net/ipv6/ip6mr.c:283
ip6mr_net_exit_batch+0x4a/0x90 net/ipv6/ip6mr.c:1388
ops_exit_list net/core/net_namespace.c:177 [inline]
setup_net+0x829/0x9e0 net/core/net_namespace.c:394
copy_net_ns+0x33f/0x570 net/core/net_namespace.c:500
create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0x124/0x180 kernel/nsproxy.c:228
ksys_unshare+0x57d/0xa70 kernel/fork.c:3334
__do_sys_unshare kernel/fork.c:3405 [inline]
__se_sys_unshare kernel/fork.c:3403 [inline]
__x64_sys_unshare+0x38/0x40 kernel/fork.c:3403
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1fb240b2d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1fb23c6238 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f1fb2495308 RCX: 00007f1fb240b2d9
RDX: 00007f1fb23e78c6 RSI: 0000000000000000 RDI: 0000000044000680
RBP: 00007f1fb2495300 R08: 00007fffdd495127 R09: 00007f1fb23c66c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1fb249530c
R13: 0000000000000000 R14: 00007fffdd495040 R15: 00007fffdd495128