last executing test programs: 1.447385003s ago: executing program 2 (id=89): r0 = msgget$private(0x0, 0x193) msgsnd(r0, &(0x7f0000000000)=ANY=[], 0x3f9, 0x0) r1 = open(&(0x7f0000000000)='./file0\x00', 0x615, 0x10) mmap(&(0x7f000016b000/0x800000)=nil, 0x800000, 0x6, 0x12, r1, 0x0) bind$unix(r1, &(0x7f0000000040)=@file={0xa, 0x0, './file1\x00'}, 0xa) semop(0x0, 0x0, 0x0) r2 = kqueue() r3 = socket$bt_sco(0x24, 0x5, 0x89) setsockopt$sock_linger(r3, 0xffff, 0x80, &(0x7f0000000080)={0xa539, 0x7fffffff}, 0x8) kevent(r2, &(0x7f0000000080), 0x0, 0x0, 0x0, 0x0) r4 = socket$inet6_tcp(0x1c, 0x1, 0x0) sendto$inet6(r4, 0x0, 0x0, 0x101, 0x0, 0x0) setsockopt$inet_sctp_SCTP_PR_SUPPORTED(0xffffffffffffffff, 0x84, 0x26, 0x0, 0x0) r5 = socket(0x2, 0x3, 0x9) getsockopt$sock_int(r5, 0xffff, 0x1, 0x0, 0x0) r6 = open(&(0x7f0000000140)='./file0\x00', 0x80000000000206, 0x0) aio_write(&(0x7f0000000180)={r6, 0x14000000000, &(0x7f0000000200)="c8", 0x1, [0x8, 0x1], 0x4, 0x1, 0x2, {0x1, 0x7, 0x0}, {0x4, 0x13, @sigval_int=0x5, @spare=[0x6, 0xc000, 0xd, 0x401, 0x8, 0xae7, 0x7fffffff, 0x10000]}}) mlock(&(0x7f0000000000/0x800000)=nil, 0x800000) msgrcv(r0, &(0x7f00000000c0)={0x0, ""/93}, 0x61, 0x0, 0x1000) 1.297305202s ago: executing program 0 (id=90): lio_listio(0x0, &(0x7f0000000080), 0x50, 0x0) open(&(0x7f0000000040)='./file0\x00', 0x615, 0x10) openat(0xffffffffffffff9c, &(0x7f0000000640)='./file0\x00', 0x200, 0x118) r0 = getpid() ktrace(&(0x7f0000000680)='./file0\x00', 0x0, 0x2830b9e0c3f9da57, r0) execve(0x0, &(0x7f00000006c0), 0x0) kevent(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) aio_waitcomplete(0x0, 0x0) r1 = socket$inet_icmp_raw(0x2, 0x3, 0x1) r2 = kqueue() kevent(r2, &(0x7f00000006c0)=[{0x4, 0xfffffffffffffff9, 0x1, 0x4, 0x3c, 0x9, [0x5, 0x5, 0x0, 0x104]}], 0x1, 0x0, 0x0, 0x0) aio_read(0x0) open$dir(&(0x7f0000000700)='./proc_mnt/../file0\x00', 0x8, 0x140) mkdir(&(0x7f0000000740)='./file2\x00', 0xc1) chroot(0x0) getpgrp(0xffffffffffffffff) r3 = openat$netmap(0xffffff9c, &(0x7f0000000780), 0x80000, 0x0) ioctl$NIOCREGIF(r3, 0xc03c6992, &(0x7f00000007c0)={"228392e900000000810000000000f000", 0x7fffffff, 0x5, 0x6, 0x3, 0x8, 0x2, 0x16, 0x9fff, 0x0, 0x9, 0x1, 0x5, 0x6, [0xfffffffe]}) ioctl$NIOCTXSYNC(r3, 0x20006994) rename(&(0x7f0000000800)='./file0\x00', &(0x7f0000000840)='./file2\x00') socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000880)) setreuid(0x0, 0xee00) madvise(&(0x7f0000bdc000/0x4000)=nil, 0x86ac726dff2f4713, 0xa) setsockopt$inet_sctp_SCTP_I_WANT_MAPPED_V4_ADDR(r1, 0x84, 0xd, &(0x7f00000008c0)=0x8, 0x4) close(0x3) aio_cancel(r1, 0x0) openat$consolectl(0xffffff9c, &(0x7f00000005c0), 0x0, 0x0) socket$unix(0x1, 0x1, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) fhlinkat(&(0x7f0000000600)={{[0x3, 0x10000]}, {0x4260, 0x6, "b8de04e8bdedb1670efc232296c8cb82"}}, 0xffffffffffffffff, 0x0) 1.12188222s ago: executing program 3 (id=94): r0 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r0, 0xffff, 0x1011, &(0x7f00000000c0)=0x10001, 0x9) r1 = openat$auditpipe(0xffffff9c, &(0x7f0000000480), 0x8, 0x0) ioctl$AUDITPIPE_SET_PRESELECT_AUID(r1, 0x800c410b, &(0x7f00000004c0)={0xfffffff9, {0x1, 0x100}}) ioctl$AUDITPIPE_SET_PRESELECT_AUID(r1, 0x800c410b, &(0x7f0000000500)={0x7ff, {0x6, 0x3}}) ioctl$AUDITPIPE_SET_PRESELECT_AUID(r1, 0x800c410b, &(0x7f0000000380)={0x1, {0x8009, 0x8001}}) ioctl$AUDITPIPE_GET_READS(r1, 0x40084165, &(0x7f0000000240)) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1, 0x10, r1, 0x4) r2 = semget$private(0x0, 0x6, 0x80) r3 = socket$inet6_udp(0x1c, 0x2, 0x0) close(0x3) r4 = socket$inet6_udp(0x1c, 0x2, 0x0) setsockopt$inet6_int(r4, 0x29, 0x1b, &(0x7f0000000200), 0x4) thr_set_name(0x0, &(0x7f00000002c0)='!.\x00') mount(&(0x7f0000000300), 0x0, 0x0, 0x0) sendto$inet6(r3, 0x0, 0x0, 0x20000, &(0x7f0000000280)={0x1c, 0x1c, 0x2, 0x1, @mcast2, 0x1}, 0x1c) r5 = socket(0x1, 0x2, 0x0) setsockopt$inet_opts(r5, 0x0, 0x14, 0x0, 0x0) semop(r2, &(0x7f0000000000)=[{0x2, 0x5afc, 0x1000}, {0x1, 0x100c, 0x1800}, {0x3, 0x3}, {0x1, 0x400, 0x800}, {0x3, 0x6ff, 0x800}, {0x0, 0xeb1, 0x1000}], 0x6) r6 = openat$evdev(0xffffff9c, &(0x7f0000000400), 0x100080, 0x0) ioctl$UI_END_FF_ERASE(r6, 0x800c55cb, &(0x7f0000000440)={0x3, 0x9, 0x800}) bind$inet(r0, &(0x7f0000000080)={0x10, 0x2, 0x2, @loopback}, 0x10) aio_mlock(&(0x7f0000000100)={0xffffffffffffffff, 0x84, 0x0, 0x0, [0xffff7fff, 0x202], 0x1ff, 0x2, 0xfffffffc, {0x5, 0x3, 0x0}, {0x1, 0x20, @sigval_int=0x6, @thr={0x0, 0x0}}}) r7 = socket$inet_icmp_raw(0x2, 0x3, 0x1) r8 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$inet_buf(r8, 0x0, 0x4a, 0x0, 0x0) aio_read(&(0x7f0000000180)={r7, 0x1, 0x0, 0x0, [0x8000, 0xc], 0x7fff, 0x18, 0x6, {0x4, 0x3, 0x0}, {0x0, 0x19, @sigval_ptr=0x7, @thr={&(0x7f0000000040)="c4c3750fe9bec4c1555ec2c4c3f9082ceaa6c4e1e1f632c0d738f380aee8d041ff7e1a660f3808f7c4e1ff105301", &(0x7f0000000340)="d677b98ed7fb3b7797723c91bc280777d6fc2e63e678752c065c150b0f9f32a248d17936d30821040fc42937a18b5c96d326"}}}) cpuset_getaffinity(0x3, 0x6, 0x2, 0x0, 0x0) setsockopt$inet6_int(0xffffffffffffffff, 0x29, 0x2b, &(0x7f0000000300)=0x1004, 0x4) aio_waitcomplete(0x0, 0x0) 1.067998869s ago: executing program 3 (id=95): setsockopt$inet_tcp_TCP_CONGESTION(0xffffffffffffffff, 0x6, 0x40, &(0x7f0000000040)='newreno\x00', 0x8) r0 = openat$netmap(0xffffff9c, &(0x7f00000013c0), 0x80000, 0x0) ioctl$NIOCREGIF(r0, 0xc03c6992, &(0x7f0000001400)={"228392e900000000810000000000f000", 0x7fffffff, 0x5, 0x6, 0x3, 0x8, 0x2, 0x16, 0x9fff, 0x0, 0x9, 0x1, 0x5, 0x6, [0xfffffffe]}) close(0x3) r1 = open$dir(&(0x7f0000001240)='./file0\x00', 0x40, 0x82) pread(r1, &(0x7f0000001280)=""/131, 0x83, 0x1) r2 = open(&(0x7f0000000080)='./file0\x00', 0x615, 0x0) socket$inet6_tcp(0x1c, 0x1, 0x0) setlogin(&(0x7f0000001100)) rtprio(0x2, 0x0, 0x0) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r2, 0x0) ftruncate(r2, 0x8531) mprotect(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x1) r3 = socket$inet6_udplite(0x1c, 0x2, 0x88) getsockopt$inet6_buf(r3, 0x29, 0x2e, &(0x7f00000000c0)=""/4096, &(0x7f00000010c0)=0x1000) r4 = openat$consolectl(0xffffffffffffff9c, &(0x7f0000001440), 0x40, 0x0) ioctl$CONS_MOUSECTL(r4, 0xc014630a, 0x0) socket(0x2, 0x10000000, 0x4) r5 = socket$inet(0x2, 0x4000000000000001, 0x0) setsockopt$inet_tcp_int(r5, 0x6, 0x22, &(0x7f0000001100), 0x4) bind$inet(r5, &(0x7f0000001140)={0x10, 0x2, 0x1, @loopback}, 0x10) sendto$inet(0xffffffffffffffff, 0x0, 0x0, 0x20000, 0x0, 0x0) ioctl$DIOCRADDTABLES(r2, 0xc44c443d, &(0x7f0000001480)={{"720af9f1a32f0b91febc97837deb3ac198981294e6d089dabe9ce885edc44f0250d0d82f230a2e735a7f70a14b8046d97ba5971d9d8f17754c575a83a5d4e66090cac8375be8afd2a68cb585a8c98e8c68cfa7030868bae5b5edb345b9950be765082a16faf1cf5ff70f238aa1cd61a1ef8ff4bb041e30a69d0bd330556586b82e4379640d6be517bb3c22bd9b05f4c9208bbc1203660069b515379ab56bdc7f3291cdeabd02dd5a024ecb74e665495369a1fb035696fe17bf43a7d58b190da0cc56e2521e49219a7c9d0677709ca09cde286e7cb46e6da005acd48a4671aab9b8c77d9f939406225e7e3934530480b2db929c4919a479b0175bf83e084fcafb8cd6a1f1c9156d02e5fafe037a59b6b98937a1178100483e843a521fd0bae4bb8a54745a3a68f72ce831bde9a988b1ac655e1e3e18acb21203107552f35b3806aac3c87b6e29025f203ccf32a7d77da0e096112b68d350ca852ec2a3aed28fe853dea4137046718fc0a45e522a55e542fcd3cda980240b96e1eeb1505068f4f02560f9348cce9a513819f4cdad7a3cf0fa8d29ee63a07dae64492e044220c73e122ef6482a211d4442c34a0e8a197addec0a25364953ba6e3fd1024eafb9b3cb4659a8df75777dcf45eb4fcaf666cd1f0b7ad3a9173dc451a93306697d205931e1608fbb09cdb056547818a0b5a466b3969606bb6ceae0fd7eaf52474e9f2e7050170907c9416e52ecb882b3ba2e868f4cda94f881ff3b09fcfb9919b7e21684012d9e80df7a39de10297ef92b703d14a0d9520e5b1e75decd4c627d05d52a90811e05ee571eed8514c08a6d0ea5c1480a4cffa2da8709b52b437b02809341efaada88b55b73644f861cb23f8fe993288166738ae3fa20302ca82a4b1779573512d502f1b3ae986616518ffdd096426f95bc7d97c3a444e6a8929d99a194dbcdbac2c484d71272233a1acfd6cdd1ac300dba32feb0e506d331f60904a39601e0e617211f2818b3b27d635ca41c115aa35b3a15adfea61d1bda191ca42f7c1efc6284dee014fc55808ecbf1a16f71ea79bd9e7293210a37656c8c12cd0b912398446480c3be4945e24c4a2438ac97f397114b1b609ec8582d96938e0dccc8cf52e52e2cb341a399b7a6037209b5587ef4ac70aa53ee4d1a3e8be4b3c46ad629f6db1d79e5a26240d35d0781b681868706221e681f93d1cf05e10cff92bdd9a14e1fab3ec9b84789eeaf2946f65b364ccb274cf209b6a3b2e889d93b82fa73a51e7cf6c0adf3db260861e992d4d3c825bd9331131b9e66c19b778ca38358089ced335e38ecc1c503642378c444701e34bc64ccee2d5728dcf852fdbe7ea85dba000eb2cea3442274c7788f48335a88d8feb3b4c1a14334af94a02fb3ac0d10017f03556fa27c98f75534cee6ca1f6c6d19898c73428192aabac9bccf33c237b0fd", "9db53e4e7928b79a9de7866f10a3699bc91779b785b44f99d3f1606339f1ba2a", 0x6, 0x5}, &(0x7f0000001180)="e7daccb8d743f005f543ebad6cf02a0f8a60553c2bb4209ea36fb7a3856869d189c08ce1d8e5d08260bf83af4fcf56b0f6d81d2c2532600123bcbe63c0bac14368ed28b3a3bfc8f45086e94943fed871bb4ef9c5ccd284f082c31207d267f3388745f7cf041bcb68baf455c46798aafe59a7dc99206b3a8cecd55c01f9b2281a51a63932011373cb7b2ea79e7a45d7b20ede96ec824aa1bc7763", 0xc2, 0x3ff, 0x7, 0x9, 0x7fffffffffffffff, 0x80000001, 0x10000, 0x5d8}) getsockopt$inet_tcp_buf(0xffffffffffffffff, 0x6, 0x23, 0x0, &(0x7f0000001380)) semget$private(0x0, 0x0, 0x308) mount(&(0x7f0000000000)='hfsp\x00', 0x0, 0x0, 0xfffffffffffffffe) 1.016771854s ago: executing program 3 (id=96): msgget(0x2, 0x290) msgget(0x2, 0x40) r0 = open(&(0x7f0000001480)='./file0\x00', 0x615, 0x30) r1 = socket$inet6_udp(0x1c, 0x2, 0x0) connect$inet6(r1, &(0x7f0000000000)={0x1c, 0x1c, 0x1, 0x10000, @loopback}, 0x1c) setsockopt$inet_mreq(0xffffffffffffffff, 0x0, 0xc, &(0x7f0000000040)={@remote={0xac, 0x14, 0x0}, @loopback}, 0x8) extattr_get_file(&(0x7f0000000100)='./file0\x00', 0x2, &(0x7f0000000140)='\x00', &(0x7f0000000180)=""/72, 0x48) r2 = socket$inet6_sctp(0x1c, 0x5, 0x84) setsockopt$inet6_IPV6_RTHDRDSTOPTS(r2, 0x29, 0x23, &(0x7f00000000c0)={0xf, 0x2, '\x00', [@pad1, @jumbo={0xc2, 0x4, 0x84c}, @ra={0x5, 0x2, 0xfff7}, @padn={0x1, 0x1, [0x0]}, @ra={0x5, 0x2, 0x2}]}, 0x20) syz_emit_ethernet(0x2a, &(0x7f0000000080)={@local, @random="5a01f3c2f136", [], {@arp={0x806, @ether_ipv4={0x1, 0x800, 0x6, 0x4, 0x1, @empty, @loopback, @remote, @local={0xac, 0x14, 0x0}}}}}) getsockopt$inet6_buf(r1, 0x29, 0x2c, 0x0, 0x0) mmap(&(0x7f000016b000/0x800000)=nil, 0x800000, 0x6, 0x12, r0, 0x0) mlock(&(0x7f0000000000/0x800000)=nil, 0x800000) 967.247991ms ago: executing program 1 (id=97): open(&(0x7f0000000140)='./file0\x00', 0x200, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x1c0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='.\x00', 0x100, 0x52) fsync(r0) mkdirat(0xffffffffffffff9c, &(0x7f0000000240)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x45) rename(&(0x7f0000000340)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', &(0x7f0000000440)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00') r1 = kqueuex(0x0) kevent(r1, &(0x7f00000001c0)=[{0x4, 0xfffffffffffffffe, 0x8083, 0x40, 0xb3, 0x8, [0x40, 0x6, 0x4, 0x9]}, {0x4, 0xfffffffffffffff9, 0xa1, 0x80000000, 0x0, 0x5, [0x7, 0x6, 0x3, 0x4]}], 0x2, &(0x7f0000000780)=[{}], 0x1, 0x0) rename(&(0x7f0000000540)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', &(0x7f0000000640)='./file0\x00') mkdirat(0xffffffffffffff9c, &(0x7f0000001700)='./file0\x00', 0x80) open$dir(&(0x7f0000001740)='.\x00', 0x0, 0x0) __specialfd$inotify(0x2, &(0x7f0000001780)={0x100000}, 0x4) r2 = socket$inet_tcp(0x2, 0x1, 0x0) getsockopt$inet_opts(r2, 0x0, 0x18, &(0x7f00000007c0)=""/3, &(0x7f0000000800)=0x3) connect$inet(0xffffffffffffffff, &(0x7f0000000840)={0x10, 0x4e21, 0x2, @multicast1}, 0x10) r3 = kqueue() setsockopt$inet_opts(0xffffffffffffffff, 0x0, 0x200000000000c, 0x0, 0x0) r4 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$inet_mreqn(r4, 0x0, 0x1, 0x0, 0x0) sendto(r4, 0x0, 0x0, 0x20000, &(0x7f0000000880)=@in={0x10, 0x2, 0x0}, 0xffffffffffffffe8) kevent(r3, 0x0, 0x0, &(0x7f00000008c0), 0x0, &(0x7f0000000900)={0x3, 0xbc}) kevent(r3, &(0x7f0000000940)=[{0x4, 0xfffffffffffffff9, 0x1, 0x4, 0x40, 0x9, [0x5, 0x5, 0x0, 0x104]}], 0x1, 0x0, 0x0, 0x0) pdopenpid(0x0, 0x3) aio_return(&(0x7f0000000980)={r4, 0x7, &(0x7f0000000a00)="fac8c296006b32c77b8148ab4bf71c730296e620b44a6cb207365e8062a57ece8ce20b47b4a62606163afb86c39e095a5a6c907ab59dab1fb7bf84aa4e5193c97187ebeb0c4c9730ebac3e725b8c34fe117d948e0b3fdeb3a7eadc388e2eb9e61cac2aab8123502259ac99c6b185875ffc7400", 0x73, [0x791, 0x6], 0x4, 0x0, 0x5, {0x6, 0x3ff, &(0x7f0000000a80)}, {0x0, 0x3, @sigval_int=0x5}}) syz_emit_ethernet(0x0, 0x0) mkdirat(0xffffffffffffff9c, 0x0, 0x1ff) openat(0xffffffffffffffff, &(0x7f0000000ac0)='./trace/trace\x00', 0x80201, 0x88) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000b00)) r5 = socket$inet6_udp(0x1c, 0x2, 0x0) setsockopt$inet6_int(r5, 0x29, 0x1b, &(0x7f0000000b40), 0x4) 945.7456ms ago: executing program 3 (id=98): kqueue() r0 = socket$inet6_icmp_raw(0x1c, 0x3, 0x3a) aio_write(&(0x7f0000000440)={r0, 0x3, 0x0, 0x0, [0x8000, 0x9], 0x6, 0x6, 0x6bd, {0x7, 0x10, 0x0}, {0x3, 0x3, @sival_ptr=0x10001, @ke_flags=0x20}}) close(0x3) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r1, &(0x7f0000000040)={&(0x7f0000000080)=@abs={0x8, 0x1, 0x0, 0x2}, 0x8, &(0x7f00000000c0)=[{&(0x7f0000000100)="d4aa8d0de1e08e437795f93d0d5a2972f9", 0x11}, {&(0x7f0000000140)="2b99c7", 0x3}, {&(0x7f0000000180)="c9bb3cf6978ff540c9f44dc06026fee2335216218232edeb7194115a97209020bbca49f442a40847504d81a3bf8a9e42b719b78cf4e379b124713d003597b483a88fef6c9b246d489ee64783a2b64ae8276fc9f7ef990eb40c9ec1db2276aed7db7ad254afbbd15341dc2914d7e5cde4861a75683c342af792a80e515ac0fc6b94ea469dd292d609e93f4df5d8f14a44295818f8fc67e1814b88fd4de872d62f5c8f10fb65b51fb3e65ff7ea34ae664c54aa5c6751debada04074c0cd74c42b33dd45f86975a8cde7d189478189f01dff0460655ec2e0e968cc17181453f1a91d1ffd3cd19f72eb6cc220b25854a", 0xee}, {&(0x7f0000000280)="734496a8f9857ae09f93f3b534fad215bcd455615e3746007325", 0xfffffe0c}], 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="600000001100010003000000", @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="10000000", @ANYRES32=0x0, @ANYRES32, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="60000000ffff000003000000", @ANYRES32=0x0, @ANYRES32, @ANYRES32=0x0, @ANYRES32, @ANYBLOB="10000000", @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="60000000ffff000003000000", @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="10000000", @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32=0x0, @ANYRES32, @ANYBLOB="30000000ffff000001000000", @ANYRES32, @ANYRES32, @ANYRES32, @ANYRES32=0xffffffffffffff9c, @ANYRES32, @ANYRES32, @ANYRES32=r2, @ANYRES32, @ANYRES32], 0x150, 0x20000}, 0x1) execve(&(0x7f00000004c0)='./file0\x00', &(0x7f0000000540)=[&(0x7f0000000500)='$@\xf5&%.[-~+\x00'], &(0x7f00000005c0)=[&(0x7f0000000580)='-!]^}(\x00']) syz_emit_ethernet(0x34, 0x0) 842.654888ms ago: executing program 3 (id=99): r0 = socket$inet(0x2, 0x4000000000000001, 0x0) connect$inet(r0, &(0x7f0000000300)={0x10, 0x2, 0x0, @rand_addr=0x9}, 0x10) r1 = socket$inet(0x2, 0x1, 0x0) setsockopt$sock_splice(r0, 0xffff, 0x1023, &(0x7f0000000340)={r1, 0xe, {0xb, 0x73}}, 0x20) setsockopt$sock_timeval(r1, 0xffff, 0x1006, &(0x7f0000000000)={0xe}, 0x8) 784.042076ms ago: executing program 1 (id=100): r0 = openat$md(0xffffffffffffff9c, &(0x7f0000000040), 0x100000, 0x0) ioctl$MDIOCRESIZE(r0, 0xc1c06d04, &(0x7f0000000080)={0x0, 0x4, 0x4, 0x0, 0x3, 0x1, 0x9d08, 0x6, 0x80000001, 0xfffffffe, 0x0, [0x0, 0xf522, 0x3, 0xfffffffd, 0x19b, 0x3, 0x8f8, 0x40000004, 0x4, 0xddc4, 0x4, 0xfffffff4, 0x8261, 0x401, 0x9, 0x92, 0x1000008, 0x1, 0x9, 0x81, 0x9, 0x800041, 0x9, 0x7f, 0x6, 0x8313, 0x3, 0xdd7, 0x3, 0x3ff, 0x1, 0x3, 0x18d, 0xbd, 0x0, 0x3, 0x6, 0x4, 0x1, 0x4, 0xc, 0x80000000, 0x8, 0x0, 0x80000001, 0x1, 0x7, 0x9e, 0x6, 0x0, 0x8, 0x6, 0xb, 0x8, 0x6, 0x0, 0x2, 0xbbf, 0x0, 0x0, 0x5, 0x8002, 0x0, 0x4, 0x1ff, 0x4, 0xfffffffa, 0x100, 0x0, 0x1000, 0x1, 0x0, 0xffffffff, 0x1000, 0xc, 0x2, 0x7f00000, 0x3ff, 0x2, 0x7227, 0x9, 0x101, 0x7, 0x6, 0xab7e, 0x7af2, 0x7, 0xfffffffe, 0x9, 0x8299, 0x9, 0xc0, 0x6, 0x7c0a, 0x186b, 0x7fff]}) r1 = open(&(0x7f0000000340)='./file0\x00', 0x2, 0xcc) mkdirat(r1, &(0x7f00000004c0)='./file0\x00', 0x144) cap_rights_limit(r1, &(0x7f0000000380)=[0xa8f, 0x1ff]) r2 = socket$inet6_sctp(0x1c, 0x1, 0x84) r3 = dup2(r2, r2) ioctl$DIOCGETADDR(r3, 0x8048756c, &(0x7f00000003c0)="560bcea133a9400d1cd3c911e2c439082e07e72f1e54f79c6d26835cd0f9354155fd6c50fd") linkat(r3, &(0x7f0000000400)='./file0\x00', r1, &(0x7f0000000440)='./file0\x00', 0x400) flock(r1, 0x8) inotify_add_watch_at(r1, r1, &(0x7f0000000480)='./file0\x00', 0x2000820) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4, 0x41071, 0xffffffffffffffff, 0x0) r4 = socket$inet6_icmp_raw(0x1c, 0x3, 0x3a) setsockopt$inet6_group_source_req(r4, 0x29, 0x4a, &(0x7f0000000240)={0x0, {{0x1c, 0x1c, 0x2, 0x2, @mcast2, 0x3}}, {{0x1c, 0x1c, 0x0, 0x3, @ipv4={'\x00', '\xff\xff', @multicast2}, 0x1}}}, 0x108) 765.312107ms ago: executing program 1 (id=101): socket$inet_udp(0x2, 0x2, 0x0) r0 = __specialfd$inotify(0x2, &(0x7f00000002c0)={0x100000}, 0x4) syz_emit_ethernet(0x5e, &(0x7f0000000300)=ANY=[@ANYBLOB="aaaaaaaaaaaa0180c200000086dd606410a600280000fc020000000005000000000000000000ff0200007758e6c1000000000000000133", @ANYRES32=r0, @ANYBLOB="ac"]) r1 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r1, 0xffff, 0x10000, &(0x7f0000000080)=0x10001, 0x4) close(0x3) bind$inet(r1, &(0x7f00000000c0)={0x10, 0x2, 0x0}, 0x10) r2 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r2, 0xffff, 0x10000, &(0x7f0000000100)=0x10001, 0x4) freebsd10_pipe(&(0x7f0000000280)={0xffffffffffffffff, 0xffffffffffffffff}) close(r3) socket$unix(0x1, 0x1, 0x0) bind$inet(r2, &(0x7f0000000140)={0x10, 0x2, 0x0, @loopback}, 0x10) close(0x3) 750.137637ms ago: executing program 1 (id=102): socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) shutdown(r1, 0x2) cpuset_getaffinity(0x2, 0x1, 0x4, 0x0, 0x0) sendto$unix(r0, 0x0, 0x0, 0x4, 0x0, 0x0) r2 = socket$inet_tcp(0x2, 0x1, 0x0) listen(r2, 0x0) aio_read(&(0x7f0000000080)={r2, 0x9, 0x0, 0x0, [0x6, 0x3], 0x0, 0x8, 0x200, {0x1, 0x2, 0x0}, {0x1, 0x3, @sival_ptr=0x210, @thr={0x0, 0x0}}}) connectat(0xffffffffffffffff, r0, &(0x7f0000000040)=@in6={0x1c, 0x1c, 0x3, 0x3, @remote={0xfe, 0x80, '\x00', 0x0}, 0x4}, 0x1c) r3 = socket$unix(0x1, 0x5, 0x0) r4 = socket$unix(0x1, 0x5, 0x0) bind(r4, &(0x7f00000001c0)=@un=@file={0x0, 0x1, './file0\x00'}, 0xa) listen(r4, 0x0) r5 = socket$unix(0x1, 0x5, 0x0) connect$unix(r5, &(0x7f0000000200)=@file={0x4, 0x1, './file0\x00'}, 0xa) connect$unix(r3, &(0x7f0000000240)=@file={0x4, 0x1, './file0\x00'}, 0xa) 683.253871ms ago: executing program 1 (id=103): syz_emit_ethernet(0x46, &(0x7f0000000100)={@local, @remote, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x38, 0x0, 0x0, 0x0, 0x1, 0x0, @multicast1, @multicast1}, @icmp=@time_exceeded={0xb, 0x0, 0x0, 0x0, 0x1, 0x0, {0x5, 0x4, 0x2, 0x6, 0xca3e, 0x67, 0x400, 0x4, 0x8, 0x8, @local={0xac, 0x14, 0x0}, @remote={0xac, 0x14, 0x0}}, "cd38352fa656c6bb"}}}}}) r0 = open(&(0x7f0000000240)='./file0\x00', 0x616, 0x44) mmap(&(0x7f0000000000/0x14000)=nil, 0x14000, 0x2, 0x11, r0, 0x0) setitimer(0x2, &(0x7f0000000000)={{0x0, 0x2710}, {0x0, 0x2710}}, 0x0) r1 = open(&(0x7f0000000040)='./file0\x00', 0x80000000000206, 0x0) writev(r1, &(0x7f0000000080)=[{&(0x7f00000000c0)='#', 0x100000}], 0x1) ftruncate(r0, 0x8531) r2 = open(&(0x7f0000000280)='./file0\x00', 0x615, 0xb2) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r2, 0x0) cpuset(&(0x7f0000000180)) cpuset(&(0x7f00000001c0)) cpuset(&(0x7f0000000200)) munlockall() 682.949907ms ago: executing program 1 (id=104): r0 = msgget$private(0x0, 0x193) msgsnd(r0, &(0x7f0000000000)=ANY=[], 0x3f9, 0x0) r1 = open(&(0x7f0000000000)='./file0\x00', 0x615, 0x10) mmap(&(0x7f000016b000/0x800000)=nil, 0x800000, 0x6, 0x12, r1, 0x0) bind$unix(r1, &(0x7f0000000040)=@file={0xa, 0x0, './file1\x00'}, 0xa) semop(0x0, 0x0, 0x0) r2 = kqueue() r3 = socket$bt_sco(0x24, 0x5, 0x89) setsockopt$sock_linger(r3, 0xffff, 0x80, &(0x7f0000000080)={0xa539, 0x7fffffff}, 0x8) kevent(r2, &(0x7f0000000080), 0x0, 0x0, 0x0, 0x0) r4 = socket$inet6_tcp(0x1c, 0x1, 0x0) sendto$inet6(r4, 0x0, 0x0, 0x101, 0x0, 0x0) setsockopt$inet_sctp_SCTP_PR_SUPPORTED(0xffffffffffffffff, 0x84, 0x26, 0x0, 0x0) r5 = socket(0x2, 0x3, 0x9) getsockopt$sock_int(r5, 0xffff, 0x1, 0x0, 0x0) r6 = open(&(0x7f0000000140)='./file0\x00', 0x80000000000206, 0x0) aio_write(&(0x7f0000000180)={r6, 0x14000000000, &(0x7f0000000200)="c8", 0x1, [0x8, 0x1], 0x4, 0x1, 0x2, {0x1, 0x7, 0x0}, {0x4, 0x13, @sigval_int=0x5, @spare=[0x6, 0xc000, 0xd, 0x401, 0x8, 0xae7, 0x7fffffff, 0x10000]}}) mlock(&(0x7f0000000000/0x800000)=nil, 0x800000) msgrcv(r0, &(0x7f00000000c0)={0x0, ""/93}, 0x61, 0x0, 0x1000) 559.552163ms ago: executing program 2 (id=105): r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = open(&(0x7f0000000000)='./file0\x00', 0x615, 0x0) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x2, 0x11, r1, 0x0) ftruncate(r1, 0x5afc) msync(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x1) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000040)={0xffffffffffffffff}) r3 = socket$inet(0x2, 0x5, 0x0) r4 = kqueue() kevent(r4, &(0x7f0000000080)=[{0x4, 0xfffffffffffffff9, 0x1, 0x4, 0x40, 0x9, [0x5, 0x5, 0x0, 0x104]}], 0x1, 0x0, 0x0, 0x0) openat$netmap(0xffffffffffffff9c, &(0x7f00000000c0), 0x400, 0x0) connectat(0xffffffffffffffff, r3, 0x0, 0x0) r5 = socket$inet6_udp(0x1c, 0x2, 0x0) bind$inet6(r5, &(0x7f0000000100)={0x1c, 0x1c, 0x1, 0x10, @mcast1, 0x6}, 0x1c) socket$inet_udp(0x2, 0x2, 0x0) sendmsg$unix(r2, 0x0, 0x20100) pread(r1, &(0x7f0000000240)=""/202, 0xca, 0x5) listen(0xffffffffffffffff, 0x4) syz_emit_ethernet(0x0, 0x0) lchflags(&(0x7f0000000340)='./file0\x00', 0x60618) msync(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x2) syz_emit_ethernet(0x3e, &(0x7f0000000380)=ANY=[@ANYBLOB="aaaaaaaaaaaaffffffffffff0800450000300000000000019078e0000001e00000010b01907800010000451aca3e00640405040800080000fb04ac1400bb"]) sendto$inet(r0, 0x0, 0x0, 0x20080, &(0x7f0000000180)={0x10, 0x2, 0x3, @remote={0xac, 0x14, 0x0}}, 0x10) sendto$inet(r0, &(0x7f00000001c0)="88c9", 0x2, 0xfa23c398a956c0a2, &(0x7f0000000200)={0x10, 0x2, 0x0, @broadcast}, 0x10) 306.336671ms ago: executing program 0 (id=106): r0 = openat$netmap(0xffffff9c, &(0x7f0000000100), 0x8, 0x0) ioctl$NIOCREGIF(r0, 0xc03c6992, &(0x7f0000000140)={"185c7d409d63c967810000000000f000", 0x80000003, 0x5, 0x10006, 0x3, 0x1, 0x200, 0xb, 0xb000, 0x0, 0xd, 0x1, 0x1, 0x4, [0x2]}) mkdir(&(0x7f0000000000)='./file0\x00', 0x0) r1 = socket$inet_sctp(0x2, 0x5, 0x84) accept(r1, &(0x7f0000000280)=@in6={0x1c, 0x1c, 0xffffffffffffffff, 0x0, @remote}, &(0x7f00000002c0)=0x1c) mkdir(&(0x7f0000000040)='./file0/file0\x00', 0x0) symlink(&(0x7f0000000080)='./file1\x00', &(0x7f00000000c0)='./file0/file0/..\x00') unmount(&(0x7f0000000200)='./file0/file0/..\x00', 0x80000240) rename(&(0x7f0000000240)='./file0/file0/..\x00', 0x0) r2 = openat$netmap(0xffffff9c, &(0x7f0000000180), 0x8, 0x0) ioctl$NIOCREGIF(r2, 0xc03c6992, &(0x7f00000001c0)={"185c7d409d63c967810000000000f000", 0x80000003, 0x5, 0x10002, 0x3, 0x1, 0x203, 0xb, 0xe001, 0x0, 0xd, 0x1, 0x1, 0x2001, [0x2]}) 256.167603ms ago: executing program 2 (id=107): rename(&(0x7f0000000740)='./file0\x00', &(0x7f0000000780)='./file0\x00') mkdir(&(0x7f0000000000)='./file0\x00', 0x0) r0 = open$dir(&(0x7f0000000040)='.\x00', 0x0, 0x0) r1 = __specialfd$inotify(0x2, &(0x7f0000000080)={0x100000}, 0x4) inotify_add_watch_at(r1, r0, &(0x7f00000001c0)='./file0\x00', 0x5000d15) chflags(&(0x7f0000000200)='./file0\x00', 0x40000) r2 = open$dir(&(0x7f0000000240)='.\x00', 0x0, 0x0) r3 = __specialfd$inotify(0x2, &(0x7f0000000280)={0x100000}, 0x4) inotify_add_watch_at(r3, r2, &(0x7f00000002c0)='./file0\x00', 0xc01) readv(r1, &(0x7f0000000300)=[{&(0x7f0000000380)=""/23, 0x17}], 0x1) mknodat(0xffffffffffffff9c, &(0x7f0000000340)='./file0\x00', 0x11c0, 0x0) 239.103683ms ago: executing program 2 (id=108): ktrace(&(0x7f0000000440)='./file0\x00', 0x4, 0x6550, 0x0) aio_readv(&(0x7f0000000200)={0xffffffffffffffff, 0xebf0, &(0x7f0000000040)="806826c5e9dbb75be20aa73221598185d5cacbf0342e4d488349b547f8594265284ca1bf3e3ee11ffa135c3b586f57a1642ba6994691cedcf445d8adf103aedd9438b0379fb6efe2a0a6436c08c2fbd05a68d3828631ec95c60f43507954a26419ace5b8ba650f33e1802f6f9cb976b9261668fd7ee38787a52e83dec8d8c088fedecafd12f7809143eab98ee18390e5a47bce404406c82664dac6883a3457be92e86b0a6b969dce8b0b483a0a0c22cc19e3c2d56377a7fd0df0e8ec55ac0ffc3c0122875644847b337c63bbdcc7aba49fbc92871a7e0a535fb1655d092c7252e4f6174e216f23", 0xe7, [0x81, 0x2], 0x40, 0x0, 0x1, {0x4, 0xfffffffc, &(0x7f0000000140)="59badffe61844f953f2c2478d6feca5d5aa005f2a4bb90881a3cf2b75401bc639f2087b51f22fd8b19aef656e802f04febc1850ba8f7d2eba275e9b817da45a8769206e8c9c6a4ddf6d4645ff1094a808432c7570f159dd23710587bf25a8f0b2259ee3e52e0325dd152db986b9b5f464c479e4bb804ddd5cbd527ee216d77021bb2f4f72fb114c859768bd2b226598437e2c8712c4b8c393ad1e2e246"}, {0x0, 0xa, @sigval_int=0x9, @ke_flags=0x8000}}) freebsd11_stat(&(0x7f0000001f80)='./file0\x00', &(0x7f0000001fc0)) 209.063258ms ago: executing program 2 (id=109): r0 = openat$md(0xffffffffffffff9c, &(0x7f0000000040), 0x100000, 0x0) ioctl$MDIOCRESIZE(r0, 0xc1c06d04, &(0x7f0000000080)={0x0, 0x4, 0x4, 0x0, 0x3, 0x1, 0x9d08, 0x6, 0x80000001, 0xfffffffe, 0x0, [0x0, 0xf522, 0x3, 0xfffffffd, 0x19b, 0x3, 0x8f8, 0x40000004, 0x4, 0xddc4, 0x4, 0xfffffff4, 0x8261, 0x401, 0x9, 0x92, 0x1000008, 0x1, 0x9, 0x81, 0x9, 0x800041, 0x9, 0x7f, 0x6, 0x8313, 0x3, 0xdd7, 0x3, 0x3ff, 0x1, 0x3, 0x18d, 0xbd, 0x0, 0x3, 0x6, 0x4, 0x1, 0x4, 0xc, 0x80000000, 0x8, 0x0, 0x80000001, 0x1, 0x7, 0x9e, 0x6, 0x0, 0x8, 0x6, 0xb, 0x8, 0x6, 0x0, 0x2, 0xbbf, 0x0, 0x0, 0x5, 0x8002, 0x0, 0x4, 0x1ff, 0x4, 0xfffffffa, 0x100, 0x0, 0x1000, 0x1, 0x0, 0xffffffff, 0x1000, 0xc, 0x2, 0x7f00000, 0x3ff, 0x2, 0x7227, 0x9, 0x101, 0x7, 0x6, 0xab7e, 0x7af2, 0x7, 0xfffffffe, 0x9, 0x8299, 0x9, 0xc0, 0x6, 0x7c0a, 0x186b, 0x7fff]}) r1 = open(&(0x7f0000000340)='./file0\x00', 0x2, 0xcc) mkdirat(r1, &(0x7f00000004c0)='./file0\x00', 0x144) cap_rights_limit(r1, &(0x7f0000000380)=[0xa8f, 0x1ff]) r2 = socket$inet6_sctp(0x1c, 0x1, 0x84) r3 = dup2(r2, r2) ioctl$DIOCGETADDR(r3, 0x8048756c, &(0x7f00000003c0)="560bcea133a9400d1cd3c911e2c439082e07e72f1e54f79c6d26835cd0f9354155fd6c50fd") linkat(r3, &(0x7f0000000400)='./file0\x00', r1, &(0x7f0000000440)='./file0\x00', 0x400) flock(r1, 0x8) inotify_add_watch_at(r1, r1, &(0x7f0000000480)='./file0\x00', 0x2000820) mmap(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4, 0x41071, 0xffffffffffffffff, 0x0) r4 = socket$inet6_icmp_raw(0x1c, 0x3, 0x3a) setsockopt$inet6_group_source_req(r4, 0x29, 0x4a, &(0x7f0000000240)={0x0, {{0x1c, 0x1c, 0x2, 0x2, @mcast2, 0x3}}, {{0x1c, 0x1c, 0x0, 0x3, @ipv4={'\x00', '\xff\xff', @multicast2}, 0x1}}}, 0x108) 208.803085ms ago: executing program 0 (id=110): socket$inet_udp(0x2, 0x2, 0x0) r0 = __specialfd$inotify(0x2, 0x0, 0x0) syz_emit_ethernet(0x5e, &(0x7f0000000300)=ANY=[@ANYBLOB="aaaaaaaaaaaa0180c200000086dd606410a600280000fc020000000005000000000000000000ff0200007758e6c1000000000000000133", @ANYRES32=r0, @ANYBLOB="ac"]) r1 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r1, 0xffff, 0x10000, &(0x7f0000000080)=0x10001, 0x4) close(0x3) bind$inet(r1, &(0x7f00000000c0)={0x10, 0x2, 0x0}, 0x10) r2 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r2, 0xffff, 0x10000, &(0x7f0000000100)=0x10001, 0x4) freebsd10_pipe(&(0x7f0000000280)={0xffffffffffffffff, 0xffffffffffffffff}) close(r3) socket$unix(0x1, 0x1, 0x0) bind$inet(r2, &(0x7f0000000140)={0x10, 0x2, 0x0, @loopback}, 0x10) close(0x3) 200.81235ms ago: executing program 2 (id=111): r0 = socket$inet6_udp(0x1c, 0x2, 0x0) r1 = open(&(0x7f0000000000)='./file0\x00', 0x200, 0x20) r2 = kqueue() kevent(r2, &(0x7f0000000380)=[{0x0, 0xfffffffffffffffb, 0x4007, 0x86e5c1da4344fcc8, 0x2, 0x200, [0x8, 0x7ffffffd, 0x961, 0x200004]}], 0x1, 0x0, 0x0, 0x0) r3 = openat$md(0xffffff9c, &(0x7f00000003c0), 0x100000, 0x0) ioctl$MDIOCATTACH(r3, 0xc1b46d00, &(0x7f0000000400)={0x0, 0x4, 0x3, 0x0, 0x6000000, 0x6, 0x6, 0xffffffffffffff86, 0x401, 0xff, 0x0, [0x9a8, 0x6, 0x1, 0x85d000, 0xb8, 0xfffffffd, 0xfffffffc, 0x5, 0x0, 0x7085, 0xd1, 0x200, 0x4, 0x6, 0x3, 0xc, 0x7ff, 0x2, 0xc, 0x37, 0x0, 0x1, 0xa56, 0x1, 0x6, 0x7, 0x3ff, 0x3, 0x6, 0x3, 0xfffffffd, 0x8001, 0x3, 0x4, 0x1000, 0x8001, 0x6, 0x2, 0x0, 0x7fffffff, 0x5, 0x8, 0xfffffffe, 0x4fc, 0x8, 0x5c81, 0x0, 0x800, 0x9, 0xdc7, 0xffff, 0xfbd, 0xa950, 0x7, 0x80000000, 0x6, 0x7, 0x6, 0x1, 0x6, 0x9, 0x3, 0x6, 0xffff4846, 0xfffffff0, 0x6, 0x9, 0x4, 0x4, 0x3, 0x1, 0x8, 0x7, 0x3, 0xc, 0x4, 0xae, 0x1, 0x5, 0x3ff, 0x202, 0xfffffffc, 0xb6, 0x21ea55e, 0x6, 0x2, 0x80, 0x8002, 0x6, 0x4, 0x7, 0x0, 0x8, 0x8001, 0xe48, 0x1ff]}) sendfile(r1, 0xffffffffffffffff, 0xb98a, 0x20004f98, 0x0, 0x0, 0x20000) mkdir(&(0x7f0000000040)='./file0\x00', 0x0) r4 = open$dir(&(0x7f0000000080)='.\x00', 0x200, 0x88) r5 = __specialfd$inotify(0x2, &(0x7f00000000c0)={0x100000}, 0x4) inotify_add_watch_at(r5, r4, &(0x7f0000000100)='./file0\x00', 0x5000d15) chflags(&(0x7f0000000140)='./file0\x00', 0x40000) r6 = open$dir(&(0x7f0000000180)='.\x00', 0x0, 0x0) r7 = openat$pass(0xffffffffffffff9c, &(0x7f00000002c0), 0x2, 0x0) ioctl$CAMIOCOMMAND(r7, 0xc4e01a02, &(0x7f0000000300)=@ccg={{{0x5, 0xde7, 0x1}, @prev, @next, @prev, 0xcc6d, 0x81, 0x7fffffff, 0x18, 0x7fff, 0x0, 0x2, 0x401, 0x2, 0x7, 0x222, @entries=[@field=0x5, @field=0x100000001], @entries=[@ptr=0xc6db, @field=0x91f], @etime=0x0, 0x8, {0x2, 0x6fc}}, 0xffffff4d, 0x7, 0x7f, 0x4, 0x8}) mkdirat(0xffffffffffffff9c, &(0x7f0000000600)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x45) lpathconf(&(0x7f0000000700)='./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x00', 0x7) r8 = __specialfd$inotify(0x2, &(0x7f00000001c0)={0x100000}, 0x4) inotify_add_watch_at(r8, r6, &(0x7f0000000200)='./file0\x00', 0xc01) syz_emit_ethernet(0x22, &(0x7f0000000800)={@random="b5f37241f5da", @broadcast, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x14, 0x67, 0x0, 0x0, 0x2, 0x0, @multicast1, @multicast1}}}}}) unlink(&(0x7f00000005c0)='./file0\x00') readv(r5, &(0x7f0000000240)=[{&(0x7f0000000280)=""/23, 0x17}], 0x1) connect$inet6(r0, &(0x7f0000001dc0)={0x1c, 0x1c, 0x0, 0x10000, @loopback}, 0x1c) getsockopt$inet6_buf(r0, 0x29, 0x2c, 0x0, &(0x7f0000001e00)) setsid() 199.902554ms ago: executing program 0 (id=112): socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)={0xffffffffffffffff, 0xffffffffffffffff}) sendmsg$unix(r0, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000080)=ANY=[@ANYBLOB="0c000000ffff0000010000000c000000ffff00000100000060000000ffff000003"], 0x78, 0x20000}, 0x188) recvmsg(r1, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=""/85, 0x2}, 0x400c2) syz_emit_ethernet(0x55, &(0x7f0000000180)={@local, @local, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x47, 0x0, 0x0, 0x0, 0x1, 0x0, @rand_addr=0x5, @multicast1}, @icmp=@dest_unreach={0x3, 0x3, 0x0, 0x0, 0x8, 0x0, {0xa, 0x4, 0x1, 0x5, 0x1, 0x65, 0x400, 0xb, 0x64, 0xd800, @multicast1, @rand_addr=0x101, {[@ssrr={0x89, 0xffffffffffffff73, 0x4, [@empty, @loopback, @rand_addr=0xd4, @local={0xac, 0x14, 0x0}]}]}}, "49b561"}}}}}) socket$unix(0x1, 0x1, 0x0) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000000)) (async) sendmsg$unix(r0, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000080)=ANY=[@ANYBLOB="0c000000ffff0000010000000c000000ffff00000100000060000000ffff000003"], 0x78, 0x20000}, 0x188) (async) recvmsg(r1, &(0x7f00000000c0)={0x0, 0x0, 0x0, 0x0, &(0x7f0000000100)=""/85, 0x2}, 0x400c2) (async) syz_emit_ethernet(0x55, &(0x7f0000000180)={@local, @local, [], {@ipv4={0x800, {{0x5, 0x4, 0x0, 0x0, 0x47, 0x0, 0x0, 0x0, 0x1, 0x0, @rand_addr=0x5, @multicast1}, @icmp=@dest_unreach={0x3, 0x3, 0x0, 0x0, 0x8, 0x0, {0xa, 0x4, 0x1, 0x5, 0x1, 0x65, 0x400, 0xb, 0x64, 0xd800, @multicast1, @rand_addr=0x101, {[@ssrr={0x89, 0xffffffffffffff73, 0x4, [@empty, @loopback, @rand_addr=0xd4, @local={0xac, 0x14, 0x0}]}]}}, "49b561"}}}}}) (async) socket$unix(0x1, 0x1, 0x0) (async) 147.540312ms ago: executing program 0 (id=113): r0 = openat$md(0xffffff9c, &(0x7f0000000080), 0x100000, 0x0) ioctl$MDIOCATTACH(r0, 0xc1b46d00, &(0x7f0000000340)={0x0, 0x4, 0x3, 0x0, 0x6000000, 0x6, 0x6, 0xffffffffffffff86, 0x401, 0xff, 0x0, [0x9a8, 0x6, 0x1, 0x85d000, 0xb8, 0xfffffffd, 0xfffffffc, 0x5, 0x0, 0x7085, 0xd1, 0x200, 0x4, 0x6, 0x3, 0xc, 0x7ff, 0x2, 0xc, 0x37, 0x0, 0x1, 0xa56, 0x1, 0x6, 0x7, 0x3ff, 0x3, 0x6000000, 0x3, 0xfffffffd, 0x8001, 0x3, 0x4, 0x1000, 0x8001, 0x6, 0x2, 0x7fffffff, 0x7fffffff, 0x5, 0x8, 0xfffffffe, 0x4fc, 0x8, 0x5c81, 0x0, 0x800, 0x9, 0xdc7, 0xffff, 0xfbd, 0xa950, 0x7, 0x80000000, 0x6, 0x7, 0x6, 0x1, 0x6, 0x9, 0x3, 0x6, 0xffff4846, 0xfffffff0, 0x6, 0x9, 0x4, 0x4, 0x3, 0x1, 0x8, 0x7, 0x3, 0xc, 0x1004, 0xae, 0x1, 0x5, 0x3ff, 0x202, 0xfffffffc, 0xb6, 0x21ea55e, 0x6, 0x2, 0x80, 0x8002, 0x6, 0x4, 0x7, 0x0, 0x8, 0x8001, 0xe48, 0x1ff]}) 5.000234ms ago: executing program 3 (id=114): openat$crypto(0xffffff9c, 0x0, 0x40, 0x0) mkdir(&(0x7f00000000c0)='./file0\x00', 0x1d9) r0 = open$dir(&(0x7f0000000380)='.\x00', 0x0, 0x0) sendto$inet(0xffffffffffffffff, 0x0, 0x0, 0x5, &(0x7f0000000000)={0x10, 0x2, 0x2, @remote={0xac, 0x14, 0x0}}, 0x10) setsockopt(0xffffffffffffff9c, 0x0, 0x9, 0x0, 0x0) mlock(&(0x7f0000000000/0x800000)=nil, 0x800000) madvise(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) r1 = socket$inet6_icmp_raw(0x1c, 0x3, 0x3a) minherit(&(0x7f0000ffd000/0x2000)=nil, 0x2000, 0x3) close(0x3) r2 = socket$inet6_tcp(0x1c, 0x1, 0x0) setsockopt$sock_int(r2, 0xffff, 0x1001, &(0x7f0000000080)=0x6, 0x4) r3 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0x40) mmap(&(0x7f0000589000/0x4000)=nil, 0x4000, 0x4, 0x12, r3, 0x0) setuid(0xee01) socket$inet(0x2, 0x1, 0x0) bind$inet(r3, &(0x7f00000001c0)={0x10, 0x2, 0x3}, 0x10) syz_emit_ethernet(0x36, &(0x7f0000000200)=ANY=[@ANYBLOB="aaaaaaaaaaaaaaaaaaaaaaaa080045f400280065000080eb8f78e0000001e00000014e234e23", @ANYRES32=0x41424344, @ANYRES32=0x41424344, @ANYBLOB="500282009078fffc"]) bind$inet6(r2, &(0x7f0000000240)={0x1c, 0x1c, 0x2, 0x7, @loopback, 0x9}, 0x1c) sendto$inet6(r2, &(0x7f00000002c0)='F', 0xffffffffffffffd8, 0x101, &(0x7f0000000300)={0x1c, 0x1c, 0x2, 0x8, @loopback, 0x7}, 0x1c) setsockopt$inet6_IPV6_HOPOPTS(r1, 0x29, 0x31, &(0x7f00000004c0)=ANY=[@ANYBLOB="7304"], 0x28) kevent(0xffffffffffffffff, &(0x7f0000000500)=[{0x4, 0xfffffffffffffff9, 0x1, 0x4, 0x3c, 0x9, [0x5, 0x6, 0x60000000, 0x104]}], 0x1, 0x0, 0x0, 0x0) ioctl$NIOCCTRL(0xffffffffffffffff, 0xc0586997, 0x0) flock(0xffffffffffffffff, 0x2) r4 = msgget$private(0x0, 0x0) msgsnd(r4, &(0x7f0000000540)=ANY=[@ANYBLOB="0100000015deb00c71a7b001d7d0165186f868638de5207d207d732950ca28aef7bf1219094a5e602a6a28a98e3feef37fa3ec119b2482abde3ca0ab4d200c7f69b61d786f71abdeda3360c5eff33f1dbcde739df2c168c9afae484c9568bcf0c891181aea4b52c53e056c2a27dc3509b1f67764aacb94a753bcf19784757d52716a342383d4841829bc24dba567b9fdc99dbb7d2c53c5fb40f5a0cf90"], 0x9d, 0x800) r5 = __specialfd$inotify(0x2, &(0x7f00000003c0)={0x100004}, 0x4) inotify_add_watch_at(r5, r0, &(0x7f0000000400)='./file0\x00', 0xc01) inotify_add_watch_at(r5, r0, &(0x7f0000000440)='./file0\x00', 0x11000c09) semget$private(0x0, 0xb, 0x19f) 0s ago: executing program 0 (id=115): syz_emit_ethernet(0x82, &(0x7f0000000000)={@local, @local, [], {@ipv4={0x800, {{0x16, 0x4, 0x0, 0x0, 0x74, 0x0, 0x0, 0x0, 0x1, 0x0, @rand_addr=0x5, @multicast1, {[@ra={0x94, 0x6, 0x9}, @ssrr={0x89, 0xf, 0xf7, [@rand_addr, @remote={0xac, 0x14, 0x0}, @broadcast]}, @timestamp={0x44, 0x4, 0x3, 0x3, 0xc}, @ra={0x94, 0x6, 0x6}, @lsrr={0x83, 0x23, 0x3, [@multicast1, @rand_addr=0x4, @empty, @loopback, @broadcast, @multicast1, @multicast2, @loopback]}]}}, @icmp=@parameter_prob={0xc, 0x0, 0x0, 0x3, 0x8, 0x0, {0x5, 0x4, 0x1, 0x9, 0x0, 0x65, 0x2, 0x6, 0xbc, 0xd3a, @multicast1}}}}}}) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.203' (ED25519) to the list of known hosts. Expensive callout(9) function: 0xffffffff81c339a0(0) 0.002113443 s md0: truncating fractional last sector by 4 bytes Nov 27 19:26:36 syzkaller kernel: nd6_na_input: duplicate IP6 address fe80:6::2aa vnode_pager_putpages: zero-length write at 0 resid 4096 0xfffffe0071774000: type VREG state VSTATE_CONSTRUCTED op 0xffffffff8395cd00 usecount 2, writecount 2, refcount 3 seqc users 0 hold count flags () flags (VIRF_PGREAD|VMP_LAZYLIST) v_object 0xfffffe0059316488 ref 2 pages 6 cleanbuf 1 dirtybuf 0 lock type ufs: EXCL by thread 0xfffffe0059319000 (pid 1702, syz-executor, tid 100253) nlink=1, effnlink=1, size=23292, extsize=0 generation=54e0207a, uid=0, gid=0, flags=0x60618 ino 80286, on dev gpt/rootfs-dfea8ed2 vnode_pager_putpages: zero-length write at 0 resid 4096 0xfffffe0071774000: type VREG state VSTATE_CONSTRUCTED op 0xffffffff8395cd00 usecount 0, writecount 0, refcount 3 seqc users 0 hold count flags () flags (VIRF_PGREAD|VI_DOINGINACT|VMP_LAZYLIST) v_object 0xfffffe0059316488 ref 0 pages 6 cleanbuf 1 dirtybuf 0 lock type ufs: EXCL by thread 0xfffffe00592f3000 (pid 1702, syz-executor, tid 100159) nlink=1, effnlink=1, size=23292, extsize=0 generation=54e0207a, uid=0, gid=0, flags=0x60618 ino 80286, on dev gpt/rootfs-dfea8ed2 md2: truncating fractional last sector by 4 bytes md3: truncating fractional last sector by 4 bytes Out of ktrace request objects. md4: truncating fractional last sector by 4 bytes vnode_pager_putpages: zero-length write at 0 resid 4096 0xfffffe005aa28a50: type VREG state VSTATE_CONSTRUCTED op 0xffffffff8395cd00 usecount 2, writecount 2, refcount 3 seqc users 0 hold count flags () flags (VIRF_PGREAD|VMP_LAZYLIST) v_object 0xfffffe00593063a0 ref 2 pages 6 cleanbuf 1 dirtybuf 0 lock type ufs: EXCL by thread 0xfffffe0059319000 (pid 1731, syz-executor, tid 100401) nlink=1, effnlink=1, size=23292, extsize=0 generation=3a07aec9, uid=0, gid=0, flags=0x60618 ino 80277, on dev gpt/rootfs-dfea8ed2 Expensive callout(9) function: 0xffffffff81af9160(0) 0.003438899 s ip6_pcbopts: all specified options are cleared. if_delmulti_locked: detaching ifnet instance 0xfffffe0058f8a000 md5: truncating fractional last sector by 4 bytes May 18 03:33:25 syzkaller kernel: arp: 00:00:00:00:00:00 attempts to modify permanent entry for 172.20.2.187 on tap2 vnode_pager_putpages: zero-length write at 0 resid 4096 0xfffffe00907681b8: type VREG state VSTATE_CONSTRUCTED op 0xffffffff8395cd00 usecount 2, writecount 2, refcount 3 seqc users 0 hold count flags () flags (VIRF_PGREAD|VMP_LAZYLIST) v_object 0xfffffe0059315000 ref 2 pages 6 cleanbuf 1 dirtybuf 0 lock type ufs: EXCL by thread 0xfffffe00592d5000 (pid 1803, syz-executor, tid 100521) nlink=1, effnlink=1, size=23292, extsize=0 generation=d018f486, uid=0, gid=0, flags=0x60618 ino 80290, on dev gpt/rootfs-dfea8ed2 lock order reversal: 1st 0xfffffe0071774c78 ufs (ufs, lockmgr) @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/kern_exec.c:617 2nd 0xffffffff83202240 proctree (proctree, sx) @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/subr_prf.c:185 lock order proctree -> ufs established at: #0 0xffffffff817b8591 at witness_checkorder+0x7b1 #1 0xffffffff81622386 at lockmgr_lock_flags+0x1d6 #2 0xffffffff81f52deb at ffs_lock+0x18b #3 0xffffffff824fa717 at VOP_LOCK1_APV+0x57 #4 0xffffffff8193a0b8 at _vn_lock+0x148 #5 0xffffffff8193a930 at vn_close1+0x150 #6 0xffffffff816134db at ktrops+0x4ab #7 0xffffffff81612bbd at kern_ktrace+0xaad #8 0xffffffff824becb8 at ia32_syscall+0x538 #9 0xffffffff822af00f at int0x80_syscall_common+0x9c lock order ufs -> proctree attempted at: #0 0xffffffff817b96ad at witness_checkorder+0x18cd #1 0xffffffff816af91f at _sx_slock_int+0x13f #2 0xffffffff8177545d at uprintf+0x14d #3 0xffffffff81561d27 at exec_elf64_imgact+0xdc7 #4 0xffffffff815d2760 at kern_execve+0x1970 #5 0xffffffff8045bd9e at freebsd32_execve+0x16e #6 0xffffffff824becb8 at ia32_syscall+0x538 #7 0xffffffff822af00f at int0x80_syscall_common+0x9c vnode_pager_putpages: zero-length write at 0 resid 4096 0xfffffe0072508370: type VREG state VSTATE_CONSTRUCTED op 0xffffffff8395cd00 usecount 2, writecount 2, refcount 3 seqc users 0 hold count flags () flags (VIRF_PGREAD|VMP_LAZYLIST) v_object 0xfffffe005930c828 ref 2 pages 6 cleanbuf 1 dirtybuf 0 lock type ufs: EXCL by thread 0xfffffe005932d780 (pid 1874, syz-executor, tid 100748) nlink=1, effnlink=1, size=23292, extsize=0 generation=7a0f9fd2, uid=0, gid=0, flags=0x60618 ino 80281, on dev gpt/rootfs-dfea8ed2 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffe00087144d0) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/cam/scsi/scsi_pass.c:1836 stack backtrace: #0 0xffffffff817ba056 at witness_debugger+0x156 #1 0xffffffff817bd32e at witness_warn+0x91e #2 0xffffffff8230dafd at trap_pfault+0x15d #3 0xffffffff8230c908 at trap+0x4c8 #4 0xffffffff822adea8 at calltrap+0x8 #5 0xffffffff8042ee5e at passsendccb+0x16e #6 0xffffffff8042dc27 at passdoioctl+0x5a7 #7 0xffffffff8042cf43 at passioctl+0x33 #8 0xffffffff81305b46 at devfs_ioctl+0x266 #9 0xffffffff824f7d87 at VOP_IOCTL_APV+0x87 #10 0xffffffff8193462f at vn_ioctl+0x3cf #11 0xffffffff81306a19 at devfs_ioctl_f+0x69 #12 0xffffffff817c9d4a at kern_ioctl+0x52a #13 0xffffffff817c9742 at user_ioctl+0x332 #14 0xffffffff804585c7 at freebsd32_ioctl+0x607 #15 0xffffffff824becb8 at ia32_syscall+0x538 #16 0xffffffff822af00f at int0x80_syscall_common+0x9c Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x900000800 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff82308305 stack pointer = 0:0xfffffe0056fd2070 frame pointer = 0:0xfffffe0056fd2070 processor eflags = interrupt enabled, resume, IOPL = 0 current thread = 1880/100818 (syz-executor/syz-executor) rdi: fffffe0056fd20a0 rsi: 0000000900000800 rdx: 0000000000000004 rcx: 0000000000000004 r8: 0000000900000800 r9: 0000000000000004 rax: 0000000000000000 rbx: fffffe0056fd20e0 rbp: fffffe0056fd2070 r10: 0000000000000003 r11: fffffe005932d550 r12: fffffe005a6331f0 r13: fffffe0056fd20a0 r14: fffffe005a633000 r15: 0000000000000004