Nov 22 04:46:53 ci2-netbsd-kubsan-3 getty[561]: /dev/ttyE2: Device not configured NetBSD/amd64 (ci2-netbsd-kubsan-3.c.syzkaller.internal) (console) Warning: Permanently added '10.128.0.52' (ECDSA) to the list of known hosts. 2019/11/22 04:47:13 fuzzer started 2019/11/22 04:47:13 dialing manager at 10.128.0.105:36307 2019/11/22 04:47:13 syscalls: 211 2019/11/22 04:47:13 code coverage: enabled 2019/11/22 04:47:13 comparison tracing: enabled 2019/11/22 04:47:13 extra coverage: support is not implemented in syzkaller 2019/11/22 04:47:13 setuid sandbox: support is not implemented in syzkaller 2019/11/22 04:47:13 namespace sandbox: support is not implemented in syzkaller 2019/11/22 04:47:13 Android sandbox: support is not implemented in syzkaller 2019/11/22 04:47:13 fault injection: support is not implemented in syzkaller 2019/11/22 04:47:13 leak checking: support is not implemented in syzkaller 2019/11/22 04:47:13 net packet injection: support is not implemented in syzkaller 2019/11/22 04:47:13 net device setup: support is not implemented in syzkaller 2019/11/22 04:47:13 concurrency sanitizer: support is not implemented in syzkaller 2019/11/22 04:47:13 devlink PCI setup: support is not implemented in syzkaller 04:47:21 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r3, 0x0, 0x0) 04:47:21 executing program 1: r0 = socket(0x11, 0x10000000000003, 0x0) sendto$unix(r0, &(0x7f0000000100)="b1000501005ce8a6591c76005786ca900f0e08febaa11ea2fef96ec2c73fd3357ae26caa04160858376336acf00b7804ae781e4b91f7c8df5f882b297be1aa79230000f4c8b2ca3ebbc257699a1f132e27a4b5d602001b0f0000a8af63ff3728a9346ca2b4940b14fae47d89720fd3f5a872c881ff7cc53c8943f382000000000000a00f90006ee01be6577f9019ca000002000000000000020200a371a3f8000000000000000000010000000000000000", 0xb1, 0x0, 0x0, 0x0) 04:47:21 executing program 2: r0 = open$dir(&(0x7f0000000080)='./file0\x00', 0x86c1, 0x0) r1 = open$dir(&(0x7f0000000180)='./file0\x00', 0x1, 0x0) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x80000}], 0x1000000000000075) ftruncate(r0, 0x7e2780e3) open(&(0x7f0000000000)='./file0\x00', 0x400, 0x0) 04:47:21 executing program 3: open(&(0x7f0000000200)='./file0\x00', 0x300, 0x0) r0 = open(&(0x7f0000000100)='./file0\x00', 0x0, 0x0) fcntl$lock(r0, 0x8, &(0x7f0000000280)={0x0, 0xfffffffffffffffc, 0x0, 0x100000001}) r1 = open(&(0x7f0000000200)='./file0\x00', 0x0, 0x0) flock(r0, 0x2) fcntl$lock(r1, 0xd, &(0x7f0000000040)={0x0, 0x2, 0x0, 0x100000001}) r2 = open(&(0x7f00000000c0)='./file0\x00', 0x201, 0x0) fcntl$lock(r2, 0x9, &(0x7f0000000000)={0x2, 0x2, 0xffffffffffffff7f, 0x1000300010005}) 04:47:21 executing program 5: r0 = semget$private(0x0, 0x6, 0x0) semop(r0, &(0x7f00000002c0)=[{0x3, 0x638, 0x1800}], 0x1) semop(r0, &(0x7f00000004c0)=[{0x2, 0x5, 0x1800}, {0x3, 0x731c, 0x1000}, {0x0, 0x1}], 0x3) 04:47:21 executing program 4: mkdir(&(0x7f0000000080)='./file0\x00', 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x0, 0x0) symlinkat(&(0x7f0000000180)='./file0/', r0, &(0x7f0000d06ff8)='./file0\x00') 04:47:24 executing program 5: setreuid(0x0, 0xee00) setgroups(0x0, 0x0) 04:47:24 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r3, 0x0, 0x0) 04:47:25 executing program 2: r0 = open(&(0x7f0000000040)='./file0\x00', 0x300, 0x0) r1 = getpgid(0x0) fcntl$lock(r0, 0xe, &(0x7f0000000180)={0x0, 0x0, 0x5f20ee71, 0x100000001, r1}) r2 = open(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) flock(r2, 0x1) open(0x0, 0x0, 0x0) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x201, 0x0) fcntl$lock(r3, 0x1000000009, &(0x7f0000000000)={0x0, 0xfffffffffffffffd, 0x0, 0x1000300010005}) getpid() fcntl$lock(0xffffffffffffffff, 0x0, 0x0) execve(0x0, 0x0, 0x0) flock(r2, 0x9) 04:47:25 executing program 5: r0 = open(&(0x7f0000000340)='./file0\x00', 0x300, 0x0) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x205, 0x0) fcntl$lock(r1, 0x9, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x1000300010005}) open$dir(&(0x7f0000000080)='./file0\x00', 0x8112, 0x0) r2 = open(&(0x7f0000000200)='./file0\x00', 0x0, 0x0) flock(r2, 0x3) flock(r0, 0x1) open(&(0x7f0000000040)='./file0\x00', 0x2f9, 0x0) unlink(&(0x7f0000000000)='./file0\x00') execve(0x0, 0x0, 0x0) 04:47:25 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r3, 0x0, 0x0) 04:47:25 executing program 1: syz_emit_ethernet(0xe0, &(0x7f0000000240)) 04:47:25 executing program 4: syz_emit_ethernet(0x7e, &(0x7f0000000140)) 04:47:25 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r3, 0x0, 0x0) 04:47:25 executing program 1: mkdir(&(0x7f0000000000)='./file0\x00', 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x0) symlinkat(&(0x7f00000000c0)='/', r0, &(0x7f0000000240)='./file0\x00') openat(r0, &(0x7f0000000140)='./file0\x00', 0x406600, 0x0) 04:47:26 executing program 3: r0 = semget$private(0x0, 0x8, 0x0) semop(r0, &(0x7f0000000240)=[{0x0, 0x7fff}], 0x1) semop(r0, &(0x7f0000000300)=[{0x0, 0x3}, {0x0, 0xffff, 0x1000}], 0x2) 04:47:26 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, 0xffffffffffffffff, 0x0, 0x0) 04:47:26 executing program 4: syz_emit_ethernet(0x4a, &(0x7f0000000000)) 04:47:26 executing program 1: syz_emit_ethernet(0x66, &(0x7f0000000080)) 04:47:26 executing program 2: r0 = socket(0x1b, 0x3, 0x0) connect(r0, &(0x7f0000000140)=@in6={0x1c}, 0x1c) 04:47:26 executing program 2: syz_emit_ethernet(0x26, &(0x7f00000000c0)) 04:47:26 executing program 5: syz_emit_ethernet(0xa6, &(0x7f0000000100)) 04:47:26 executing program 3: r0 = open$dir(&(0x7f0000000100)='./file0\x00', 0x22000400004042c4, 0x0) r1 = getpid() fcntl$lock(r0, 0xe, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x40000000e, r1}) 04:47:26 executing program 1: setrlimit(0x9, &(0x7f0000000000)={0x3, 0x3}) socketpair$unix(0x1, 0x2, 0x0, 0x0) 04:47:26 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, 0xffffffffffffffff, 0x0, 0x0) 04:47:26 executing program 2: open(&(0x7f0000000200)='./file0\x00', 0x300, 0x0) r0 = open(&(0x7f0000000200)='./file0\x00', 0x1, 0x0) fcntl$lock(r0, 0xd, &(0x7f00000001c0)={0x0, 0x0, 0x0, 0x1000100000001}) 04:47:26 executing program 5: syz_emit_ethernet(0x140, &(0x7f0000000040)) 04:47:26 executing program 1: open(&(0x7f0000000200)='./file0\x00', 0x2fe, 0x0) r0 = open(&(0x7f0000000100)='./file0\x00', 0x0, 0x0) fcntl$lock(r0, 0x7, &(0x7f0000000080)={0x0, 0x0, 0x2, 0x100000001}) 04:47:26 executing program 5: syz_emit_ethernet(0x4e, &(0x7f0000000080)) 04:47:27 executing program 4: r0 = socket(0x11, 0x3, 0x0) sendto$unix(r0, &(0x7f0000000000)="b1000504d0000000000007005586ca900f0e08fecea11ea8fef96e000000008d628b226fda15fa4f376336acf00b7804be781e4991f7c8df5f882b2b7be1aa7923ed00f4c8b2ca3eb60000000000000027acb5d602000d7d026ba8af9cff37282934e4fd89720fd3872babfbb77008f5a872c881ff7cc53c894303b22f310b404f36a00f90006ee01ba0b62351c5000000020066000000200f0200ff000000000000000000000000020000000000000000", 0xb1, 0x10c, 0x0, 0x0) 04:47:27 executing program 3: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x80000000000206, 0x0) r1 = open$dir(&(0x7f0000000040)='./file0\x00', 0x40000400000002c2, 0x0) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) ftruncate(r1, 0xefdc) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x3) r2 = open(&(0x7f0000000480)='./file0\x00', 0x80400000000206, 0x0) mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x20011, r2, 0x0, 0x0) 04:47:27 executing program 2: r0 = open$dir(&(0x7f0000000080)='.\x00', 0x0, 0x0) mkdirat(r0, &(0x7f00000000c0)='./file0\x00', 0x0) mkdirat(r0, &(0x7f0000000000)='./file0/file0\x00', 0x0) rename(&(0x7f00000001c0)='./file0/file0\x00', &(0x7f0000000100)='./file0/file0/file0\x00') 04:47:27 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r2 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r2, 0x0, 0x0) mmap(&(0x7f0000a00000/0x600000)=nil, 0x600000, 0x1, 0x12, r1, 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, 0xffffffffffffffff, 0x0, 0x0) 04:47:27 executing program 5: r0 = open(&(0x7f0000000000)='./file0\x00', 0x8000000000020a, 0x0) lseek(r0, 0xfffffffffffffffc, 0x3) 04:47:27 executing program 1: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e2) r1 = open$dir(&(0x7f0000000080)='./file0\x00', 0x0, 0x0) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) mlockall(0x1) munmap(&(0x7f0000c00000/0x400000)=nil, 0x400000) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r1, 0x0, 0x0) madvise(&(0x7f0000f5a000/0x1000)=nil, 0x1000, 0x3) 04:47:27 executing program 5: syz_emit_ethernet(0x36, &(0x7f0000007000)) 04:47:27 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r1 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r1, 0x0, 0x0) r2 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r2, 0x0, 0x0) 04:47:27 executing program 2: madvise(&(0x7f0000ffe000/0x2000)=nil, 0x2000, 0x9) 04:47:27 executing program 5: mmap(&(0x7f0000ffc000/0x3000)=nil, 0x3000, 0x3, 0x1410, 0xffffffffffffffff, 0x0, 0x0) 04:47:27 executing program 4: mlock(&(0x7f0000b12000/0x2000)=nil, 0x2000) mlock(&(0x7f00009c9000/0x3000)=nil, 0x3000) munmap(&(0x7f0000a5c000/0x200000)=nil, 0x200000) 04:47:27 executing program 2: r0 = open(&(0x7f0000000480)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x400000000106) r1 = open$dir(&(0x7f0000000700)='./file0\x00', 0x202, 0x0) mmap(&(0x7f0000ff9000/0x3000)=nil, 0x3000, 0x7, 0x11, r1, 0x0, 0x0) mlock(&(0x7f0000ff8000/0x4000)=nil, 0x4000) unlink(&(0x7f0000000000)='./file0\x00') mmap(&(0x7f0000ff6000/0xa000)=nil, 0xa000, 0x3, 0x80011, r1, 0x0, 0x0) mlock(&(0x7f0000ff8000/0x4000)=nil, 0x4000) 04:47:27 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:28 executing program 5: r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x40000400000002c2, 0x0) writev(r0, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) 04:47:28 executing program 3: syz_emit_ethernet(0x32, &(0x7f0000000000)) 04:47:28 executing program 4: r0 = open(&(0x7f0000000040)='./file0\x00', 0x300, 0x0) r1 = getpgid(0x0) fcntl$lock(r0, 0xe, &(0x7f0000000100)={0x0, 0x0, 0x5f20ee71, 0x100000001, r1}) r2 = open(&(0x7f00000000c0)='./file0\x00', 0x201, 0x0) fcntl$lock(r2, 0x1000000009, &(0x7f0000000000)={0x0, 0xfffffffffffffffd, 0x0, 0x1000300010005}) close(r0) 04:47:28 executing program 1: syz_emit_ethernet(0x3e, &(0x7f0000000000)) mlock(&(0x7f0000cc8000/0x3000)=nil, 0x3000) munlockall() madvise(&(0x7f00009d6000/0x600000)=nil, 0x600000, 0x3) 04:47:28 executing program 2: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) r1 = open$dir(&(0x7f0000000100)='./file0\x00', 0x40000400000002c2, 0x0) fcntl$setstatus(r1, 0x4, 0x10044) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) fsync(r0) preadv(r0, &(0x7f0000001740)=[{&(0x7f0000001780)=""/4096, 0x400004}], 0x10000000000000cf, 0x0) 04:47:28 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:28 executing program 3: setrlimit(0x2, &(0x7f0000000440)={0x10000000000b35d, 0x800000b35d}) 04:47:28 executing program 4: connect$unix(0xffffffffffffffff, &(0x7f0000000000)=ANY=[@ANYBLOB="6202e5"], 0x1) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r0 = socket(0x2, 0x1, 0x0) bind(r0, &(0x7f0000000000)=@un=@abs, 0x10) r1 = dup(r0) listen(r1, 0x0) r2 = socket(0x2, 0x1, 0x0) connect$unix(r2, &(0x7f0000000000), 0x10) close(r2) 04:47:28 executing program 3: r0 = open$dir(&(0x7f0000000100)='./file0\x00', 0x4000040000080282, 0x0) writev(r0, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) 04:47:29 executing program 5: syz_emit_ethernet(0x46, &(0x7f0000000080)) 04:47:29 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:29 executing program 1: symlink(&(0x7f0000000280)='./file0\x00', &(0x7f00000002c0)='.\x00') 04:47:29 executing program 4: open(&(0x7f0000000200)='./file0\x00', 0x300, 0x0) r0 = open(&(0x7f0000000200)='./file0\x00', 0x0, 0x0) fcntl$lock(r0, 0xd, &(0x7f0000000040)={0x0, 0x2, 0x7fffffffffffffff, 0x100000001}) 04:47:29 executing program 5: mlock(&(0x7f0000ffc000/0x4000)=nil, 0x4000) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) munmap(&(0x7f0000ffb000/0x1000)=nil, 0x1000) mlockall(0x1) madvise(&(0x7f0000ffb000/0x2000)=nil, 0x2000, 0x0) 04:47:29 executing program 1: mkdir(&(0x7f0000000240)='./file0\x00', 0x0) symlink(&(0x7f0000000100)='./file0/file0\x00', &(0x7f00000001c0)='./file0/file0\x00') chmod(&(0x7f0000000180)='./file0\x00', 0x23f) setuid(0xee01) rename(&(0x7f0000000140)='./file0/file0\x00', 0x0) 04:47:29 executing program 1: r0 = openat(0xffffffffffffffff, &(0x7f0000000200)='/', 0x0, 0x0) fchdir(r0) rmdir(&(0x7f0000000080)='./file0\x00') mkdirat(r0, &(0x7f00000000c0)='./file0\x00', 0x0) 04:47:29 executing program 2: syz_emit_ethernet(0x3e, &(0x7f00000000c0)) 04:47:29 executing program 4: syz_emit_ethernet(0x2a, &(0x7f0000000100)) 04:47:29 executing program 5: r0 = open$dir(&(0x7f0000000000)='./file0\x00', 0x40000400000002c2, 0x0) pwritev(r0, &(0x7f0000000080)=[{&(0x7f00000006c0), 0x100000}], 0x3, 0x0) 04:47:29 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:29 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:29 executing program 1: open(&(0x7f0000000200)='./file0\x00', 0x300, 0x0) r0 = open(&(0x7f0000000100)='./file0\x00', 0x0, 0x0) fcntl$lock(r0, 0x8, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x100000001}) r1 = open(&(0x7f0000000200)='./file0\x00', 0x0, 0x0) flock(r0, 0x2) flock(r0, 0x3) fcntl$lock(r1, 0xd, &(0x7f0000000040)={0x0, 0x2, 0x0, 0x100000001}) 04:47:30 executing program 4: mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x410, 0xffffffffffffffff, 0x0, 0x0) r0 = socket(0x1c, 0x3, 0x0) getsockopt$sock_timeval(r0, 0xffff, 0x1009, &(0x7f0000000000), &(0x7f0000001840)=0x10) 04:47:30 executing program 2: r0 = open(&(0x7f0000000480)='./file0\x00', 0x80000000000206, 0x0) truncate(&(0x7f00000005c0)='./file0\x00', 0x8608020405) lseek(r0, 0x8608020000, 0x1000000000004) 04:47:30 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:30 executing program 4: r0 = open(&(0x7f0000000340)='./file0\x00', 0x300, 0x0) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x205, 0x0) fcntl$lock(r1, 0x9, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x1000300010005}) open$dir(&(0x7f0000000140)='./file0\x00', 0x8110, 0x0) r2 = open(&(0x7f0000000100)='./file0\x00', 0x0, 0x0) fcntl$lock(r2, 0x8, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x100000001}) r3 = open(&(0x7f00000000c0)='./file0\x00', 0x201, 0x0) fcntl$lock(r3, 0x9, &(0x7f0000000000)={0x0, 0x0, 0x0, 0x1000300010005}) flock(r0, 0x1) open(&(0x7f00000001c0)='./file0\x00', 0x2f9, 0x0) unlink(&(0x7f0000000000)='./file0\x00') execve(0x0, 0x0, 0x0) 04:47:30 executing program 2: mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x410, 0xffffffffffffffff, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x0) pipe2(&(0x7f0000001140), 0x0) 04:47:30 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:30 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:30 executing program 5: syz_emit_ethernet(0x66, &(0x7f0000000000)) 04:47:30 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:31 executing program 2: mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0x0, 0x10000011, 0xffffffffffffffff, 0x2, 0x0) 04:47:31 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:31 executing program 1: mkdir(&(0x7f0000000000)='./file0\x00', 0x0) sendto$inet6(0xffffffffffffffff, &(0x7f00000000c0)="f52e9d3d6b6001df4ac5888b67b5aecf6ff710199e789b5117dc34ba", 0x1c, 0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f000052fff8)='./file0\x00', 0x0, 0x0) symlinkat(&(0x7f00000000c0)='/', r0, &(0x7f0000d06ff8)='./file0\x00') 04:47:31 executing program 2: r0 = open(&(0x7f0000000040)='./file0\x00', 0x80000000000206, 0x0) mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x7, 0x12, r0, 0x0, 0x0) mprotect(&(0x7f0000002000/0x1000)=nil, 0x1000, 0x0) mprotect(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x7) 04:47:31 executing program 5: munmap(&(0x7f000040d000/0x4000)=nil, 0x4000) mprotect(&(0x7f000040e000/0x1000)=nil, 0x1000, 0x0) 04:47:31 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:31 executing program 4: r0 = open$dir(&(0x7f00000001c0)='./file0\x00', 0x40000400000002c1, 0x0) truncate(&(0x7f0000000000)='./file0\x00', 0x8e) pwritev(r0, &(0x7f0000000080)=[{&(0x7f00000006c0), 0x100000}], 0x4, 0x0) 04:47:31 executing program 2: setrlimit(0x8, &(0x7f0000000080)={0x4, 0x100000003}) socketpair$unix(0x1, 0x2, 0x0, 0x0) 04:47:31 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:31 executing program 1: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) r1 = open$dir(&(0x7f0000000100)='./file0\x00', 0x0, 0x0) mlockall(0x2) mmap(&(0x7f0000fee000/0x12000)=nil, 0x800000, 0x1, 0x12, r1, 0x0, 0x0) ftruncate(r0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x0, 0x12, r1, 0x0, 0x0) r2 = open$dir(&(0x7f0000000100)='./file0\x00', 0x40000400000002c2, 0x0) fcntl$getown(r2, 0x5) fcntl$setstatus(0xffffffffffffffff, 0x4, 0x10048) 04:47:31 executing program 5: clock_nanosleep(0x2, 0x0, &(0x7f0000000000), 0x0) 04:47:31 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:31 executing program 2: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x80000000000206, 0x0) r1 = open$dir(&(0x7f0000000040)='./file0\x00', 0x40000400000002c2, 0x0) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) ftruncate(r1, 0xefdb) ftruncate(r0, 0x7e2780e3) setrlimit(0x6, &(0x7f0000000000)={0x10000000000b35d, 0x800000b35d}) mlockall(0x3) r2 = open(&(0x7f0000000480)='./file0\x00', 0x80400000000206, 0x0) mmap(&(0x7f0000000000/0x200000)=nil, 0x200000, 0x3, 0x20011, r2, 0x0, 0x0) 04:47:31 executing program 3: r0 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:32 executing program 5: open(&(0x7f0000000040)='./file0\x00', 0xa000000000020c, 0x0) r0 = open$dir(&(0x7f0000000100)='./file0\x00', 0x10000, 0x0) r1 = open$dir(&(0x7f0000000100)='./file0\x00', 0x40000400000002c2, 0x0) writev(r1, &(0x7f0000000340)=[{&(0x7f0000000180), 0x81700}], 0x1000000000000013) dup(0xffffffffffffffff) preadv(r0, &(0x7f0000001780)=[{&(0x7f0000000180)=""/184, 0x1b133353141e377d}], 0x10000000000000d1, 0x0) execve(0x0, 0x0, 0x0) 04:47:32 executing program 3: setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:32 executing program 0: r0 = open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) ftruncate(r0, 0x7e2780e3) mlockall(0x2) r1 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r1, 0x0, 0x0) 04:47:32 executing program 3: setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:32 executing program 4: syz_emit_ethernet(0x36, &(0x7f0000000180)) 04:47:32 executing program 1: syz_emit_ethernet(0x73, &(0x7f0000000000)) 04:47:32 executing program 2: r0 = open(&(0x7f00000000c0)='./file0\x00', 0x205, 0x0) fcntl$lock(r0, 0x9, &(0x7f0000000000)={0x0, 0x2, 0x7fffffffffffffff, 0x1000300010005}) 04:47:32 executing program 0: open(&(0x7f0000000080)='./file0\x00', 0x80000000000206, 0x0) mlockall(0x2) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r0, 0x0, 0x0) 04:47:32 executing program 3: setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:32 executing program 4: r0 = open$dir(&(0x7f0000000080)='.\x00', 0x0, 0x0) mkdirat(r0, &(0x7f00000001c0)='./file1\x00', 0x0) mkdirat(r0, &(0x7f00000002c0)='./file0\x00', 0x0) renameat(r0, &(0x7f0000000200)='./file1\x00', r0, &(0x7f0000000140)='./file0/file0\x00') open$dir(&(0x7f0000000180)='./file0/file0\x00', 0x200, 0x0) 04:47:32 executing program 0: mlockall(0x2) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r0, 0x0, 0x0) 04:47:33 executing program 0: mlockall(0x2) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r0, 0x0, 0x0) 04:47:33 executing program 1: syz_emit_ethernet(0x2ea, &(0x7f0000000080)) 04:47:33 executing program 3: r0 = socket$inet(0x2, 0x0, 0x0) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000080)="eaff125c00000000", 0x8) setsockopt$inet_opts(r0, 0x0, 0x200000000000c, &(0x7f0000000000)="eaff125c00000000", 0x8) 04:47:33 executing program 5: setuid(0xee01) setgid(0xffffffffffffffff) 04:47:33 executing program 0: mlockall(0x2) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) mmap(&(0x7f0000e00000/0x200000)=nil, 0x200000, 0x3, 0x12, r0, 0x0, 0x0) 04:47:33 executing program 4: r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x40000400000002c2, 0x0) pwritev(r0, &(0x7f0000000080)=[{&(0x7f00000006c0), 0x100000}], 0x3, 0x0) r1 = semget$private(0x0, 0x0, 0x0) semop(r1, &(0x7f0000000000)=[{0x1, 0x9, 0x1800}, {0x0, 0xff, 0x1000}], 0x2) login: [ 81.0675419] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/kern/vfs_lockf.c:843:16, signed integer overflow: 131072 + 9223372036854775807 cannot be represented in type 'long int' [ 81.0818576] cpu1: Begin traceback... [ 81.1105081] vpanic() at netbsd:vpanic+0x2aa [ 81.2107925] isAlreadyReported() at netbsd:isAlreadyReported [ 81.2967404] HandleOverflow() at netbsd:HandleOverflow+0x1fb [ 81.3826953] lf_advlock() at netbsd:lf_advlock+0x22b2 [ 81.4686468] VOP_ADVLOCK() at netbsd:VOP_ADVLOCK+0x12c [ 81.5546034] do_fcntl_lock() at netbsd:do_fcntl_lock+0x3dd [ 81.6405562] sys_fcntl() at netbsd:sys_fcntl+0x115 [ 81.7121852] sys___syscall() at netbsd:sys___syscall+0x1c8 [ 81.8124645] syscall() at netbsd:syscall+0x29a [ 81.8267913] --- syscall (number 198) --- [ 81.8411170] Skipping crash dump on recursive panic [ 81.8411170] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 81.8697638] Faulted in mid-traceback; aborting... [ 81.8840889] fatal breakpoint trap in supervisor mode [ 81.8840889] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x286 cr2 0x7dd777227000 ilevel 0 rsp 0xffff9600b3a4b840 [ 81.8984154] curlwp 0xffffda495de1e960 pid 851.3 lowest kstack 0xffff9600b3a492c0 Stopped in pid 851.3 (syz-executor.2) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0x109 vpanic() at netbsd:vpanic+0x2aa isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b db_nextframe() at netbsd:db_nextframe+0x6f6 db_stack_trace_print() at netbsd:db_stack_trace_print+0x2c4 db_panic() at netbsd:db_panic+0xa3 vpanic() at netbsd:vpanic+0x2aa isAlreadyReported() at netbsd:isAlreadyReported HandleOverflow() at netbsd:HandleOverflow+0x1fb lf_advlock() at netbsd:lf_advlock+0x22b2 VOP_ADVLOCK() at netbsd:VOP_ADVLOCK+0x12c do_fcntl_lock() at netbsd:do_fcntl_lock+0x3dd sys_fcntl() at netbsd:sys_fcntl+0x115 sys___syscall() at netbsd:sys___syscall+0x1c8 syscall() at netbsd:syscall+0x29a --- syscall (number 198) --- [ 81.9127403] Skipping crash dump on recursive panic [ 81.9127403] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 81.9127403] Faulted in mid-traceback; aborting... [ 81.9127403] fatal breakpoint trap in supervisor mode [ 81.9127403] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x286 cr2 0x7dd777227000 ilevel 0x8 rsp 0xffff9600b3a4a540 [ 81.9127403] curlwp 0xffffda495de1e960 pid 851.3 lowest kstack 0xffff9600b3a492c0 Stopped in pid 851.3 (syz-executor.2) at netbsd:breakpoint+0x5: leave