last executing test programs: 1.383862371s ago: executing program 0 (id=1): socket$inet(0x2, 0x2, 0x0) ioctl$WSDISPLAYIO_USEFONT(0xffffffffffffffff, 0x80585750, &(0x7f0000000140)={'./file0\x00', 0x2, 0x1800c1, 0xf, 0x0, 0x104280b, 0x40, 0x5, 0x1, 0x0, 0x8, 0xf5fffffffffffff9}) poll(0x0, 0x0, 0x0) recvmsg(0xffffffffffffffff, 0x0, 0x40) r0 = socket(0x18, 0x3, 0x0) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r1 = socket(0x18, 0x3, 0x0) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) setitimer(0x1, 0x0, 0x0) ioctl$FIONREAD(r0, 0x8080691a, &(0x7f0000000100)) 1.297649576s ago: executing program 0 (id=9): r0 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000000), 0x80, 0x0) ioctl$WSKBDIO_GETDEFAULTKEYREPEAT(r0, 0x400c570a, &(0x7f0000000040)) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000100), 0x100, 0x0) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x87, 0xf, 0xa, 0x5}, {0x3c, 0x3, 0x0, 0x80001000}, {0x6, 0x2, 0x1}]}) syz_emit_ethernet(0x1000e, &(0x7f00000015c0)=ANY=[]) ioctl$WSKBDIO_GETKEYREPEAT(r0, 0x400c5708, &(0x7f0000000080)) r2 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000100), 0x20000, 0x0) ioctl$WSKBDIO_GETBACKLIGHT(r2, 0x400c5711, &(0x7f00000000c0)) openat$wskbd(0xffffffffffffff9c, &(0x7f0000000000), 0x80, 0x0) (async) ioctl$WSKBDIO_GETDEFAULTKEYREPEAT(r0, 0x400c570a, &(0x7f0000000040)) (async) openat$bpf(0xffffffffffffff9c, &(0x7f0000000100), 0x100, 0x0) (async) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) (async) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000000)={0x3, &(0x7f0000000080)=[{0x87, 0xf, 0xa, 0x5}, {0x3c, 0x3, 0x0, 0x80001000}, {0x6, 0x2, 0x1}]}) (async) syz_emit_ethernet(0x1000e, &(0x7f00000015c0)=ANY=[]) (async) ioctl$WSKBDIO_GETKEYREPEAT(r0, 0x400c5708, &(0x7f0000000080)) (async) openat$wskbd(0xffffffffffffff9c, &(0x7f0000000100), 0x20000, 0x0) (async) ioctl$WSKBDIO_GETBACKLIGHT(r2, 0x400c5711, &(0x7f00000000c0)) (async) 125.010575ms ago: executing program 1 (id=2): r0 = accept$inet(0xffffffffffffffff, &(0x7f0000000000), &(0x7f0000000040)=0x10) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}) bind$unix(r1, &(0x7f00000000c0)=@file={0x4, 0x1, './file0\x00'}, 0xa) connect(r1, &(0x7f0000000000)=@un=@file={0x9, 0x1, './file0\x00'}, 0xa) socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000004c0)={0xffffffffffffffff}) connect$unix(r3, &(0x7f0000000080)=@file={0x87, 0x1, './file0\x00'}, 0xa) socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000004c0)={0xffffffffffffffff}) connect$unix(r2, &(0x7f0000000140)=@file={0x4, 0x1, './file0\x00'}, 0xa) connect$unix(r4, &(0x7f0000000080)=@file={0x87, 0x1, './file0\x00'}, 0xa) close(0x3) setsockopt$inet_opts(r0, 0x0, 0x0, &(0x7f0000000080)="45fa07143551fa4d25049e443a17e4744e3bade7fdd16cf649a68d1ea3abc5f54cd266065324ad76b4c855e741ef66582f311d8ddb80d5273af4e534360cfa6b87ec2aee2b363bdc0d5ecb1f9e6dbdc51dc22d76bfbe4d7c5b767302e62d96581411215ba4a11dd82b22ef716af36bd1f96b921922b073d68c03d9b279a15419b95fcf164d6b8415a00ccff9ffa1b4fba85971cceab7a7789b75a84d309cd9a3d18994fb930815d5e48f57852b3292e7c604f9", 0xc7) 114.189218ms ago: executing program 3 (id=4): r0 = socket$inet(0x2, 0x4000, 0x40) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x800, 0x0) ioctl$BIOCSETIF(r1, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(r1, 0x80104267, &(0x7f0000000c00)={0x3, &(0x7f0000000040)=[{0x4c, 0xd8, 0x0, 0x70b}, {0x2, 0xa3, 0x1, 0x5}, {0xc26, 0xff, 0xe, 0x6}]}) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(0xffffffffffffff9c, 0xc00c642d, &(0x7f0000000000)={0x5cd, 0x70, r0}) ioctl$BIOCGDLTLIST(r2, 0xc010427b, &(0x7f0000000100)={0x4, &(0x7f0000000080)=[0x1, 0x2, 0x7fffffff, 0x2]}) syz_emit_ethernet(0x1000e, &(0x7f00000015c0)=ANY=[]) shutdown(r0, 0x0) sendto$inet(r0, 0x0, 0x0, 0xa, &(0x7f00000002c0)={0x10, 0x2, 0x2, 0xffffffff}, 0x10) 6.833476ms ago: executing program 0 (id=10): syz_emit_ethernet(0x10004, &(0x7f0000000000)=ANY=[@ANYBLOB="aaaaaaaaaaaa00000000080086dd60db8344ffb10608feff0000010000ff80f144000020080000000000000002b8eddb001500000000008ff954af4e2209189078037f3cd254"]) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f00000001c0)={'tap', 0x0}) r0 = socket$unix(0x1, 0x2, 0x0) ioctl$FIONREAD(r0, 0xc02069a0, &(0x7f00000001c0)) sysctl$kern(&(0x7f0000000000)={0x1, 0xa}, 0x2, &(0x7f0000000180)="5f2a1ff1", &(0x7f00000000c0)=0x4, &(0x7f0000001180), 0x1d) r1 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x200, 0x0) pread(r1, &(0x7f00000000c0)="ed436e7140ba2af0a317741ea80d21a3e844c1f6dbdf90a9fb0fbead5fb4b787bd350a5c909cec2db75dd9106f2c4227f55c58f3e3996043d63553a6233f72ba5f85132b4cb8cdecaac2e8ed06c99cfcf76fbc3ed51f89b170d4fe4042eebdbcc02100a697d00cfbc5fac657e8ca6ce466a0efb35a819c021a31c56946ddc99feb7751178e8b9cb80670e04057cc", 0x8e, 0x3) 6.085569ms ago: executing program 0 (id=11): mknod(&(0x7f0000000040)='./bus\x00', 0x2000, 0x205310) open(&(0x7f0000000040)='./bus\x00', 0x200, 0xaf) ioctl$WSMOUSEIO_SCALIBCOORDS(0xffffffffffffffff, 0x81205724, &(0x7f0000000100)={0x8, 0xa6, 0x3, 0x8, 0x80000001, 0xd056d8b9, 0x10001, 0x10, [{0xfffffffc, 0x2890, 0x4, 0x5}, {0x6, 0x9, 0x8, 0xfffffff9}, {0x1, 0xfffffffa, 0xfffffffc, 0x9}, {0x4, 0x800, 0x8007, 0x7}, {0x401, 0x3, 0x2800, 0x7}, {0x1, 0x4, 0x3, 0x9b}, {0xce1, 0xffffffff, 0x4f8, 0x10000}, {0x6, 0x803, 0x3, 0x7}, {0xd0f5, 0x82, 0x4, 0x9}, {0x1006a75, 0x8009, 0x1000, 0x1}, {0x1cc, 0x10001, 0xc, 0x3}, {0x7, 0xa, 0x8}, {0x3, 0x7, 0x6, 0x1}, {0x6, 0xfffffffa, 0x60, 0x6}, {0x1000b, 0x5, 0x5, 0x4}, {0x0, 0x1, 0xfff, 0x30004}]}) poll(&(0x7f0000000000)=[{}], 0x20000000000000fe, 0x0) kqueue1(0x8) setuid(0xffffffffffffffff) r0 = socket(0x18, 0x2, 0x0) setsockopt(r0, 0x1000000029, 0x23, 0x0, 0x0) socket$inet(0x18, 0x3, 0x102) r1 = open(&(0x7f0000000040)='./file0\x00', 0x9cab835cfdc52675, 0x21) close(r1) fchown(r1, 0x0, 0x0) ioctl$TIOCSETA(r1, 0x802c7414, &(0x7f0000000080)={0xb977, 0x3, 0x7, 0x4, "49cf484832a338b79bcd9b538dfa913ae272086f", 0x4, 0x2}) mknod(&(0x7f00000000c0)='./bus\x00', 0x2006, 0x4f4b) acct(&(0x7f0000000000)='./bus\x00') syz_emit_ethernet(0x61, &(0x7f0000000000)={@local, @empty, [], {@ipv4={0x800, {{0x7, 0x4, 0x0, 0x1, 0x53, 0x64, 0x0, 0x0, 0x2, 0x0, @remote={0xac, 0x14, 0x0}, @remote={0xac, 0x14, 0x0}, {[@noop, @noop, @ra={0x94, 0x4, 0x6}]}}, @tcp={{0x1, 0x1, 0x41424344, 0x41424344, 0x1, 0x0, 0x5, 0x8, 0xfffe, 0x0, 0xa}, {"10ed4b51c99e2b72e5d8664d104e9e07ec6c29720dacfaf6bda0d5967bb4d05d27fe4d"}}}}}}) 4.587236ms ago: executing program 5 (id=6): r0 = openat$diskmap(0xffffffffffffff9c, &(0x7f0000000000), 0x80, 0x0) r1 = openat$pf(0xffffffffffffff9c, &(0x7f0000000080), 0x2, 0x0) ioctl$DIOCMAP(r0, 0xc0106477, &(0x7f00000000c0)={&(0x7f0000000040)='./file0\x00', r1}) r2 = openat$pf(0xffffffffffffff9c, &(0x7f0000000100), 0x40000, 0x0) ioctl$DIOCRCLRASTATS(r2, 0xc4504448, &(0x7f0000000340)={{'./file0\x00', './file0\x00', 0x50, 0xb}, &(0x7f0000000140)=[{@multicast2, '\x00', './file1\x00', 0x0, 0x4, 0x1, 0x3a, 0xff, 0x40, 0x1}, {@rand_addr=0xfffffff7, '\x00', './file0\x00', 0x1, 0x5, 0x18, 0x4, 0x8, 0xfe, 0x1}, {@loopback, '\x00', './file0\x00', 0x2, 0xfff9, 0x0, 0x4, 0x4, 0x4, 0x1}, {@multicast2, '\x00', './file0\x00', 0x33, 0x8000, 0x2, 0x1, 0x3, 0x2, 0x3}, {@empty, '\x00', './file0\x00', 0x8, 0x9, 0x14, 0x2, 0x5}, {@empty, '\x00', './file1\x00', 0x6, 0x3ff, 0x0, 0x2, 0x1, 0xf, 0x2}, {@multicast2, '\x00', './file0\x00', 0x7, 0x81, 0x0, 0x7f, 0x9, 0x1}, {@empty, '\x00', './file0\x00', 0x834, 0x87, 0x1a, 0x41, 0xf2, 0x9, 0x8}, {@broadcast, '\x00', './file0\x00', 0x400, 0x4, 0x18, 0xff, 0x2, 0x4, 0x8}], 0x0, 0x9, 0x5, 0x8, 0x6, 0x418, 0x10, 0x4}) r3 = openat$wsdisplay(0xffffffffffffff9c, &(0x7f00000007c0), 0x220, 0x0) ioctl$WSDISPLAYIO_GTYPE(r3, 0x40045740, &(0x7f0000000800)) ioctl$WSDISPLAYIO_GTYPE(r3, 0x40045740, &(0x7f0000000840)) openat$pf(0xffffffffffffff9c, &(0x7f0000000880), 0x200, 0x0) futimens(r1, &(0x7f00000008c0)=[{0xc, 0x2}, {0x800, 0x6}]) socketpair$unix(0x1, 0x0, 0x0, &(0x7f0000000900)={0xffffffffffffffff, 0xffffffffffffffff}) getsockopt$SO_PEERCRED(r4, 0xffff, 0x1022, &(0x7f0000000940)={0x0, 0x0, 0x0}, 0xc) pipe(&(0x7f0000000980)={0xffffffffffffffff, 0xffffffffffffffff}) r9 = openat$bpf(0xffffffffffffff9c, &(0x7f00000009c0), 0x400, 0x0) ioctl$BIOCSHDRCMPLT(r9, 0x80044275, &(0x7f0000000a00)=0x1) fstatat(r7, &(0x7f0000000a40)='./file0\x00', &(0x7f0000000a80)={0x0, 0x0, 0x0, 0x0, 0x0}, 0x2) fchown(r8, r10, r6) chmod(&(0x7f0000000b00)='./file1\x00', 0x0) r11 = openat$dri(0xffffffffffffff9c, &(0x7f0000000b40)='/dev/dri/renderD128\x00', 0x40000, 0x0) fcntl$setown(r11, 0x6, r5) r12 = accept4(r4, &(0x7f0000000b80)=@in, &(0x7f0000000bc0)=0x10, 0xa000) sendmmsg(r12, &(0x7f0000000d80)={{0x0, 0x0, &(0x7f0000000cc0)=[{&(0x7f0000000c00)="42556d393ea9fed0fd29b52b5740859599a9b9c9ff075f836427bdc7c771aafdf629342f57d8b7ad169467021e393138446db334e400c7c4afe4a44a26815d54f2461698b4152cbc8f95dc11b2861ae01957e0056b3a18005d2742e45089c3fec3eee48268deff9ed432ba4a016d566323de9c62596bf015ed085fd686d61da388b7663bfc9d5ca9e66c608186d250cf348c2d3b0791a81e0b156f287af348e4318c5fbb57141ead5df127c95ba0e8a80377a983429a92d30061d144fc", 0xbd}], 0x1, &(0x7f0000000d00)=[{0x80, 0xffff, 0x97, "646da35e4e1b04adeff04ecedca9539c58aa962a775e747951288d2a5241d4ba0f13c7e1ea17ac5d9c7e845f509d4d9f48d084084df20754b898549b57d31d6ec00beef958ab1f0ee3dad85e198d8c0e291cdd7438c7f6be0f61484b05dc20837b6ff2cb56bc0f6868b0f11ae5d24c34bf2c"}], 0x80}}, 0x38, 0x4) futimes(r4, &(0x7f0000000dc0)=[{0x7fffffffffffffff, 0x2b9}, {0x3, 0x401}]) getsockopt$sock_cred(r4, 0xffff, 0x1022, &(0x7f0000000e00), &(0x7f0000000e40)=0xc) kqueue() ioctl$AUDIO_GETSTATUS_ctl(r7, 0x40204128, &(0x7f0000000e80)) r13 = accept4(r7, &(0x7f0000000ec0)=@in, &(0x7f0000000f00)=0x10, 0x0) ioctl$DRM_IOCTL_MODE_GETRESOURCES(r13, 0xc04064a0, &(0x7f0000001040)={&(0x7f0000000f40)=[0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000000f80)=[0x0, 0x0, 0x0, 0x0, 0x0], &(0x7f0000000fc0)=[0x0, 0x0, 0x0], &(0x7f0000001000)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0], 0x5, 0x5, 0x3, 0x6, 0x0, 0x6, 0x2, 0xfffffffc}) flock(r3, 0x7) sysctl$net_inet_tcp(&(0x7f0000001080)={0x4, 0x2, 0x6, 0x2}, 0x4, &(0x7f00000010c0)="f28111c2ef9de510614efac44a681da17a240abfcf33389bcc116420200dfd888064c57e36752fc7864008fccb2b09eb9efd325dfa652ad3d2594baea2dd6eae223dcf40f13854c445fa1a5803c27ee8c978ce66ca26099b355c004fca681ed36b7a54a388dc1dffe53393fa492f7087d1da1db10b467a039d638ff1ef766ce43783a50cb7951a14d9a5399d504847aac965193380edee07c8037dd75429f39e3d8792097dc9e7a20dfdb3ff16cfd5d2288dba1421829533265d1ff53ef0833f45ede1c9ae71d930343260c24e9492a365f16a4e21df638c66381f1596a3928151300aea124c2db566bd", &(0x7f00000011c0)=0xea, &(0x7f0000001200)="08e86b513732ee60859d9e8a849ed81e027e6ebc16e148317ff5076ae798a7b6fbae64e6caf6f37bfda067756ca8213c8fe7fc1b0db2c346ddbbde67a4372082de41848a4549f5d9705fe4002f8cde349d6d58425b8179ff1319c321282757f579c658b967479e66b2a5edd2256c9ad77d8efb9059b97e7683a51ababb50ec170866a4f082a1968f30d59839ceebce669e3093bfd3755d2a545ede75c2a97e7c84950115f8ddd3ad542a7621f13e7a70cbc21abc316ff08f5656b7ba1e63a9a15eb2cb3084fa17313a6eb316210048e9d7d77e1c56", 0xd5) 3.858301ms ago: executing program 0 (id=12): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000000c0), 0x8, 0x0) r1 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCLOCK(r1, 0x20004276) ioctl$BIOCGDLTLIST(r0, 0xc010427b, &(0x7f0000000180)={0x0, 0x0}) socket(0x16, 0x2, 0x0) 3.574565ms ago: executing program 7 (id=8): syz_emit_ethernet(0x1000e, &(0x7f0000000080)=ANY=[@ANYBLOB="ffffffffffffffffffffffff08004571ffb0006700000011907800000000ac14ffff4e206423", @ANYRES32=0x41424344, @ANYRES32=0x41424344, @ANYBLOB="5000000090780002"]) r0 = openat$bpf(0xffffffffffffff9c, &(0x7f00000001c0), 0x1, 0x0) syz_extract_tcp_res(&(0x7f0000000100), 0x6, 0xdae) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) ioctl$BIOCSETF(0xffffffffffffffff, 0x80104267, &(0x7f0000000040)={0x2, &(0x7f0000000000)=[{0xa, 0x3, 0x1, 0x8}, {0x9b1e, 0x22, 0xf, 0x4}]}) sysctl$kern(0x0, 0x0, &(0x7f00000001c0)="c2a650000001932432d36083c8c706000000388200", &(0x7f0000000000)=0x15, 0x0, 0x0) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$BIOCSETWF(0xffffffffffffffff, 0x80104277, &(0x7f00000001c0)={0x48, &(0x7f0000000100)}) r1 = socket(0x18, 0x3, 0x0) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000040), 0xe8, 0x0) r3 = fcntl$dupfd(r2, 0x3, 0xffffffffffffffff) ioctl$FIONREAD(r3, 0x800c745b, &(0x7f0000000080)) ioctl$FIONREAD(r1, 0xc0106924, &(0x7f00000001c0)) r4 = socket(0x18, 0x3, 0x40) ioctl$FIONREAD(r4, 0x8014695a, &(0x7f0000000100)) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000040)={0x0, 0x0}) syz_emit_ethernet(0x1000e, &(0x7f0000000200)=ANY=[]) 0s ago: executing program 0 (id=13): r0 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000000), 0x1, 0x0) r1 = socket$inet(0x2, 0x2, 0x0) setsockopt$inet_opts(r1, 0x0, 0x200000000000b, &(0x7f00000000c0), 0x0) sysctl$net_inet_tcp(&(0x7f0000000000)={0x7, 0x2, 0x2, 0xe}, 0x4, 0x0, 0x0, 0x0, 0x0) r2 = openat$pf(0xffffffffffffff9c, &(0x7f0000000000), 0x2, 0x0) ioctl$FIONREAD(0xffffffffffffffff, 0xc0206923, &(0x7f00000001c0)) socket(0x2, 0x1, 0x0) setuid(0xffffffffffffffff) r3 = socket(0x1, 0x1, 0x0) fcntl$setstatus(r3, 0x4, 0x40) r4 = getppid() fcntl$setown(r3, 0x6, r4) shutdown(r3, 0x2) ioctl$DIOCXBEGIN(0xffffffffffffffff, 0xc0104451, &(0x7f0000000040)={0x2, 0x408, &(0x7f0000002d00)=[{0x0, './file0/file0\x00', 0x3}, {0x1, './bus/../file0/file0/../file0/fi\x00', 0xb3a}]}) getppid() mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x5) ioctl$DIOCXCOMMIT(r2, 0xc0104452, &(0x7f0000000040)={0x0, 0x40a, 0x0}) sysctl$kern(&(0x7f0000000000)={0xa}, 0x7, &(0x7f0000000080), 0x0, 0x0, 0x24) ioctl$WSKBDIO_GETBELL(r0, 0x40105704, &(0x7f0000000000)) mprotect(&(0x7f0000000000/0x800000)=nil, 0x800000, 0x4) sysctl$net_inet6_ip6(&(0x7f0000000000)={0x4, 0x18, 0x29, 0x32}, 0x4, 0x0, 0x0, 0x0, 0x0) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.1.14' (ED25519) to the list of known hosts. uWAvRNmI_NfGa:u lStP(L0 xNfOTff LfeOWf0ER06EDc eOeN4 2S0Y0S,CA 0LxL 9849, 00 ,E X1I)T -0> ae Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *154423 16504 0 0 0 1 syz-executor 47161 31883 0 0 0x4000000 0K syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x76cdcc775360, count: 14 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu0: uvm_fault(0xffffef006cee4200, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x76cdcc775360, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800039ba36c0 rbx 0 rdx 0 rcx 0xffff80003b3b9ca8 rax 0x32 r8 0xffff800039ba35f0 r9 0x80713 acpi_pdirpa+0x6c584 r10 0xf7d46f0fe4a411f9 r11 0x983de039a81b97ce r12 0 r13 0 r14 0xffff80003b3b9ca8 r15 0 rip 0xffffffff8299e3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff800039ba3640 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=154423 pid=16504 tcnt=1 stat=onproc flags process=0 proc=0 runpri=55, usrpri=55, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003b3b9a10,0xffffffff83a01cb0 process=0xffff80002a37eb68 user=0xffff800039b9e000, vmspace=0xffffef006cee4018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *16504 154423 46205 0 7 0 0 syz-executor 31883 238072 5406 0 2 0 0 syz-executor 31883 47161 5406 0 7 0 0x4000000 syz-executor 5901 413853 64968 0 2 0x100000 0 sh 31555 122446 37673 0 2 0 0 syz-executor 31555 301515 37673 0 3 0 0x4000080 fsleep syz-executor 61496 492847 50596 0 2 0 0 syz-executor 61496 154809 50596 0 3 0 0x4000080 fsleep syz-executor 35322 499047 48182 0 2 0x2 0 ndp 48182 408680 87905 0 3 0x100002 0x88 sigsusp sh 64968 391442 1745 0 3 0x100002 0x88 sigsusp sh 49440 296435 67300 0 3 0x100002 0x80 sbwait arp 67300 504195 44260 0 3 0x100002 0x88 sigsusp sh 46205 174031 88272 0 3 0x2 0x80 nanoslp syz-executor 1745 94957 88272 0 3 0x2 0x80 wait syz-executor 5406 396170 88272 0 3 0x2 0x80 nanoslp syz-executor 87905 435427 88272 0 3 0x2 0x80 wait syz-executor 37673 114556 88272 0 3 0x2 0x80 nanoslp syz-executor 44260 213946 88272 0 3 0x2 0x80 wait syz-executor 50596 439575 88272 0 3 0x2 0x80 nanoslp syz-executor 82256 516062 88272 0 2 0x2 0 syz-executor 88272 326787 74314 0 3 0x2 0x80 kqread syz-executor 74314 318791 11260 0 3 0x100002 0x88 sigsusp ksh 11260 22225 79014 0 3 0x10 0x88 kqread sshd-session 79014 373381 73691 0 3 0x12 0x80 kqread sshd-session 92105 482001 1 0 3 0x100003 0x80 ttyin getty 73691 277824 1 0 3 0 0x88 kqread sshd 46737 440930 35756 74 3 0x1100012 0x80 bpf pflogd 35756 225757 1 0 3 0 0x80 sbwait pflogd 9826 63229 19127 73 3 0x1100010 0x80 kqread syslogd 19127 21194 1 0 3 0x100002 0x80 sbwait syslogd 95945 406077 1 0 3 0x100000 0x80 kqread resolvd 23268 12982 13380 77 3 0x100012 0x80 kqread dhcpleased 46164 331925 13380 77 3 0x100012 0x80 kqread dhcpleased 13380 135149 1 0 3 0 0x80 kqread dhcpleased 26829 102574 0 0 3 0x14000 0x200 bored smr 64054 519847 0 0 2 0x14000 0x200 zerothread 5785 125727 0 0 3 0x14000 0x200 aiodoned aiodoned 73978 13401 0 0 3 0x14000 0x200 syncer update 51294 509277 0 0 3 0x14000 0x200 cleaner cleaner 3277 443009 0 0 3 0x14000 0x200 reaper reaper 37810 494036 0 0 3 0x14000 0x200 pgdaemon pagedaemon 29631 20652 0 0 3 0x14000 0x200 bored viomb 52625 7355 0 0 3 0x14000 0x40000200 acpi0 acpi0 59772 70419 0 0 3 0x14000 0x40000200 idle1 55154 352166 0 0 3 0x14000 0x200 bored softnet1 844 387507 0 0 2 0x14000 0x200 softnet0 21255 501613 0 0 3 0x14000 0x200 smrbar systqmp 91362 126611 0 0 3 0x14000 0x200 bored systq 20806 266819 0 0 3 0x14000 0x200 tmoslp softclockmp 13906 490112 0 0 3 0x14000 0x40000200 tmoslp softclock 65654 134707 0 0 3 0x14000 0x40000200 idle0 1 211499 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &map->flags_lock r = 0 (0xffffef006cee4190) #0 witness_lock+0x5f1 #1 mtx_enter+0x4b4 #2 vm_map_lock_ln+0x13f #3 uvm_mapanon+0x28f #4 uvm_mmapanon+0x1d0 #5 sys_mmap+0xa80 #6 syscall+0xbd4 #7 Xsyscall+0x128 Process 16504 (syz-executor) thread 0xffff80003b3b9ca8 (154423) exclusive rwlock vmmaplk r = 0 (0xffffef006cee4118) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 vm_map_lock_ln+0x12e #3 uvm_mapanon+0x28f #4 uvm_mmapanon+0x1d0 #5 sys_mmap+0xa80 #6 syscall+0xbd4 #7 Xsyscall+0x128 exclusive mutex &map->flags_lock r = 0 (0xffffef006cee4190) #0 witness_lock+0x5f1 #1 mtx_enter+0x4b4 #2 vm_map_lock_ln+0x13f #3 uvm_mapanon+0x28f #4 uvm_mmapanon+0x1d0 #5 sys_mmap+0xa80 #6 syscall+0xbd4 #7 Xsyscall+0x128 Process 31883 (syz-executor) thread 0xffff80003b3b9a10 (47161) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b124c0) #0 witness_lock+0x5f1 #1 syscall+0xaf4 #2 Xsyscall+0x128 Process 82256 (syz-executor) thread 0xffff80002a222540 (516062) exclusive rrwlock inode r = 0 (0xffffef006d12b0c0) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 ufs_ihashins+0x4f #5 ffs_vget+0x187 #6 ffs_inode_alloc+0x279 #7 ufs_mkdir+0xfc #8 VOP_MKDIR+0x101 #9 domkdirat+0x179 #10 syscall+0xb17 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xffffef0073b32300) #0 witness_lock+0x5f1 #1 rw_do_enter_write+0x419 #2 rrw_enter+0xc6 #3 VOP_LOCK+0xbd #4 vn_lock+0xa4 #5 vfs_lookup+0x12b #6 namei+0x7c5 #7 domkdirat+0x8b #8 syscall+0xb17 #9 Xsyscall+0x128 Process 21255 (systqmp) thread 0xffff800045ffe530 (501613) shared rwlock systqmp r = 0 (0xffffffff839008f8) #0 witness_lock+0x5f1 #1 taskq_thread+0x12a #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11058 12150K 12157K 166960K 12153 0 pcb 17 12K 12K 166960K 21 0 rtable 203 5K 5K 166960K 299 0 pf 34 17K 18K 166960K 45 0 ifaddr 39 6K 6K 166960K 41 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 70 0 ioctlops 0 0K 4K 166960K 1482 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1293 81K 81K 166960K 1366 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 20 73K 93K 166960K 131 0 proc 70 115K 163K 166960K 538 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 79 5K 5K 166960K 79 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 373 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 217 162K 169K 166960K 2931 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 47 94K 104K 166960K 1266 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 22 1K 1K 166960K 24 0 temp 34 9114K 9120K 166960K 3814 0 kqueue 13 20K 22K 166960K 27 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 29 0 25 1 0 1 1 0 8 0 rtentry 176 94 0 1 5 0 5 5 0 8 0 unpcb 144 42 0 23 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 136 16 0 0 1 0 1 1 0 8 0 inpcb 328 67 0 60 1 0 1 1 0 8 0 nd6 152 17 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 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 17 0 0 1 0 1 1 0 8 0 pfstkey 128 17 0 0 1 0 1 1 0 8 0 pfstate 448 17 0 0 2 0 2 2 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 370 0 0 24 0 24 24 0 8 0 art_table 40 371 0 0 4 0 4 4 0 8 0 art_node 32 94 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1567 0 100 92 0 92 92 0 8 0 ffsino 296 1567 0 100 113 0 113 113 0 8 0 nchpl 144 1765 0 65 63 0 63 63 0 8 0 vnodes 216 1661 0 0 93 0 93 93 0 8 0 namei 1024 5359 0 5358 1 0 1 1 0 8 0 percpumem 16 51 0 0 1 0 1 1 0 8 0 kstatmem 264 27 0 0 2 0 2 2 0 8 0 scxspl 216 6129 0 6129 3 2 1 2 1 8 1 plimitpl 152 29 0 12 1 0 1 1 0 8 0 sigapl 424 448 0 398 7 0 7 7 0 8 0 knotepl 120 297 0 0 9 0 9 9 0 8 0 kqueuepl 224 23 0 14 1 0 1 1 0 8 0 pipepl 344 126 0 99 3 0 3 3 0 8 0 fdescpl 528 432 0 398 3 0 3 3 0 8 0 filepl 160 1560 0 1345 9 0 9 9 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 32 0 15 1 0 1 1 0 8 0 ucredpl 104 83 0 70 1 0 1 1 0 8 0 zombiepl 144 398 0 398 1 0 1 1 0 8 1 processpl 1232 448 0 398 5 0 5 5 0 8 0 procpl 664 457 0 404 5 0 5 5 0 8 0 sockpl 752 139 0 109 4 0 4 4 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 128 0 0 16 0 16 16 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mextrefs 64 28 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 193 0 0 13 0 13 13 0 8 0 bufpl 272 2277 0 105 145 0 145 145 0 8 0 anonpl 32 3801 0 0 31 0 31 31 0 247 0 amapchunkpl 152 8043 0 7633 17 0 17 17 0 158 0 amappl16 200 1791 0 1781 5 0 5 5 0 8 4 amappl15 192 12 0 11 1 0 1 1 0 8 0 amappl14 184 421 0 416 1 0 1 1 0 8 0 amappl13 176 169 0 155 1 0 1 1 0 8 0 amappl12 168 678 0 646 2 0 2 2 0 8 0 amappl11 160 40 0 40 1 1 0 1 0 8 0 amappl10 152 65 0 51 1 0 1 1 0 8 0 amappl9 144 275 0 275 1 0 1 1 0 8 1 amappl8 136 93 0 91 1 0 1 1 0 8 0 amappl7 128 143 0 128 1 0 1 1 0 8 0 amappl6 120 147 0 143 1 0 1 1 0 8 0 amappl5 112 99 0 88 1 0 1 1 0 8 0 amappl4 104 287 0 267 1 0 1 1 0 8 0 amappl3 96 1397 0 1312 3 0 3 3 0 8 0 amappl2 88 556 0 480 2 0 2 2 0 8 0 amappl1 80 10382 0 9732 15 0 15 15 0 8 0 amappl 88 2229 0 2090 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 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 398 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 432 0 398 1 0 1 1 0 8 0 vmmpekpl 168 5574 0 5543 2 0 2 2 0 8 0 vmmpepl 168 37442 0 35554 87 0 87 87 0 357 1 vmsppl 488 431 0 398 5 0 5 5 0 8 0 rwobjpl 80 14265 0 13211 24 0 24 24 0 8 0 pdppl 4096 871 0 796 97 16 81 85 0 8 6 pvpl 32 9744 0 0 79 0 79 79 0 265 0 pmappl 256 431 0 398 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 410 0 19 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83905ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 comcnputc(800,d) at comcnputc+0x250 db_putchar(a) at db_putchar+0x498 kprintf() at kprintf+0x223 db_printf(ffffffff8346220f) at db_printf+0x9b fault(ffffffff83525b88) at fault+0xa7 kpageflttrap(ffff80003378afa0,98) at kpageflttrap+0x37d kerntrap(ffff80003378afa0) at kerntrap+0x19d alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003b3b9a10,ffffef006cc96b00,ffff80003378b160) at dovutimens+0x368 sys_futimens(ffff80003b3b9a10,ffff80003378b2b0,ffff80003378b200) at sys_futimens+0xb3 syscall(ffff80003378b2b0) at syscall+0xb17 end trace frame: 0xffff80003378b330, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83905ff0) at x86_ipi_db+0x27 x86_ipi_handler() at x86_ipi_handler+0xd9 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 comcnputc(800,d) at comcnputc+0x250 db_putchar(a) at db_putchar+0x498 kprintf() at kprintf+0x223 db_printf(ffffffff8346220f) at db_printf+0x9b fault(ffffffff83525b88) at fault+0xa7 kpageflttrap(ffff80003378afa0,98) at kpageflttrap+0x37d kerntrap(ffff80003378afa0) at kerntrap+0x19d alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003b3b9a10,ffffef006cc96b00,ffff80003378b160) at dovutimens+0x368 sys_futimens(ffff80003b3b9a10,ffff80003378b2b0,ffff80003378b200) at sys_futimens+0xb3 syscall(ffff80003378b2b0) at syscall+0xb17 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9b167798340, count: -15 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x76cdcc775360, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x76cdcc775360, count: -1