Extracting prog: 1m40.991317201s Minimizing prog: 4m49.373046973s Simplifying prog options: 0s Extracting C: 1m17.112389158s Simplifying C: 6m3.216637017s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program crashed: panic: VOP_READDIR: eofflag not set single: successfully extracted reproducer found reproducer with 2 syscalls minimizing guilty program testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen detailed listing: executing program 0: fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): freebsd11_getdents detailed listing: executing program 0: freebsd11_getdents(0xffffffffffffffff, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(0x0, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, 0x0, 0x0) (rerun: 64) program did not crash extracting C reproducer testing compiled C program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program crashed: panic: VOP_READDIR: eofflag not set simplifying C reproducer testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program crashed: panic: VOP_READDIR: eofflag not set testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program did not crash testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program crashed: panic: VOP_READDIR: eofflag not set testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program crashed: panic: VOP_READDIR: eofflag not set testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program crashed: panic: VOP_READDIR: eofflag not set testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents program did not crash testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program crashed: panic: VOP_READDIR: eofflag not set validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program crashed: panic: VOP_READDIR: eofflag not set validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): fhopen-freebsd11_getdents detailed listing: executing program 0: r0 = fhopen(&(0x7f0000000000)={{[0x70, 0x32]}, {0x5, 0xffff, "04000000000000000000000000001000"}}, 0x0) freebsd11_getdents(r0, &(0x7f0000000080)=""/4096, 0x20) (rerun: 64) program crashed: panic: VOP_READDIR: eofflag not set validation run: crashed=true reproducing took 17m56.276255702s repro crashed as (corrupted=false): panic: VOP_READDIR: eofflag not set cpuid = 0 time = 1794715220 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe0056f69210 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0056f69370 vpanic() at vpanic+0x257/frame 0xfffffe0056f69530 panic() at panic+0xb5/frame 0xfffffe0056f695f0 VOP_READDIR_APV() at VOP_READDIR_APV+0x4d6/frame 0xfffffe0056f696f0 kern_getdirentries() at kern_getdirentries+0x701/frame 0xfffffe0056f699b0 freebsd11_kern_getdirentries() at freebsd11_kern_getdirentries+0x15a/frame 0xfffffe0056f69c50 freebsd11_getdents() at freebsd11_getdents+0xb0/frame 0xfffffe0056f69d10 ia32_syscall() at ia32_syscall+0x538/frame 0xfffffe0056f69f30 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffda68 KDB: enter: panic [ thread pid 1716 tid 100133 ] Stopped at kdb_enter+0x6e: movq $0,0x26bb947(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0 rax 0x12 rcx 0xfffffe0002befac0 rdx 0xdffff7c000000000 rbx 0xffffffff82a24960 .str.27 rsp 0xfffffe0056f69350 rbp 0xfffffe0056f69370 rsi 0 rdi 0xffffffff832004e0 panicstr r8 0 r9 0xffffffff r10 0 r11 0x1 r12 0xfffffe00592df780 r13 0xfffffffffffffffe r14 0xffffffff82a24960 .str.27 r15 0 rip 0xffffffff8175fd8e kdb_enter+0x6e rflags 0x200046 kernload+0x46 kdb_enter+0x6e: movq $0,0x26bb947(%rip) db> show proc Process 1716 (syz-executor) at 0xfffffe00592c8000: state: NORMAL uid: 0 gid: 0 supp gids: 0, 5 parent: pid 1686 at 0xfffffe00592ea038 ABI: FreeBSD ELF32 flag: 0x10000000 flag2: 0 arguments: ci-freebsd-i386/syz-executor exec reaper: 0xfffffe0007a09070 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe00592ffdb0 (map 0xfffffe00592ffdb0) (map.pmap 0xfffffe00592ffe50) (pmap 0xfffffe00592ffec0) threads: 1 100133 Run CPU 0 syz-executor db> ps pid ppid pgrp uid state wmesg wchan cmd 1723 1688 982 0 R sh 1716 1686 1686 0 R CPU 0 syz-executor 1688 1648 982 0 S piperd 0xfffffe005a945000 sh 1686 1599 1686 0 S nanslp 0xffffffff83dfc701 syz-executor 1648 982 982 0 S wait 0xfffffe00593285d8 sh 1599 1572 1572 0 S select 0xfffffe0071a60d40 syz-executor 1572 1571 1572 0 Ss (threaded) syz-execprog 100158 S uwait 0xfffffe005aaef700 syz-execprog 100159 S uwait 0xfffffe0058b8c100 syz-execprog 100160 S kqread 0xfffffe005a6df800 syz-execprog 100161 S uwait 0xfffffe0058e6ee00 syz-execprog 100162 S uwait 0xfffffe005aae8e00 syz-execprog 100163 S uwait 0xfffffe0071698200 syz-execprog 100165 S uwait 0xfffffe005aae8400 syz-execprog 100167 S uwait 0xfffffe005aae8200 syz-execprog 100170 S uwait 0xfffffe0071698000 syz-execprog 100171 S uwait 0xfffffe005aaefe00 syz-execprog 100172 S uwait 0xfffffe0058b8e300 syz-execprog 100173 S uwait 0xfffffe0058b8e100 syz-execprog 100194 S uwait 0xfffffe0058b90600 syz-execprog 1571 1569 1569 0 S select 0xfffffe0058f76940 sshd-session 1569 1457 1569 0 Ss select 0xfffffe0071a61f40 sshd-session 1528 1 1528 0 Ss+ ttyin 0xfffffe0058bc00b0 getty 1527 1 1527 0 Ss+ ttyin 0xfffffe005a3878b0 getty 1526 1 1526 0 Ss+ ttyin 0xfffffe0058be30b0 getty 1525 1 1525 0 Ss+ ttyin 0xfffffe005a3898b0 getty 1524 1 1524 0 Ss+ ttyin 0xfffffe005a38a8b0 getty 1523 1 1523 0 Ss+ ttyin 0xfffffe0057edf8b0 getty 1522 1 1522 0 Ss+ ttyin 0xfffffe0057ee08b0 getty 1521 1 1521 0 Ss+ ttyin 0xfffffe0057ee18b0 getty 1520 1 1520 0 Ss+ ttyin 0xfffffe0057ee38b0 getty 1516 1 1516 0 Ss select 0xfffffe005a61b540 logger 1511 1 17 0 S+ piperd 0xfffffe005a9c52e8 logger 1510 1509 17 0 S+ nanslp 0xffffffff83dfc700 sleep 1509 1 17 0 S+ wait 0xfffffe00592adb08 sh 1498 1 1498 0 Ss nanslp 0xffffffff83dfc701 cron 1457 1 1457 0 Ss select 0xfffffe005a61b140 sshd 1280 1 1280 0 Ss select 0xfffffe005a61ae40 syslogd 1279 1 1276 0 S select 0xfffffe0071a63640 syslogd 1276 1 1276 0 Ds biowr 0xfffffe0007e18700 syslogd 982 1 982 0 Ss wait 0xfffffe00592ae070 devd 981 1 981 65 Ss select 0xfffffe005a61a340 dhclient 829 1 829 0 Ss select 0xfffffe0054361940 dhclient 826 1 826 0 Ss select 0xfffffe005a614140 dhclient 406 0 0 0 DL - 0xffffffff83a2b300 [busdma] 16 0 0 0 DL syncer 0xffffffff83ebeb80 [syncer] 15 0 0 0 DL vlruwt 0xfffffe00592085a0 [vnlru] 14 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83ebd0e0 [bufdaemon] 100082 D - 0xffffffff83202740 [bufspacedaemon-0] 100094 D sdflush 0xfffffe000877b0e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83effbe0 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100077 D psleep 0xffffffff83ee5cc8 [dom0] 100080 D launds 0xffffffff83ee5cd4 [laundry: dom0] 100081 D umarcl 0xffffffff81f9cfa0 [uma] 7 0 0 0 DL - 0xffffffff83b75530 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff8464b5c0 [pf purge] 5 0 0 0 DL waiting 0xffffffff84a278c0 [sctp_iterator] 4 0 0 0 RL (threaded) [cam] 100045 Run CPU 1 [doneq0] 100046 D - 0xffffffff83b3f2c0 [async] 100075 D - 0xffffffff83b3f140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83ee1440 [crypto] 100043 D crypto_ 0xfffffe005815f830 [crypto returns 0] 100044 D crypto_ 0xfffffe005815f880 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100037 D - 0xffffffff83da55e0 [g_event] 100038 D - 0xffffffff83da5600 [g_up] 100039 D - 0xffffffff83da5620 [g_down] 2 0 0 0 WL (threaded) [clock] 100031 I [clock (0)] 100032 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100013 I [swi6: task queue] 100014 I [swi6: Giant taskq] 100016 I [swi5: fast taskq] 100033 I [swi1: netisr 0] 100034 I [swi1: hpts] 100035 I [swi1: hpts] 100047 I [irq24: virtio_pci0] 100048 I [irq25: virtio_pci0] 100049 I [irq26: virtio_pci0] 100050 I [irq27: virtio_pci0] 100051 I [irq28: virtio_pci1] 100052 I [irq29: virtio_pci1] 100053 I [irq30: virtio_pci1] 100054 I [irq31: virtio_pci1] 100055 I [irq32: virtio_pci1] 100060 I [irq10: virtio_pci2] 100062 I [irq1: atkbd0] 100063 I [irq12: psm0] 100064 I [swi0: uart uart++] 100068 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0007a09070 [init] 10 0 0 0 DL audit_w 0xffffffff83ee1f60 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D - 0xffffffff84efcff0 [kernel] 100005 D - 0xfffffe0054340c00 [softirq_0] 100006 D - 0xfffffe0054340a00 [softirq_1] 100007 D - 0xfffffe0054340800 [if_io_tqg_0] 100008 D - 0xfffffe0054340600 [if_io_tqg_1] 100009 D - 0xfffffe0054340400 [if_config_tqg_0] 100010 D - 0xfffffe00086fa800 [kqueue_ctx taskq] 100011 D - 0xfffffe00086fa600 [jail_remove taskq] 100012 D - 0xfffffe00086fa400 [bus taskq] 100015 D - 0xfffffe00086f9e00 [thread taskq] 100017 D - 0xfffffe00086f9a00 [aiod_kick taskq] 100018 D - 0xfffffe00086f9800 [deferred_unmount ta] 100019 D - 0xfffffe00086f9600 [inm_free taskq] 100020 D - 0xfffffe00086f9400 [in6m_free taskq] 100021 D - 0xfffffe00086f9200 [linuxkpi_irq_wq] 100022 D - 0xfffffe00086f9000 [linuxkpi_short_wq_0] 100023 D - 0xfffffe00086f9000 [linuxkpi_short_wq_1] 100024 D - 0xfffffe00086f9000 [linuxkpi_short_wq_2] 100025 D - 0xfffffe00086f9000 [linuxkpi_short_wq_3] 100026 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_0] 100027 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_1] 100028 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_2] 100029 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_3] 100036 D - 0xfffffe00086f8600 [firmware taskq] 100040 D - 0xfffffe00086f8200 [crypto_0] 100041 D - 0xfffffe00086f8200 [crypto_1] 100056 D - 0xfffffe0058a41200 [vtnet0 rxq 0] 100057 D - 0xfffffe0058a41000 [vtnet0 txq 0] 100058 D - 0xfffffe0058a40e00 [vtnet0 rxq 1] 100059 D - 0xfffffe0058a40c00 [vtnet0 txq 1] 100061 D vtbslp 0xfffffe0058a24b00 [virtio_balloon] 100065 D - 0xffffffff82a290a1 [deadlkres] 100069 D - 0xfffffe005a29bc00 [acpi_task_0] 100070 D - 0xfffffe005a29bc00 [acpi_task_1] 100071 D - 0xfffffe005a29bc00 [acpi_task_2] 100073 D - 0xfffffe00086faa00 [mca taskq] 100074 D - 0xfffffe00086f7e00 [CAM taskq] 100076 D - 0xfffffe00582daa00 [ipsec_offload] 100117 D - 0xfffffe005a6ff600 [netlink_socket (PID] db> show all locks Process 1723 (sh) thread 0xfffffe0059312000 (100175) exclusive rw vmobject (vmobject) r = 0 (0xfffffe0059363740) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/vm/vm_fault.c:374 shared sx vm map (user) (vm map (user)) r = 0 (0xfffffe0059300060) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/vm/vm_map.c:5067 Process 1716 (syz-executor) thread 0xfffffe00592df780 (100133) exclusive lockmgr msdosfs (msdosfs) r = 0 (0xfffffe0071aef908) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_syscalls.c:4490 Process 1276 (syslogd) thread 0xfffffe00592af000 (100097) exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe0007e18780) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_bio.c:4027 exclusive lockmgr ufs (ufs) r = 0 (0xfffffe0071aab908) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_syscalls.c:3724 Process 4 (cam) thread 0xfffffe0007a23000 (100045) exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffe00087144d0) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/cam/scsi/scsi_da.c:4677 db> final repro crashed as (corrupted=false): panic: VOP_READDIR: eofflag not set cpuid = 0 time = 1794715220 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe0056f69210 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0056f69370 vpanic() at vpanic+0x257/frame 0xfffffe0056f69530 panic() at panic+0xb5/frame 0xfffffe0056f695f0 VOP_READDIR_APV() at VOP_READDIR_APV+0x4d6/frame 0xfffffe0056f696f0 kern_getdirentries() at kern_getdirentries+0x701/frame 0xfffffe0056f699b0 freebsd11_kern_getdirentries() at freebsd11_kern_getdirentries+0x15a/frame 0xfffffe0056f69c50 freebsd11_getdents() at freebsd11_getdents+0xb0/frame 0xfffffe0056f69d10 ia32_syscall() at ia32_syscall+0x538/frame 0xfffffe0056f69f30 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffda68 KDB: enter: panic [ thread pid 1716 tid 100133 ] Stopped at kdb_enter+0x6e: movq $0,0x26bb947(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0 rax 0x12 rcx 0xfffffe0002befac0 rdx 0xdffff7c000000000 rbx 0xffffffff82a24960 .str.27 rsp 0xfffffe0056f69350 rbp 0xfffffe0056f69370 rsi 0 rdi 0xffffffff832004e0 panicstr r8 0 r9 0xffffffff r10 0 r11 0x1 r12 0xfffffe00592df780 r13 0xfffffffffffffffe r14 0xffffffff82a24960 .str.27 r15 0 rip 0xffffffff8175fd8e kdb_enter+0x6e rflags 0x200046 kernload+0x46 kdb_enter+0x6e: movq $0,0x26bb947(%rip) db> show proc Process 1716 (syz-executor) at 0xfffffe00592c8000: state: NORMAL uid: 0 gid: 0 supp gids: 0, 5 parent: pid 1686 at 0xfffffe00592ea038 ABI: FreeBSD ELF32 flag: 0x10000000 flag2: 0 arguments: ci-freebsd-i386/syz-executor exec reaper: 0xfffffe0007a09070 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe00592ffdb0 (map 0xfffffe00592ffdb0) (map.pmap 0xfffffe00592ffe50) (pmap 0xfffffe00592ffec0) threads: 1 100133 Run CPU 0 syz-executor db> ps pid ppid pgrp uid state wmesg wchan cmd 1723 1688 982 0 R sh 1716 1686 1686 0 R CPU 0 syz-executor 1688 1648 982 0 S piperd 0xfffffe005a945000 sh 1686 1599 1686 0 S nanslp 0xffffffff83dfc701 syz-executor 1648 982 982 0 S wait 0xfffffe00593285d8 sh 1599 1572 1572 0 S select 0xfffffe0071a60d40 syz-executor 1572 1571 1572 0 Ss (threaded) syz-execprog 100158 S uwait 0xfffffe005aaef700 syz-execprog 100159 S uwait 0xfffffe0058b8c100 syz-execprog 100160 S kqread 0xfffffe005a6df800 syz-execprog 100161 S uwait 0xfffffe0058e6ee00 syz-execprog 100162 S uwait 0xfffffe005aae8e00 syz-execprog 100163 S uwait 0xfffffe0071698200 syz-execprog 100165 S uwait 0xfffffe005aae8400 syz-execprog 100167 S uwait 0xfffffe005aae8200 syz-execprog 100170 S uwait 0xfffffe0071698000 syz-execprog 100171 S uwait 0xfffffe005aaefe00 syz-execprog 100172 S uwait 0xfffffe0058b8e300 syz-execprog 100173 S uwait 0xfffffe0058b8e100 syz-execprog 100194 S uwait 0xfffffe0058b90600 syz-execprog 1571 1569 1569 0 S select 0xfffffe0058f76940 sshd-session 1569 1457 1569 0 Ss select 0xfffffe0071a61f40 sshd-session 1528 1 1528 0 Ss+ ttyin 0xfffffe0058bc00b0 getty 1527 1 1527 0 Ss+ ttyin 0xfffffe005a3878b0 getty 1526 1 1526 0 Ss+ ttyin 0xfffffe0058be30b0 getty 1525 1 1525 0 Ss+ ttyin 0xfffffe005a3898b0 getty 1524 1 1524 0 Ss+ ttyin 0xfffffe005a38a8b0 getty 1523 1 1523 0 Ss+ ttyin 0xfffffe0057edf8b0 getty 1522 1 1522 0 Ss+ ttyin 0xfffffe0057ee08b0 getty 1521 1 1521 0 Ss+ ttyin 0xfffffe0057ee18b0 getty 1520 1 1520 0 Ss+ ttyin 0xfffffe0057ee38b0 getty 1516 1 1516 0 Ss select 0xfffffe005a61b540 logger 1511 1 17 0 S+ piperd 0xfffffe005a9c52e8 logger 1510 1509 17 0 S+ nanslp 0xffffffff83dfc700 sleep 1509 1 17 0 S+ wait 0xfffffe00592adb08 sh 1498 1 1498 0 Ss nanslp 0xffffffff83dfc701 cron 1457 1 1457 0 Ss select 0xfffffe005a61b140 sshd 1280 1 1280 0 Ss select 0xfffffe005a61ae40 syslogd 1279 1 1276 0 S select 0xfffffe0071a63640 syslogd 1276 1 1276 0 Ds biowr 0xfffffe0007e18700 syslogd 982 1 982 0 Ss wait 0xfffffe00592ae070 devd 981 1 981 65 Ss select 0xfffffe005a61a340 dhclient 829 1 829 0 Ss select 0xfffffe0054361940 dhclient 826 1 826 0 Ss select 0xfffffe005a614140 dhclient 406 0 0 0 DL - 0xffffffff83a2b300 [busdma] 16 0 0 0 DL syncer 0xffffffff83ebeb80 [syncer] 15 0 0 0 DL vlruwt 0xfffffe00592085a0 [vnlru] 14 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83ebd0e0 [bufdaemon] 100082 D - 0xffffffff83202740 [bufspacedaemon-0] 100094 D sdflush 0xfffffe000877b0e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83effbe0 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100077 D psleep 0xffffffff83ee5cc8 [dom0] 100080 D launds 0xffffffff83ee5cd4 [laundry: dom0] 100081 D umarcl 0xffffffff81f9cfa0 [uma] 7 0 0 0 DL - 0xffffffff83b75530 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff8464b5c0 [pf purge] 5 0 0 0 DL waiting 0xffffffff84a278c0 [sctp_iterator] 4 0 0 0 RL (threaded) [cam] 100045 Run CPU 1 [doneq0] 100046 D - 0xffffffff83b3f2c0 [async] 100075 D - 0xffffffff83b3f140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83ee1440 [crypto] 100043 D crypto_ 0xfffffe005815f830 [crypto returns 0] 100044 D crypto_ 0xfffffe005815f880 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100037 D - 0xffffffff83da55e0 [g_event] 100038 D - 0xffffffff83da5600 [g_up] 100039 D - 0xffffffff83da5620 [g_down] 2 0 0 0 WL (threaded) [clock] 100031 I [clock (0)] 100032 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100013 I [swi6: task queue] 100014 I [swi6: Giant taskq] 100016 I [swi5: fast taskq] 100033 I [swi1: netisr 0] 100034 I [swi1: hpts] 100035 I [swi1: hpts] 100047 I [irq24: virtio_pci0] 100048 I [irq25: virtio_pci0] 100049 I [irq26: virtio_pci0] 100050 I [irq27: virtio_pci0] 100051 I [irq28: virtio_pci1] 100052 I [irq29: virtio_pci1] 100053 I [irq30: virtio_pci1] 100054 I [irq31: virtio_pci1] 100055 I [irq32: virtio_pci1] 100060 I [irq10: virtio_pci2] 100062 I [irq1: atkbd0] 100063 I [irq12: psm0] 100064 I [swi0: uart uart++] 100068 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0007a09070 [init] 10 0 0 0 DL audit_w 0xffffffff83ee1f60 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D - 0xffffffff84efcff0 [kernel] 100005 D - 0xfffffe0054340c00 [softirq_0] 100006 D - 0xfffffe0054340a00 [softirq_1] 100007 D - 0xfffffe0054340800 [if_io_tqg_0] 100008 D - 0xfffffe0054340600 [if_io_tqg_1] 100009 D - 0xfffffe0054340400 [if_config_tqg_0] 100010 D - 0xfffffe00086fa800 [kqueue_ctx taskq] 100011 D - 0xfffffe00086fa600 [jail_remove taskq] 100012 D - 0xfffffe00086fa400 [bus taskq] 100015 D - 0xfffffe00086f9e00 [thread taskq] 100017 D - 0xfffffe00086f9a00 [aiod_kick taskq] 100018 D - 0xfffffe00086f9800 [deferred_unmount ta] 100019 D - 0xfffffe00086f9600 [inm_free taskq] 100020 D - 0xfffffe00086f9400 [in6m_free taskq] 100021 D - 0xfffffe00086f9200 [linuxkpi_irq_wq] 100022 D - 0xfffffe00086f9000 [linuxkpi_short_wq_0] 100023 D - 0xfffffe00086f9000 [linuxkpi_short_wq_1] 100024 D - 0xfffffe00086f9000 [linuxkpi_short_wq_2] 100025 D - 0xfffffe00086f9000 [linuxkpi_short_wq_3] 100026 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_0] 100027 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_1] 100028 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_2] 100029 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_3] 100036 D - 0xfffffe00086f8600 [firmware taskq] 100040 D - 0xfffffe00086f8200 [crypto_0] 100041 D - 0xfffffe00086f8200 [crypto_1] 100056 D - 0xfffffe0058a41200 [vtnet0 rxq 0] 100057 D - 0xfffffe0058a41000 [vtnet0 txq 0] 100058 D - 0xfffffe0058a40e00 [vtnet0 rxq 1] 100059 D - 0xfffffe0058a40c00 [vtnet0 txq 1] 100061 D vtbslp 0xfffffe0058a24b00 [virtio_balloon] 100065 D - 0xffffffff82a290a1 [deadlkres] 100069 D - 0xfffffe005a29bc00 [acpi_task_0] 100070 D - 0xfffffe005a29bc00 [acpi_task_1] 100071 D - 0xfffffe005a29bc00 [acpi_task_2] 100073 D - 0xfffffe00086faa00 [mca taskq] 100074 D - 0xfffffe00086f7e00 [CAM taskq] 100076 D - 0xfffffe00582daa00 [ipsec_offload] 100117 D - 0xfffffe005a6ff600 [netlink_socket (PID] db> show all locks Process 1723 (sh) thread 0xfffffe0059312000 (100175) exclusive rw vmobject (vmobject) r = 0 (0xfffffe0059363740) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/vm/vm_fault.c:374 shared sx vm map (user) (vm map (user)) r = 0 (0xfffffe0059300060) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/vm/vm_map.c:5067 Process 1716 (syz-executor) thread 0xfffffe00592df780 (100133) exclusive lockmgr msdosfs (msdosfs) r = 0 (0xfffffe0071aef908) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_syscalls.c:4490 Process 1276 (syslogd) thread 0xfffffe00592af000 (100097) exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe0007e18780) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_bio.c:4027 exclusive lockmgr ufs (ufs) r = 0 (0xfffffe0071aab908) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/vfs_syscalls.c:3724 Process 4 (cam) thread 0xfffffe0007a23000 (100045) exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffe00087144d0) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/cam/scsi/scsi_da.c:4677 db>