last executing test programs: 811.048229ms ago: executing program 1 (id=2): mkdir(&(0x7f0000000140)='./file0\x00', 0x148) getgroups(0x7, &(0x7f0000000180)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) setresgid(r1, r0, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f00000001c0)={0xffffffffffffffff}) getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000240)={0x0, 0x0, 0x0}, &(0x7f0000000280)=0xc) chown(&(0x7f00000002c0)='./file0\x00', r4, r5) socketpair$unix(0x1, 0x5, 0x0, &(0x7f0000000480)={0xffffffffffffffff}) getsockopt$sock_cred(r6, 0xffff, 0x1022, &(0x7f0000000340)={0x0, 0x0}, &(0x7f0000000380)=0xa) geteuid() setresuid(r3, r7, 0x0) unveil(&(0x7f0000000400)='./file0/file0\x00', &(0x7f0000000440)='x\x00') 430.274054ms ago: executing program 1 (id=9): r0 = socket$inet6(0x18, 0x3, 0x1) recvmsg(r0, 0x0, 0x2002) connect$inet6(r0, &(0x7f0000000000)={0x1c, 0x18, 0x1, 0x41, "00000000000000000000000000000001", 0xc0000}, 0x1c) shutdown(r0, 0x2) (async) shutdown(r0, 0x2) socket$inet6(0x18, 0x2, 0x0) sendto$inet6(r0, 0x0, 0x0, 0x9, 0x0, 0x0) (async) sendto$inet6(r0, 0x0, 0x0, 0x9, 0x0, 0x0) sendmmsg(r0, &(0x7f0000002b40)={{0x0, 0x0, 0x0, 0x0, 0x0}}, 0x38, 0x406) open$dir(0x0, 0x200, 0x0) sysctl$kern(&(0x7f0000000040)={0x1, 0x4d}, 0x2, &(0x7f0000000080)="2ff8b4c66903197326185256ded31ebd193e70bccad11986119e97a00079240772c3a2ddc883585bdf3697a50021aa0cd597644b209f2599dab27e3c84910744", &(0x7f00000000c0)=0x40, &(0x7f0000000100)="62e698b3", 0x4) ktrace(&(0x7f0000000240)='./file0\x00', 0x4, 0x208, 0x0) getgroups(0x0, 0x0) setresgid(0x0, 0x0, 0x0) (async) setresgid(0x0, 0x0, 0x0) ktrace(&(0x7f00000002c0)='./file0\x00', 0x2, 0x408, 0x0) (async) ktrace(&(0x7f00000002c0)='./file0\x00', 0x2, 0x408, 0x0) 429.689783ms ago: executing program 7 (id=8): r0 = semget(0x1, 0x7, 0x240) semop(r0, &(0x7f0000000000)=[{0x0, 0x8f, 0x1800}], 0x1) r1 = semget(0x2, 0x7, 0x240) mknod(&(0x7f0000000040)='./file0\x00', 0x2000, 0x33a4) r2 = open(&(0x7f0000000080)='./file0\x00', 0x1, 0x39) ioctl$TIOCCONS(r2, 0xc0a86b06, &(0x7f00000000c0)=0x80000000) semop(r1, &(0x7f00000001c0)=[{0x1, 0x1, 0x1000}, {0x1, 0xffff, 0x1000}], 0x64) 425.257518ms ago: executing program 3 (id=4): chflags(&(0x7f0000000000)='./file0/../file0\x00', 0x10000) socket$inet(0x2, 0x1, 0x6) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(0xffffffffffffffff, 0x80047308, 0x0) closefrom(0xffffffffffffffff) r0 = syz_open_pts() socket$unix(0x1, 0x1, 0x0) closefrom(r0) sysctl$kern(&(0x7f0000000200)={0x1, 0xa}, 0x2, 0x0, 0x0, 0x0, 0x0) setrlimit(0x8, &(0x7f0000000240)={0x9, 0x37e1690f}) syz_open_pts() ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f00000002c0)={0x3707, 0x9, 0x200013, 0x9, "c46ccf9b01c2a719c842065200", 0x2, 0x1}) write(r0, &(0x7f0000000300)="7ef5b69389691e24966a3ddf3d32cdb3fcdc1293054eedfc4c98644011ebd4ed712cded9d188c11bac6dc6f23ec53ad394df0db649d54e94008b07a4f2bed0dcc32676b30e95899f3b7832668feb78b297aec2da4d621cfaccad7c3a63bba6112ceb8ac3ea84b89b600c7a", 0xfe76) socket$inet6(0x18, 0x1, 0x6) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000040)) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000080)) socket$inet(0x2, 0x5, 0x1) pipe(&(0x7f0000000100)) setsockopt$sock_int(0xffffffffffffffff, 0xffff, 0x4, &(0x7f0000000140)=0x6, 0x4) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) sysctl$net_inet_ip(&(0x7f0000000180)={0x4, 0x2, 0x0, 0x1e}, 0x4000000000000005, 0x0, 0x0, &(0x7f00000001c0)="9b79591cee226bcd71651faad22d9f5ace4feda604b67f02", 0x18) mknod(&(0x7f0000000280)='./file0\x00', 0x2000, 0x64f2) open(&(0x7f00000000c0)='./file0\x00', 0x7c6, 0x1b2) 423.876087ms ago: executing program 2 (id=3): r0 = openat(0xffffffffffffff9c, &(0x7f0000000080)='./file0\x00', 0x4828a, 0x80) renameat(r0, &(0x7f00000000c0)='./file0\x00', r0, &(0x7f0000000040)='./file0/file0\x00') r1 = syz_open_pts() ioctl$TIOCSTOP(r1, 0x2000746f) ioctl$TIOCSCTTY(0xffffffffffffffff, 0x20007461) ioctl$TIOCSTART(r1, 0x2000746e) mprotect(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./file0\x00', 0x4828a, 0x80) (async) renameat(r0, &(0x7f00000000c0)='./file0\x00', r0, &(0x7f0000000040)='./file0/file0\x00') (async) syz_open_pts() (async) ioctl$TIOCSTOP(r1, 0x2000746f) (async) ioctl$TIOCSCTTY(0xffffffffffffffff, 0x20007461) (async) ioctl$TIOCSTART(r1, 0x2000746e) (async) mprotect(&(0x7f0000000000/0x1000)=nil, 0x1000, 0x0) (async) 422.627399ms ago: executing program 7 (id=10): mknod(&(0x7f0000000040)='./file0\x00', 0x6000, 0x4ad) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x1, 0xea) writev(0xffffffffffffffff, 0x0, 0x0) r1 = socket$inet(0x2, 0x3, 0x2) ioctl$DIOCCLRSTATES(r0, 0x0, &(0x7f0000000100)={{0x3, 0x2, 0x2}, 0x0, '\x00', 0x3, {@addrmask={@v6=@loopback, @v4=@broadcast, 0x0, 0x0, 0xc}, [0xc42], 0x7, 0x3, 0x8}, {@addrmask={@v6=@loopback, @v6=@rand_addr="985f9facd3cdd356443ba838afac8593", 0x0, 0x0, 0x1}, [0x7, 0x3], 0x7, 0xc, 0x7ff}, './file0\x00', './file0\x00', 0x2, 0x2}) pipe(&(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r2, 0x80047308, &(0x7f0000000240)={0x0, 0x0, 0x0, 0x0, 0xffffffffffffffff}) closefrom(r3) r4 = socket$inet6(0x18, 0x2, 0x0) pipe(&(0x7f0000000280)={0xffffffffffffffff}) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r5, 0x80047308, &(0x7f00000002c0)={0x0, 0x0, 0x4, 0x0, 0xffffffffffffffff}) closefrom(r6) socket$inet6(0x18, 0x1, 0x0) setsockopt$sock_cred(r4, 0xffff, 0x1023, &(0x7f0000000300), 0x20) setsockopt(r1, 0x0, 0x2, &(0x7f0000000000)="0784fc81", 0x4) sendmsg(r1, &(0x7f0000000c80)={&(0x7f0000000080)=@in6={0x1c, 0x18, 0x1, 0x8, "9a8ac58e2a7d7e9a1a4324d5c8c9ef23"}, 0xfffffffffffffd16, &(0x7f0000000200), 0x0, 0x0}, 0x405) 276.54133ms ago: executing program 0 (id=1): r0 = openat$zero(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) r1 = syz_open_pts() r2 = dup(r1) ioctl$FIONREAD(r2, 0x4004741a, &(0x7f00000000c0)) pipe(&(0x7f00000001c0)={0xffffffffffffffff, 0xffffffffffffffff}) socketpair(0x2, 0x8003, 0x2, 0x0) mknod(&(0x7f0000000340)='./file0\x00', 0x2000, 0x7762) r4 = open$dir(&(0x7f0000000380)='./file0\x00', 0x20, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) ioctl$FIOASYNC(r4, 0x800c745b, &(0x7f00000003c0)=0xbd) ioctl$DRM_IOCTL_MODE_CREATE_LEASE(r3, 0x80047308, &(0x7f0000000200)={0x0, 0xfffffffffffffd31}) closefrom(0xffffffffffffffff) setrlimit(0x8, &(0x7f0000000240)={0x1, 0xc8}) pipe2(0x0, 0x4) r5 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000100), 0x800, 0x0) ioctl$DIOCMAP(r5, 0xc0106477, &(0x7f0000000140)={&(0x7f0000000180)='\x00', 0xffffffffffffffff, 0x2}) r6 = socket(0x20, 0x5, 0x9) write(r6, &(0x7f0000000080)="d4cbd4ce8666", 0x6) mmap(&(0x7f0000fed000/0x11000)=nil, 0x11000, 0x1, 0x2010, r0, 0x801e) r7 = open(&(0x7f0000000040)='./file0\x00', 0x20, 0xc3) ioctl$TIOCCONS(r7, 0xc0a86b03, &(0x7f0000000480)=0x1) ioctl$WSDISPLAYIO_GINFO(r3, 0x40185741, &(0x7f00000004c0)) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000ac0)={0xffffffffffffffff}) sysctl$net_inet6_ip6(&(0x7f0000000c00)={0x4, 0x18, 0x29, 0x2b}, 0x4, 0x0, 0x0, 0x0, 0x0) sysctl$hw(&(0x7f00000002c0)={0x6, 0x2}, 0x2, &(0x7f0000000600)="4a96c38073a997c509b00105000000000000000d73ae0cf2317bea62045d389265cdfb6c885c59a8404b1378f615e73dbbb647f6eafe0933e065fbcc06ef0d6fe02e7d4a5d5b1dd170d0984fe8600e7f23042015c113c1546a099b67433f9cca644d7acb710065b7d180b15d9c2a9bee910c16616cd467df222a50c77d7bf50fdf80a10976ff507bfcb90c7ef14b852e0175fe1b3115794c71669633e4fefb437004126d5b617cde72cde98fbfe21f471e5e53236a7980ffc6989fa5445c6c6a22929a9c356429e4d44c5034cac2560b140a5cd7407c80b0d3b2a3a89f109221fa063bdc9aee77220f74451bbfa7ea34244dcbb4388177e1ecd97519ceecc5b63f9942956c123826d77eeb045807058a53a40d5536d3af1803e95564d11dfaddd2363bf52c4aca0bc3ad938d105366f5bfeeddc9e8e3d0d4962e8659d9f0", &(0x7f0000000300)=0xc3, 0x0, 0x0) r9 = socket$inet(0x2, 0x2, 0x0) socket$inet6(0x18, 0x3, 0x5) setsockopt$inet6_MRT6_ADD_MIF(r2, 0x29, 0x2e, &(0x7f0000000280), 0x6) closefrom(r9) sendmmsg(r8, &(0x7f0000000400)={{0x0, 0x0, 0x0, 0x0, 0x0}}, 0x38, 0xc) 274.322897ms ago: executing program 1 (id=11): ioctl$DIOCGETQUEUE(0xffffffffffffff9c, 0xc148445f, &(0x7f0000000000)={0x4, 0x6, {'\x00', './file0\x00', './file0\x00', './file0\x00', {{0x8c39, 0x2}, {0x8, 0x5}, 0x5}, {{0x2, 0x5}, {0x8, 0x3ff}, 0x8}, {{0x2, 0x4}, {0x9, 0x6}, 0x4}, {0x4, 0x2, 0xd0d6, 0x1}, 0x0, 0x71, 0x5, 0xfffffeff, 0x8}}) (async) r0 = openat$pf(0xffffffffffffff9c, &(0x7f0000000180), 0x0, 0x0) ioctl$DIOCGETRULESET(r0, 0xc444443b, &(0x7f00000001c0)={0x0, './file1\x00', './file0\x00'}) (async) ioctl$DIOCSETSTATUSIF(r0, 0xc0284414, &(0x7f0000000740)={'./file1\x00', &(0x7f0000000640)=""/222, 0x1ff, 0xfffffffa, 0xe28b, 0xd5}) mknod(&(0x7f0000000780)='./file1\x00', 0x80, 0x8001) (async) ioctl$DIOCGETRULES(r0, 0xcd604406, &(0x7f00000007c0)={0x9, 0x8, 0xc, './file0\x00', './file0\x00', 0x0, "7f0bfa9f4763fdadf4bd067371c99e463a70e8d9d50af8598dbd7de66aea4a92aecd122642a37eae451951fdabe93f88a1cbc45851cba5ba39e5d41cdf1e69920f8c67a40508d1fbe212d49a10e8016cb51c03d20fb52ea45e9ae4284b1d0285b780c301b088556cd3118cf85e2f4f81bf94b0851fb49f77b3cdaccb1dfb762b12a7abfa486e6d8f598adc77f820b6efe8122545c648c1fb6f9a4b722f8584127ae0abf02f841faef2fb2b794bb7376a52612f95283447188e5137cc7082a8a080ba49c3decec708f0a7621d6b30c65636a9f852bc317b1c987688fe590d2a9d9b433dea93f8dc1ea388985babf7f8d7edf128436338f76cbcfbf723b834c1152e5ebe70b07248a39cc4b3bacb9257c33b2cb8f7f25b3d9df8f98c00e79a941cc08cdbbe956efd3a715293e51544b2c4a3f40584f3c3f980da856c8532de4b24950ba5674ab232b85789e7fed2b42507f4fa83d8596ecff03f839a13e1cd227cab578dbaeb01b6a929c7af858fb38f6b532f7e4168359372e5f055f609d157a8a2c63f8abfea23364233a62003cd6706c8132f2a4c1507a0eefdf265773384cc9942d63d46a646d220c45a514bb1911531b8c4e2778dd1a74f85e2a52256aa512e3b6da933f549a981e46b6af2e223906e49d91bf3d453f440cdd89513c2d813314d1e29f56ad788031683e96acd338b55ce557c84dc58827118e772ee57b73623ddd397a2fff32bc1c4c78082134b59e07461bdadcee726e785dc7d51d86188098f0d4079164cdc4070b3b4f20025dc70fe01aa55df141c01c04c0c6763c9410f575de962378af537f316d3185566368563996302121213a9e077ad63726ba512ee9acb3b571cc4ad45f70bdc7f135ced933063c4e35a4466a6ad1a70da463d396555c1e4e6e4d98b36ee00e04959f874661e915665a45d1c1650863f6c5f77922fb834331d11eab2c398034d78a039e99c15e5f2744ba46d04eda56f4d364896f4ba756bcdfaa5b9dc7d41d571d769e6dec08d5dd26dfc762db08965680e36381a4422896163ac7f1c45d1b6cab1c0255793e572b66546234e89b36feee0ae6c00be8500a38a4a7d9c91322925c209975373fbcce917827cf99137022ab3cc132a373f8b75d6d8ce4aa247ae172f973201e1ca71f533e552c86e0dc11d9ec120aee895a232fdb7a5991cf8045f3ab732379ac12159a446f12e16ce07da6b949443d34ad54ab5afd75d9b4340bb35a7d2cae68d2679f415bd3a46dfa6719cd3e9c952c6d1c21ecc96f98cc25f239fe9323fe94984de67be5ef8bb20df2c6dee041acd6943881dfce60414223a65745371160712a3020d506e4dd67ad070f54b91765600e6a91d756c1d8a7c59feb98978143623aaff3fdf950fd287122c1a7a30266980778109af2f1d4eb356cd6ed64a67459137910152aa7182bc053a964a03fc94d98cb989850b7da0d4640003126631e33612d24bdacf6041b489d377f04405fca7f015939866e863831a25bb2216ed452b13df6a17a5a6e0b509862b61e4502bd734497e36fcd6b2d9dbf5a9f390752a6c71fab56ecf8c0b0a4fbb955e9505cf3cc01585660ab8af99e252344c09f5008118bc709d34b4dbec1ca1443f37e00a60a47256348571ee39e0cc4e0dd2eb73a8a5e5de1f8de306f3252964ae4190284b800fd39fb274cbd4764563f2519e7dcf7b569bc7dc5eb17894a60a86420ce14369bfc7bb966659b2fae4cce3dfc1d91be441ed841c1937fa56a03cf3efced61b098fd8cb168410b3d06c258fe04eb7bfe51cde25c57fa38d20b6440106029c78ae487cb3154275d035a5747fe719e2874ed75df78af8230f229b49990721a64e030d7705b64da11625613d5dcf0592597a5d1209c61671c9eb285cf33c5b0fcf8c778ce934ea78967fbb4751"}) r1 = openat$pf(0xffffffffffffff9c, &(0x7f0000001540), 0x8000, 0x0) ioctl$DIOCRSETTFLAGS(r1, 0xc450444a, &(0x7f0000001580)={{'./file1\x00', './file0\x00', 0xc, 0x8}, 0x0, 0x0, 0x0, 0x5, 0x8, 0x1, 0x1ff, 0xc, 0x3}) r2 = openat$pf(0xffffffffffffff9c, &(0x7f0000001a00), 0x40, 0x0) ioctl$DIOCXBEGIN(r2, 0xc0104451, &(0x7f0000003280)={0x6, 0x6, &(0x7f0000001a40)=[{0x0, './file0\x00', 0x43a}, {0x0, './file1\x00', 0x4}, {0x0, './file2\x00', 0x3}, {0x0, './file1\x00', 0xabb2}, {0x0, './file0\x00', 0x7}, {0x1, './file0\x00', 0xfffffff9}]}) ioctl$DIOCGETSTATE(r2, 0xc1084413, &(0x7f00000032c0)={{0x0, '.\x00', [{[@v6=@ipv4={'\x00', '\xff\xff', @local={0xac, 0x14, 0x0}}, @v6=@mcast1], [0x3, 0x200], 0x5, 0x18}, {[@v4=@broadcast, @v4=@multicast1], [0x7, 0x6], 0x7, 0x18}], {{0x0, 0x8, 0x6, 0x3}, 0x7, 0x0, 0xfff, 0x4, 0x2, 0x0, 0x6}, {{0x9, 0xe, 0xa, 0xda9d}, 0x80000001, 0x401, 0x7fff, 0x80, 0x80, 0xe6, 0xe}, @v6=@mcast2, 0x5, 0x1, 0x6, 0x81, 0x8001, [[0x5, 0x2], [0x2, 0x3]], [[0x9, 0x6], [0x1, 0x28]], 0x80000001, [0x200, 0x5], 0x863, 0x2, 0x4, 0x3, 0xb, 0xa, 0x3, 0x6d, 0x5, 0x25, 0x8, 0x2, "c1ca"}}) mknod(&(0x7f0000003400)='./file2\x00', 0x8000, 0x7) (async) r3 = openat$null(0xffffffffffffff9c, &(0x7f0000003440), 0x2, 0x0) ioctl$WSDISPLAYIO_LSFONT(r3, 0xc058574e, &(0x7f0000003480)={'./file0\x00', 0x9, 0x9, 0x5b, 0x1, 0x515, 0x3, 0x6, 0x1, 0x0, 0x5, 0x2}) fcntl$setstatus(r1, 0x4, 0x8) (async, rerun: 32) r4 = openat$pf(0xffffffffffffff9c, &(0x7f0000003500), 0x8000, 0x0) (rerun: 32) ioctl$DIOCRSETADDRS(r4, 0xc4504445, &(0x7f0000003680)={{'./file2\x00', './file3\x00', 0x50, 0x5}, &(0x7f0000003540)=[{@remote={0xac, 0x14, 0x0}, '\x00', './file0\x00', 0xffff, 0x6, 0x18, 0x4, 0x9, 0xad, 0x8}, {@broadcast, '\x00', './file2\x00', 0x6, 0x3, 0x1a, 0xd, 0x9, 0x3, 0x1}, {@local={0xac, 0x14, 0x0}, '\x00', './file1\x00', 0x5, 0xd61, 0x18, 0x9, 0x9, 0xa3, 0xbf}, {@broadcast, '\x00', './file0\x00', 0xeb6f, 0x9, 0x1a, 0x0, 0xe6, 0xa, 0x5}, {@loopback, '\x00', './file0\x00', 0xb, 0x1f66, 0x0, 0x1, 0xeb, 0x0, 0x9}, {@rand_addr, '\x00', './file3\x00', 0x3388, 0x3, 0x6, 0x9, 0xd, 0x8}], 0x7, 0x6, 0x4, 0x2, 0x6a, 0xe, 0x8, 0x4}) (async) r5 = openat$null(0xffffffffffffff9c, &(0x7f0000003b00), 0x10, 0x0) dup3(r4, r5, 0x10000) ioctl$BIOCSETF(r3, 0x80104267, &(0x7f0000003b80)={0x3, &(0x7f0000003b40)=[{0x1, 0x3, 0x4, 0x80}, {0x80, 0x5, 0xf9, 0x5}, {0x5, 0x0, 0x2, 0xdaed}]}) (async) r6 = fcntl$dupfd(r1, 0x0, r4) ioctl$DIOCKILLSTATES(r6, 0x0, &(0x7f0000003bc0)={{0x6, 0x5, 0x2}, 0x0, '\x00', 0xd2, {@addrmask={@v4=@remote={0xac, 0x14, 0x0}, @v6=@local={0xfe, 0x80, '\x00', 0x0}, 0x0, 0x0, 0xfe}, [0x1], 0x8, 0x4, 0xe}, {@addrmask={@v4=@loopback, @v6=@mcast1}, [0x0, 0x40], 0x2a, 0x2, 0x400}, './file1\x00', './file1\x00', 0x0, 0x5}) ioctl$WSMUXIO_INJECTEVENT(r6, 0x80185760, &(0x7f0000003cc0)={0x4, 0x7, {0x8, 0x100000000}}) ioctl$DIOCRCLRTABLES(r5, 0xc450443c, &(0x7f0000003d00)={{'./file1\x00', './file0\x00', 0x60}, 0x0, 0x0, 0x0, 0x45b3, 0x1, 0x9, 0x400, 0x5a, 0xbda0}) (async) r7 = openat$pf(0xffffffffffffff9c, &(0x7f0000004180), 0x20000, 0x0) ioctl$DIOCGETRULESET(r7, 0xc444443b, &(0x7f00000041c0)={0x2, './file0\x00', './file0\x00'}) (async) ioctl$DIOCADDRULE(r0, 0xcd604404, &(0x7f0000004640)={0xfffffffb, 0x7, 0x8, './file1\x00', './file2\x00', 0x0, "91dacff18cda4810036a680574739c48ff1a1e3ce00a053bc8a8dfec9b5f8de112e6dd8831da14ba58ef24cee710ceb295e9d2697422a056e4bf6e32390913ccd9e1bbd894623bc90a5c694e36a06aec7c39b1c0e091f9a7f53ce438fa91f64246c633abb991179a0d9c6b40cb17d7461aa20a81463d8ed27118409d0320fd74f7de95229c5cd430d483a2f3bcdc7545577c2fda690ad1482ac50b250d480c7b4fc21974bba6a34073fc1c74ede083a35505cf444be5968a3d3e8f896b1e652e90fcaec3e0e0b3a3cfd25e11e5f6a9faf40086c1a8c4e14d81020d5c9bfaced4adfb67938c876caa6abed9dbc38916e7ffe59fb27d36a040a1ababa4cfcc12c6f7d6a06802f9b29294f83ace6071be2ff250733dafae76231c1604bbe17e83e7896fe0233dd8a75c6a8e5dceb83f5e4e1a94ad4fa14ea4de2501659c76e58788679ce85af3d039459869965ae2ba6bda875a2e20559ee5301cd9e7356ef9ebfbff224ad818bf55b63a02b2205fa8ca0ea9516b2137e7ba61cd10a84bebb509f2659b57cb8d0531b788705b5450eaa480f1dd85eac99ffbda303ea23ed168c165d7eacdbfdab509f57d46459676dc13724d680e7b8c5ed5902c159f98b17b1070f74a066f1efa30748abd717518ca9d7d7f4484c2532e19e7a4c91fe2af093871ea0d088b9da7ce95fc7afbcf2fea55684fa70583139968ead50b2757615d8783ef47960b269844207e075aa4d30befa999df39762781157afdf81c8ec9f5f30558a2b8edfd2cff6fd0fc60b42aa00324ad3454de6aad0ec38746b9ba52046bee8267d5ad36119636ec5ee2f1da26f84acd4a22dee98913cf0f99f62c8aeae9fcb4574bbbfb9daee89a85de5ca90a41ea161d5e2ae21efa1e5e1aef4e80ec8addf587da9dfb4ba11251f1df905cba689fdb3705cbee2d5c1676f6a3955d64b77e62acb61a4d04690637998dd9df3b543d9e89abae51d35cff31617e3f276c1e59388113c80da4f9e22c98566aaf88c22a1301cc4cacaccda28dcb5a7596153f955b1567201e285fee6b47bcdbbe254f8fed19e872966feff85a07a008173c66a42a681cc129b6d9dbe6f1801437e501dd89be8be1f0bc22815e0e90c6c2383a7fa647a21a56da25e44c5b0a018473efe705df6460b1df7a8071de59fbaef874b02014c8e065d657788261227c4368ec6ad3221953e3d75237e19702b1bdededef216eb225d89b1ba8c84a68569e491adb4c2894fa6971c1caff9f40bfda2df2ca5af7419c038a7b65adbce8a88dde3aa572a3d67bec9f29c714b78e5576e342d03bc392f99b2873f57f0d51864fc83e3fd891cd0bb8323585df1ecffcd2cb375360e861c46da78a9602e481dee8f17bc8aba4a24bafc706c7f3d5e44220b97a28c66acd5952de645613e81fab603b963072e00030bf19038f2d0d858e43808a277abbd9c227a0646d3e9f9d16e52aafb40d39e4a920fe4606f1858a31904756f8278f2eaadc2131ac3ed084a99060b6b9c42a0af64870c2caad6b3db90bbce4daf50e6a0108807476fb6dad88e50460c4582598db79cec02d84aab884dacbecdcb2692d40eb27f7d13e3c3cd6bcad9786ce5be5daa7ed1518a0e4d8324c914e727d0416922769e091c75f536a60dd52a0ffaed5ab49114d02ab66763bacf9ccbd0c47500d8d82d51526f6a8697c6f2e101a5da27b82aff7838f763adc7139c4f396244cc8a8671bcf0abd7a790713b64d71bf1344e268c5e9b0f13301ca72ce704f85419d9651da57b9d26640fc8858565fcc36bc87aef4db4db77e7c0f17b9f9dd28fb4d3529203a29bae665ca98bd28b026692b96849f96cebddfc4830484e7352101f14e1ae1729f48f03aba537269f9f3dcdb57aac3be7799461abfd0f511ce2b4a291ea85e2d116a47fcde5a4cd1"}) (async) rename(&(0x7f00000053c0)='./file0\x00', &(0x7f0000005400)='./file2\x00') (async) faccessat(0xffffffffffffff9c, &(0x7f0000005440)='./file3\x00', 0x0, 0x0) (async) ioctl$WSMUXIO_ADD_DEVICE(r5, 0x80085761, &(0x7f0000005480)={0x1, 0x9}) 268.087588ms ago: executing program 3 (id=12): setuid(0xffffffffffffffff) r0 = getpgrp() getresuid(&(0x7f0000000080), &(0x7f0000000040)=0x0, &(0x7f00000000c0)) r2 = socket$inet(0x2, 0x3, 0x2) openat$bpf(0xffffffffffffff9c, &(0x7f0000000300), 0x2, 0x0) r3 = openat$pf(0xffffffffffffff9c, &(0x7f0000000340), 0x80, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) ioctl$DIOCGETRULESETS(r3, 0xc444443a, &(0x7f0000000380)={0x9, './file0\x00', './file0\x00'}) setsockopt(r2, 0x0, 0x6a, 0x0, 0x0) mknod(&(0x7f0000000180)='./file0\x00', 0x2000, 0x672) r4 = socket$inet(0x2, 0x2, 0x0) connect$inet(r4, &(0x7f00000008c0)={0x10, 0x2, 0x1, 0xbe4}, 0x4) r5 = open(&(0x7f00000001c0)='./file0\x00', 0x200, 0x69) socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000800)={0xffffffffffffffff, 0xffffffffffffffff}) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000840)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) ioctl$FIOASYNC(r6, 0x80206916, &(0x7f0000000880)=0x7ff) ioctl$FIONREAD(r5, 0x4004667f, &(0x7f0000000200)) fstat(0xffffffffffffffff, &(0x7f0000000100)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) chown(&(0x7f0000000240)='./file1\x00', r1, r7) r8 = semget$private(0x0, 0x1, 0x62) getgroups(0x7, &(0x7f0000000000)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) semctl$IPC_SET(r8, 0x0, 0x1, &(0x7f0000000280)={{0xffffffffffffffff, r10, 0x0, r11, 0x146, 0x7ffa, 0xfffffffffffffff7}, 0x0, 0x4, 0x0, 0x0, 0x8, 0x0, 0x4000005c}) setresgid(r9, r12, 0x0) setgroups(0xfffffffffffffe65, 0x0) seteuid(0xffffffffffffffff) semctl$SETVAL(r8, 0x3, 0x8, 0x0) setsid() kill(r0, 0x13) 267.081132ms ago: executing program 5 (id=6): mkfifo(&(0x7f00000020c0)='./file0\x00', 0xa2) (async, rerun: 64) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x4828a, 0x80) (rerun: 64) pwritev(r0, &(0x7f0000000080)=[{0x0}], 0x100000000000013f, 0xfffffffffffffffe) bind$unix(r0, &(0x7f0000000100)=@abs={0x4, 0x1, 0x0, 0x0}, 0x8) (async) socket$inet6(0x18, 0x1003, 0x7) connect$inet6(0xffffffffffffffff, &(0x7f0000000000)={0x1c, 0x18, 0x2, 0x0, "9ecceb6e3b371a54334607f5822a1fc9", 0xc}, 0x1c) (async) open(&(0x7f0000000180)='./file0\x00', 0x7c6, 0x0) ktrace(&(0x7f00000000c0)='./file0\x00', 0x1, 0x200, 0x0) 266.768505ms ago: executing program 7 (id=13): mlock(&(0x7f0000c00000/0x400000)=nil, 0x400000) mknod(&(0x7f0000000000)='./file0\x00', 0x2050, 0x674) r0 = open(&(0x7f0000000840)='./file0\x00', 0x100, 0xa) ioctl$DRM_IOCTL_MODE_MAP_DUMB(r0, 0xc01064b3, &(0x7f00000006c0)={0x0}) ioctl$DRM_IOCTL_MODE_CURSOR(r0, 0xc01c64a3, &(0x7f0000000700)={0x2, 0xfffffffe, 0xa, 0x4, 0x401, 0xcbb, r1}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) sendmsg(0xffffffffffffffff, &(0x7f0000000800)={0x0, 0x0, 0x0, 0x0, 0x0, 0x10}, 0x402) r2 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000740), 0x40000, 0x0) ioctl$DRM_IOCTL_GEM_FLINK(r2, 0xc008640a, &(0x7f0000000780)) sysctl$net_inet_udp(&(0x7f0000000540)={0x4, 0x2, 0x11, 0x2}, 0x4, &(0x7f0000000580)="7291d611d9a61ce933b72eb3e752def992192cf7dfb5c9d440fc6016c5ec6a0f8064fbd3ef2c963771cfd3eb77486d1cf14affe443beb71e9717c804f58f023093a2a38316aa509dc61ed764a646202f11143d090a52120411feac6ef18a98ab59490f145a0e", &(0x7f0000000600)=0x66, 0x0, 0x0) sysctl$kern(&(0x7f0000000640)={0x1, 0x37}, 0x2, 0x0, 0x0, 0x0, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$net_inet_icmp(&(0x7f0000000680)={0x4, 0x2, 0x1, 0x5}, 0x4, 0x0, 0x0, 0x0, 0x0) ioctl$TIOCSETA(r0, 0x80047466, &(0x7f0000000080)={0x3, 0x0, 0x519, 0x3, "450400000000000000704340880e1a5213513f4c", 0x2c1, 0x4}) ioctl$DIOCRCLRASTATS(r0, 0x80047470, &(0x7f00000000c0)={{'./file0\x00', './file0\x00', 0x2a}, 0x0, 0x6, 0x0, 0x7ff, 0x3, 0xffff, 0x10000, 0x48, 0xffffffff}) munlock(&(0x7f0000400000/0xc00000)=nil, 0xc00000) madvise(&(0x7f0000b4a000/0x400000)=nil, 0x400000, 0x6) 61.4995ms ago: executing program 6 (id=7): r0 = kqueue() socketpair(0x18, 0x4003, 0x2c, 0x0) kevent(r0, 0x0, 0x7, 0x0, 0x5, &(0x7f0000000080)={0x8000000000000000, 0xa4}) syz_emit_ethernet(0x243, &(0x7f0000000240)=ANY=[@ANYBLOB="aaaaaaaaaaaaaa03aaaaaaaa86dd6f75184a020d3a7c39bc48e57db8883fa6958273532df404fe8000000000000000000000000000aa02009078000000086a0e1d10ffff0281fe80000000020000ff010000000000aa"]) fcntl$lock(0xffffffffffffffff, 0x9, &(0x7f0000000200)={0x2, 0x0, 0x10000000000000, 0x100000001}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sysctl$kern(&(0x7f0000000400)={0x1, 0x17}, 0x7, 0x0, 0x0, 0x0, 0xfffffffffffffc47) seteuid(0xffffffffffffffff) r1 = semget$private(0x0, 0x2, 0xf90da3aaf0f192c0) r2 = geteuid() stat(&(0x7f00000000c0)='./file0\x00', &(0x7f0000000140)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) fstatat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', &(0x7f00000002c0)={0x0, 0x0, 0x0, 0x0, 0x0}, 0x1) getsockopt$SO_PEERCRED(0xffffffffffffffff, 0xffff, 0x1022, &(0x7f0000000340)={0x0, 0x0}, 0xc) r6 = socket$inet(0x2, 0x3, 0x2f) connect$inet(r6, &(0x7f0000000440)={0x10, 0x2, 0x3, 0xffffffff}, 0x10) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) sendmsg(r6, &(0x7f0000000480)={0x0, 0x0, 0x0, 0x0, 0x0}, 0x408) semctl$IPC_SET(r1, 0x0, 0x1, &(0x7f0000000380)={{r2, r3, r4, r5, 0x85, 0x5, 0x7fffffffffffffff}, 0x0, 0x70, 0x0, 0x0, 0x1840, 0x0, 0x8}) openat$zero(0xffffffffffffff9c, &(0x7f0000000100), 0x40, 0x0) rename(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)='./file0\x00') 0s ago: executing program 4 (id=5): mknod(&(0x7f0000000040)='./file0\x00', 0x2000, 0x5380) (async) r0 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0xcf) closefrom(r0) (async) r1 = getsid(0x0) (async) r2 = geteuid() setuid(r2) getsockopt$SO_PEERCRED(r0, 0xffff, 0x1022, &(0x7f0000000200)={0x0, 0x0}, 0xc) sendmsg$unix(r0, &(0x7f0000000280)={&(0x7f0000000000)=@abs={0x3, 0x0, 0x0, 0x3}, 0x8, &(0x7f00000001c0)=[{&(0x7f0000000080)="5dafe4c2ccc7be3f7745fa879929bdd25af93a2c1fac3f815171b932252c68e0a586c40c5512abe40122dc87d8763686b2499f6f9de4bf5ff619d6aca07487e9d2f3adae5857e9c348cffd4724aaa8b240f6424dbd435d2560a25983f42341c4b511d86434eed8213506e399b71126a65f5476bde3368af4a10fe71c7796ce112282de603eade3f3004f27ce6dbad3942680f2aff92580546bcf87f182d8ba6d60", 0xa1}, {&(0x7f0000000140)="a1636f65db7e", 0x6}], 0x2, &(0x7f0000000240)=[@cred={0x18, 0xffff, 0x0, r1, r2, r3}, @rights={0x20, 0xffff, 0x1, [r0, r0, r0, r0, r0]}], 0x38, 0x2}, 0x0) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.1.62' (ED25519) to the list of known hosts. KASAN: invalid read of 4 bytes at 0xffffffff850db034 from pc 0xffffffff83d58cec KASAN: first bad byte at 0xffffffff850db034 (+0); shadow 0xfa: global redzone (out-of-bounds) KASAN: 0xffffffff850db034 is 1428 bytes to the right of the 8160-byte global 'cdevsw' (/syzkaller/managers/kasan/kernel/sys/arch/amd64/amd64/conf.c) KASAN: pc: checkalias+0x64c KASAN: call trace: #0 __asan_load4_noabort+0x82 #1 checkalias+0x64c #2 ffs_vinit+0x240 #3 ffs_vget+0x7b4 #4 ufs_lookup+0x17de #5 VOP_LOOKUP+0xea #6 vfs_lookup+0xe55 #7 namei+0xcba #8 vn_open+0x267 #9 doopenat+0x51b #10 sys_open+0x86 #11 syscall+0x118e #12 Xsyscall+0x128 KASAN: shadow of 0xffffffff850daf00..0xffffffff850db180 (1 cell = 8 bytes): 0xffffffff850daf00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff850daf80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa >0xffffffff850db000: fa fa fa fa fa fa[fa]fa fa fa fa fa fa fa fa fa 0xffffffff850db080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff850db100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope panic: Caught invalid memory access at ffffffff850db034 size 4 op 0 Stopped at db_enter+0x17: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND 448716 45068 0 0 0 1 syz-executor *482906 82035 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x17 panic(ffffffff847b9457) at panic+0x296 __asan_load4_noabort(ffffffff850db034) at __asan_load4_noabort+0xa3 checkalias(ffff800001c92640,7762,ffff800000de5000) at checkalias+0x64c ffs_vinit(ffff800000de5000,ffff80002e692a20) at ffs_vinit+0x240 ffs_vget(ffff800000de5000,69f1,ffff80002e692c20) at ffs_vget+0x7b4 ufs_lookup() at ufs_lookup+0x17de VOP_LOOKUP(ffff800001c723a0,ffff80002e6934e0,ffff80002e693510) at VOP_LOOKUP+0xea vfs_lookup(ffff80002e6934b0) at vfs_lookup+0xe55 namei(ffff80002e6934b0) at namei+0xcba vn_open(ffff80002e6934b0,21,0) at vn_open+0x267 doopenat(ffff8000298b9770,ffffff9c,200000000380,20,0,0,ffff80002e693820) at doopenat+0x51b sys_open(ffff8000298b9770,ffff80002e693820,ffff80002e693780) at sys_open+0x86 syscall(ffff80002e693820) at syscall+0x118e end trace frame: 0xffff80002e6938a0, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: Caught invalid memory access at ffffffff850db034 size 4 op 0 ddb{0}> show kasan KASAN: invalid read of 4 bytes at 0xffffffff850db034 from pc 0xffffffff83d58cec KASAN: first bad byte at 0xffffffff850db034 (+0); shadow 0xfa: global redzone (out-of-bounds) KASAN: 0xffffffff850db034 is 1428 bytes to the right of the 8160-byte global 'cdevsw' (/syzkaller/managers/kasan/kernel/sys/arch/amd64/amd64/conf.c) KASAN: pc: checkalias+0x64c KASAN: call trace: #0 __asan_load4_noabort+0x82 #1 checkalias+0x64c #2 ffs_vinit+0x240 #3 ffs_vget+0x7b4 #4 ufs_lookup+0x17de #5 VOP_LOOKUP+0xea #6 vfs_lookup+0xe55 #7 namei+0xcba #8 vn_open+0x267 #9 doopenat+0x51b #10 sys_open+0x86 #11 syscall+0x118e #12 Xsyscall+0x128 KASAN: shadow of 0xffffffff850daf00..0xffffffff850db180 (1 cell = 8 bytes): 0xffffffff850daf00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff850daf80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa >0xffffffff850db000: fa fa fa fa fa fa[fa]fa fa fa fa fa fa fa fa fa 0xffffffff850db080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff850db100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff847b9457) at panic+0x296 __asan_load4_noabort(ffffffff850db034) at __asan_load4_noabort+0xa3 checkalias(ffff800001c92640,7762,ffff800000de5000) at checkalias+0x64c ffs_vinit(ffff800000de5000,ffff80002e692a20) at ffs_vinit+0x240 ffs_vget(ffff800000de5000,69f1,ffff80002e692c20) at ffs_vget+0x7b4 ufs_lookup() at ufs_lookup+0x17de VOP_LOOKUP(ffff800001c723a0,ffff80002e6934e0,ffff80002e693510) at VOP_LOOKUP+0xea vfs_lookup(ffff80002e6934b0) at vfs_lookup+0xe55 namei(ffff80002e6934b0) at namei+0xcba vn_open(ffff80002e6934b0,21,0) at vn_open+0x267 doopenat(ffff8000298b9770,ffffff9c,200000000380,20,0,0,ffff80002e693820) at doopenat+0x51b sys_open(ffff8000298b9770,ffff80002e693820,ffff80002e693780) at sys_open+0x86 syscall(ffff80002e693820) at syscall+0x118e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39d848e49d0, count: -15 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e692690 rbx 0xdfff908000000004 rdx 0 rcx 0xffffffff852a3ff0 cpu_info_full_primary+0x1ff0 rax 0xffff800000150400 r8 0xffffffff r9 0 r10 0xffff80002e692418 r11 0xffffffff83e08210 x86_bus_space_io_read_1 r12 0xffffffff852a4e0f cpu_info_full_primary+0x2e0f r13 0xffffffff852a4c10 cpu_info_full_primary+0x2c10 r14 0x1ffff00005cd24dc r15 0x1 rip 0xffffffff833784b7 db_enter+0x17 cs 0x8 rflags 0x246 rsp 0xffff80002e692690 ss 0x10 db_enter+0x17: popq %rbp ddb{0}> show proc PROC (syz-executor) tid=482906 pid=82035 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=68, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000298b8018,0xffff8000298b87f0 process=0xffff80003bb1cea8 user=0xffff80002e688000, vmspace=0xffff800001be85e0 estcpu=18, cpticks=18, pctcpu=0.0, user=0, sys=18, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 45068 448716 82970 0 7 0 0 syz-executor 35366 381374 32498 0 2 0 0 syz-executor 35366 70287 32498 0 3 0 0x4000080 fsleep syz-executor 2986 16961 24831 0 2 0 0 syz-executor 2986 142664 24831 0 3 0 0x4000080 fsleep syz-executor 20440 179642 95002 0 2 0 0xc80 syz-executor 20440 348373 95002 0 3 0 0x4000080 fsleep syz-executor 20440 395803 95002 0 2 0 0x4000000 syz-executor 20440 258983 95002 0 3 0 0x4000080 fsleep syz-executor 74621 318486 32947 -1 2 0x10 0 syz-executor 74621 222018 32947 -1 3 0x10 0x4000080 fsleep syz-executor 64443 487339 3436 0 2 0 0 syz-executor 64443 366715 3436 0 3 0 0x4000080 fsleep syz-executor 64443 330429 3436 0 3 0 0x4000080 fsleep syz-executor 64443 211885 3436 0 3 0 0x4000080 fsleep syz-executor 64443 510384 3436 0 2 0 0x4000000 syz-executor 82035 168022 17397 0 2 0 0 syz-executor *82035 482906 17397 0 7 0 0x4000000 syz-executor 11396 455815 11949 0 2 0x2 0 syz-executor 24831 280123 11949 0 2 0x2 0xc80 syz-executor 32498 43105 11949 0 2 0x2 0xc80 syz-executor 95002 80027 11949 0 2 0x2 0xc80 syz-executor 82970 137389 11949 0 2 0x2 0xc80 syz-executor 32947 191366 11949 0 2 0x2 0xc80 syz-executor 3436 494842 11949 0 2 0x2 0xc80 syz-executor 17397 521460 11949 0 2 0x2 0xc80 syz-executor 11949 267949 57027 0 3 0x2 0x80 kqread syz-executor 57027 71905 1136 0 3 0x100002 0x88 sigsusp ksh 1136 503713 24178 0 3 0x10 0x88 kqread sshd-session 24178 467830 49171 0 3 0x12 0x80 kqread sshd-session 34229 86664 1 0 2 0x100003 0x80 getty 49171 10821 1 0 3 0 0x88 kqread sshd 21671 355171 79274 74 3 0x1100012 0x80 bpf pflogd 79274 159778 1 0 3 0 0x80 sbwait pflogd 70747 237272 71980 73 2 0x1100010 0x80 syslogd 71980 501178 1 0 3 0x100002 0x80 sbwait syslogd-parent 87441 305537 1 0 3 0x100000 0x80 kqread resolvd 32129 292367 38719 77 3 0x100012 0x80 kqread dhcpleased 17617 358371 38719 77 3 0x100012 0x80 kqread dhcpleased 38719 57595 1 0 3 0 0x80 kqread dhcpleased 31396 316942 0 0 2 0x14000 0x200 smr 36831 523764 0 0 2 0x14000 0x200 zerothread 87582 243343 0 0 3 0x14000 0x200 aiodoned aiodoned 24710 512024 0 0 3 0x14000 0x200 syncer update 17446 415190 0 0 3 0x14000 0x200 cleaner cleaner 57754 331396 0 0 3 0x14000 0x200 reaper reaper 47755 169733 0 0 3 0x14000 0x200 pgdaemon pagedaemon 15533 355838 0 0 3 0x14000 0x200 bored viomb 47216 120738 0 0 3 0x14000 0x40000200 acpi0 acpi0 43560 313434 0 0 3 0x14000 0x40000200 idle1 88933 94687 0 0 3 0x14000 0x200 bored softnet1 33537 118463 0 0 2 0x14000 0x200 softnet0 50121 215792 0 0 3 0x14000 0x200 smrbar systqmp 46355 9693 0 0 3 0x14000 0x200 bored systq 36902 415531 0 0 2 0x14000 0x200 softclockmp 17487 442963 0 0 2 0x14000 0x40000200 softclock 46680 498228 0 0 3 0x14000 0x40000200 idle0 1 95688 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 82035 (syz-executor) thread 0xffff8000298b9770 (482906) exclusive rrwlock inode r = 0 (0xffff800001b33910) #0 witness_lock+0x534 #1 rw_do_enter_write+0x4e4 #2 rrw_enter+0xf5 #3 VOP_LOCK+0x186 #4 ufs_ihashins+0xdc #5 ffs_vget+0x2fc #6 ufs_lookup+0x17de #7 VOP_LOOKUP+0xea #8 vfs_lookup+0xe55 #9 namei+0xcba #10 vn_open+0x267 #11 doopenat+0x51b #12 sys_open+0x86 #13 syscall+0x118e #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xffff800001b33220) #0 witness_lock+0x534 #1 rw_do_enter_write+0x4e4 #2 rrw_enter+0xf5 #3 VOP_LOCK+0x186 #4 vn_lock+0xba #5 vfs_lookup+0x1da #6 namei+0xcba #7 vn_open+0x267 #8 doopenat+0x51b #9 sys_open+0x86 #10 syscall+0x118e #11 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff85644b80) #0 witness_lock+0x534 #1 doopenat+0x4f7 #2 sys_open+0x86 #3 syscall+0x118e #4 Xsyscall+0x128 Process 50121 (systqmp) thread 0xffff800045ffe000 (215792) shared rwlock systqmp r = 0 (0xffffffff85579ed8) #0 witness_lock+0x534 #1 taskq_thread+0x1da #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11054 12244K 12394K 166960K 12145 0 pcb 21 24K 24K 166960K 21 0 rtable 271 27K 28K 166960K 341 0 pf 36 26K 26K 166960K 47 0 ifaddr 43 12K 12K 166960K 45 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 1 1K 13K 166960K 5 0 counters 70 42K 42K 166960K 70 0 ioctlops 14 12K 197K 166960K 1491 0 iov 0 0K 8K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1338 86K 86K 166960K 1406 0 UFS quota 1 36K 36K 166960K 1 0 UFS mount 5 44K 44K 166960K 5 0 shm 2 2K 2K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 5 1K 1K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 405K 166960K 12472 0 file desc 19 64K 117K 166960K 146 0 proc 126 131K 182K 166960K 555 0 subproc 80 10K 10K 166960K 80 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 20K 20K 166960K 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 36K 36K 166960K 1 0 MSDOSFS mount 1 20K 20K 166960K 1 0 ttys 43 303K 303K 166960K 43 0 exec 35 8K 18K 166960K 387 0 fusefs mount 1 36K 36K 166960K 1 0 tdb 3 1K 1K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 587 365K 371K 166960K 3030 0 UVM aobj 3 4K 4K 166960K 3 0 pinsyscall 174 302K 384K 166960K 1282 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 28 2K 2K 166960K 28 0 temp 343 9365K 9474K 166960K 3461 0 kqueue 13 40K 84K 166960K 25 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 33 0 30 1 0 1 1 0 8 0 rtentry 176 111 0 12 5 0 5 5 0 8 0 unpcb 144 46 0 27 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 10 0 6 1 0 1 1 0 8 0 arp 136 18 0 2 1 0 1 1 0 8 0 inpcb 328 75 0 66 1 0 1 1 0 8 0 nd6 152 24 0 3 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 27 0 0 1 0 1 1 0 8 0 pfstkey 128 27 0 0 1 0 1 1 0 8 0 pfstate 448 27 0 0 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 44 26 0 26 26 0 8 0 art_table 40 454 0 44 5 0 5 5 0 8 0 art_node 32 111 0 20 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1585 0 107 93 0 93 93 0 8 0 ffsino 296 1585 0 107 114 0 114 114 0 8 0 nchpl 144 1793 0 81 64 0 64 64 0 8 0 vnodes 216 1715 0 0 96 0 96 96 0 8 0 namei 1024 6281 0 6280 3 2 1 2 0 8 0 percpumem 16 51 0 1 1 0 1 1 0 8 0 kstatmem 264 27 0 2 2 0 2 2 0 8 0 scxspl 216 6713 0 6713 3 2 1 2 1 8 1 plimitpl 152 31 0 14 1 0 1 1 0 8 0 sigapl 424 448 0 401 7 0 7 7 0 8 1 knotepl 120 50 0 0 2 0 2 2 0 8 0 kqueuepl 224 22 0 12 1 0 1 1 0 8 0 pipepl 344 132 0 104 3 0 3 3 0 8 0 fdescpl 528 432 0 401 3 0 3 3 0 8 0 filepl 160 1652 0 1358 13 0 13 13 0 8 0 lockfpl 104 8 0 6 1 0 1 1 0 8 0 lockfspl 48 5 0 3 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 100 0 86 1 0 1 1 0 8 0 zombiepl 144 401 0 401 2 1 1 1 0 8 1 processpl 1240 448 0 401 5 0 5 5 0 8 0 procpl 664 471 0 413 5 0 5 5 0 8 0 sockpl 752 155 0 124 4 0 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 122 0 0 16 0 16 16 0 8 0 mcl2k 2048 23 0 0 3 0 3 3 0 8 0 mextrefs 64 22 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 190 0 0 12 0 12 12 0 8 0 bufpl 272 2350 0 93 151 0 151 151 0 8 0 anonpl 32 4343 0 0 35 0 35 35 0 222 0 amapchunkpl 152 8375 0 7847 21 0 21 21 0 158 0 amappl16 200 1894 0 1878 5 4 1 5 0 8 0 amappl15 192 76 0 75 1 0 1 1 0 8 0 amappl14 184 414 0 413 1 0 1 1 0 8 0 amappl13 176 117 0 104 1 0 1 1 0 8 0 amappl12 168 703 0 673 2 0 2 2 0 8 0 amappl11 160 13 0 13 2 2 0 1 0 8 0 amappl10 152 82 0 70 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 113 0 112 1 0 1 1 0 8 0 amappl7 128 232 0 220 1 0 1 1 0 8 0 amappl6 120 119 0 117 1 0 1 1 0 8 0 amappl5 112 145 0 136 1 0 1 1 0 8 0 amappl4 104 292 0 273 1 0 1 1 0 8 0 amappl3 96 1516 0 1403 3 0 3 3 0 8 0 amappl2 88 438 0 385 2 0 2 2 0 8 0 amappl1 80 10238 0 9653 15 0 15 15 0 8 0 amappl 88 2347 0 2184 4 0 4 4 0 92 0 uvmvnodes 80 101 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 432 0 401 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 432 0 401 1 0 1 1 0 8 0 vmmpekpl 168 5335 0 5303 2 0 2 2 0 8 0 vmmpepl 168 37841 0 35985 88 3 85 87 0 357 3 vmsppl 488 431 0 401 6 1 5 5 0 8 1 rwobjpl 80 14460 0 13475 25 1 24 25 0 8 1 pdppl 4096 872 0 802 94 12 82 86 0 8 12 pvpl 32 11208 0 0 92 1 91 91 0 265 0 pmappl 256 431 0 401 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 120 417 0 19 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff847b9457) at panic+0x296 __asan_load4_noabort(ffffffff850db034) at __asan_load4_noabort+0xa3 checkalias(ffff800001c92640,7762,ffff800000de5000) at checkalias+0x64c ffs_vinit(ffff800000de5000,ffff80002e692a20) at ffs_vinit+0x240 ffs_vget(ffff800000de5000,69f1,ffff80002e692c20) at ffs_vget+0x7b4 ufs_lookup() at ufs_lookup+0x17de VOP_LOOKUP(ffff800001c723a0,ffff80002e6934e0,ffff80002e693510) at VOP_LOOKUP+0xea vfs_lookup(ffff80002e6934b0) at vfs_lookup+0xe55 namei(ffff80002e6934b0) at namei+0xcba vn_open(ffff80002e6934b0,21,0) at vn_open+0x267 doopenat(ffff8000298b9770,ffffff9c,200000000380,20,0,0,ffff80002e693820) at doopenat+0x51b sys_open(ffff8000298b9770,ffff80002e693820,ffff80002e693780) at sys_open+0x86 syscall(ffff80002e693820) at syscall+0x118e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39d848e49d0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1f: addq $0x8,%rsp x86_ipi_db(ffff800028f93ff0) at x86_ipi_db+0x1f x86_ipi_handler() at x86_ipi_handler+0xfd Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff85644380) at __mp_lock+0x272 syscall(ffff8000362b7ef0) at syscall+0x10c1 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767e03ceb530, count: 9 ddb{1}> trace x86_ipi_db(ffff800028f93ff0) at x86_ipi_db+0x1f x86_ipi_handler() at x86_ipi_handler+0xfd Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff85644380) at __mp_lock+0x272 syscall(ffff8000362b7ef0) at syscall+0x10c1 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767e03ceb530, count: -6