Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff81a27aa3 stack pointer = 0x28:0xfffffe0056c8a1c0 frame pointer = 0x28:0xfffffe0056c8a6f0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (clock (0)) rdi: 0000000000000000 rsi: 0000000000000000 rdx: 000000000a843e60 rcx: fffffe00033eee30 r8: 0000000000000000 r9: 00000000060080fe rax : fffffe00033eee30 rbx: fffffe0072bb42e0 rbp: fffffe0056c8a6f0 FreeBSD/amd64r10: aa02000000000000 r11: 000000000000001f r12: fffffe0056c8a4c0 r13: fffffe0056c8a500 r14: 0000000000000000 r15: fffffe00829b7338 trap number = 12 panic: page fault cpuid = 0 time = 1723481300 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe0056c898f0 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0056c89a50 vpanic() at vpanic+0x280/frame 0xfffffe0056c89c10 panic() at panic+0xb5/frame 0xfffffe0056c89cd0 trap_fatal() at trap_fatal+0x7f2/frame 0xfffffe0056c89df0 trap_pfault() at trap_pfault+0x179/frame 0xfffffe0056c89f10 trap() at trap+0x648/frame 0xfffffe0056c8a0f0 calltrap() at calltrap+0x8/frame 0xfffffe0056c8a0f0 --- trap 0xc, rip = 0xffffffff81a27aa3, rsp = 0xfffffe0056c8a1c0, rbp = 0xfffffe0056c8a6f0 --- ip6_output() at ip6_output+0x30d3/frame 0xfffffe0056c8a6f0 sctp_lowlevel_chunk_output() at sctp_lowlevel_chunk_output+0x216c/frame 0xfffffe0056c8a9a0 sctp_send_initiate() at sctp_send_initiate+0x1591/frame 0xfffffe0056c8ab20 sctp_t1init_timer() at sctp_t1init_timer+0x66/frame 0xfffffe0056c8ab70 sctp_timeout_handler() at sctp_timeout_handler+0xb3b/frame 0xfffffe0056c8acb0 softclock_call_cc() at softclock_call_cc+0x395/frame 0xfffffe0056c8ae80 softclock_thread() at softclock_thread+0x200/frame 0xfffffe0056c8aef0 fork_exit() at fork_exit+0xcc/frame 0xfffffe0056c8af30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0056c8af30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic [ thread pid 2 tid 100030 ] Stopped at kdb_enter+0x6e: movq $0,0x23deac7(%rip) db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0x28 rax 0x12 rcx 0xfffffe00033eee30 rdx 0xdffff7c000000000 rbx 0xffffffff82712da0 .str.27 rsp 0xfffffe0056c89a30 rbp 0xfffffe0056c89a50 rsi 0 rdi 0xffffffff82e004c0 panicstr r8 0 r9 0xffffffff r10 0 r11 0x17 r12 0xfffffe0007a19000 r13 0xfffffffffffffffe r14 0xffffffff82712da0 .str.27 r15 0 rip 0xffffffff815b754e kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x23deac7(%rip) db> show proc Process 2 (clock) at 0xfffffe0007a06020: state: NORMAL uid: 0 gids: 0 parent: pid 0 at 0xffffffff83920720 ABI: null flag: 0x10000284 flag2: 0 reaper: 0xffffffff83920720 reapsubtree: 2 sigparent: 20 vmspace: 0xffffffff839216c0 (map 0xffffffff839216c0) (map.pmap 0xffffffff83921780) (pmap 0xffffffff839217f0) threads: 2 100030 Run CPU 0 [clock (0)] 100031 I [clock (1)] db> ps pid ppid pgrp uid state wmesg wchan cmd 3227 774 3227 0 S piperd 0xfffffe00598dc3e8 syz-executor 3043 3022 3043 0 Ss select 0xfffffe005870e7c0 dhclient 3031 1 3031 0 Ss select 0xfffffe005870e8c0 dhclient 3022 2986 424 65 S select 0xfffffe005870f4c0 dhclient 2986 424 424 0 S wait 0xfffffe0007be8060 sh 844 774 844 0 S piperd 0xfffffe00598db000 syz-executor 840 774 840 0 S piperd 0xfffffe00598db5b0 syz-executor 834 774 834 0 S piperd 0xfffffe00598d5110 syz-executor 774 773 771 0 S select 0xfffffe005847b040 syz-executor 773 771 771 0 S (threaded) syz-execprog 100116 S uwait 0xfffffe00586f7f00 syz-execprog 100118 S uwait 0xfffffe00586f8180 syz-execprog 100119 S wait 0xfffffe005f4d6000 syz-execprog 100120 S uwait 0xfffffe00586f8380 syz-execprog 100121 S uwait 0xfffffe005847e080 syz-execprog 100122 S uwait 0xfffffe00586f8480 syz-execprog 100124 S uwait 0xfffffe00586f7600 syz-execprog 100125 S kqread 0xfffffe0054346000 syz-execprog 771 769 771 0 Ss pause 0xfffffe0007be8670 csh 769 682 769 0 Ss select 0xfffffe005847acc0 sshd 748 1 748 0 Ss+ ttyin 0xfffffe005849c0b0 getty 747 1 747 0 Ss+ ttyin 0xfffffe00595724b0 getty 746 1 746 0 Ss+ ttyin 0xfffffe0059572cb0 getty 745 1 745 0 Ss+ ttyin 0xfffffe00595734b0 getty 744 1 744 0 Ss+ ttyin 0xfffffe0059573cb0 getty 743 1 743 0 Ss+ ttyin 0xfffffe00543544b0 getty 742 1 742 0 Ss+ ttyin 0xfffffe0054354cb0 getty 741 1 741 0 Ss+ ttyin 0xfffffe00543554b0 getty 740 1 740 0 Ss+ ttyin 0xfffffe0054355cb0 getty 738 1 18 0 S+ piperd 0xfffffe00598d73e8 logger 737 736 18 0 S+ nanslp 0xffffffff839773c1 sleep 736 1 18 0 S+ wait 0xfffffe0007be7b00 sh 686 1 686 0 Ss nanslp 0xffffffff839773c1 cron 682 1 682 0 Ss select 0xfffffe005847b1c0 sshd 495 1 495 0 Ss select 0xfffffe00587102c0 syslogd 424 1 424 0 Ss wait 0xfffffe0007a08060 devd 423 1 423 65 Ss select 0xfffffe005847b940 dhclient 338 1 338 0 Ss select 0xfffffe00587110c0 dhclient 335 1 335 0 Ss select 0xfffffe0058710f40 dhclient 17 0 0 0 DL syncer 0xffffffff83a94ae0 [syncer] 16 0 0 0 DL vlruwt 0xfffffe0007a27060 [vnlru] 15 0 0 0 DL (threaded) [bufdaemon] 100080 D psleep 0xffffffff83a930c0 [bufdaemon] 100083 D - 0xffffffff82e02140 [bufspacedaemon-0] 100092 D sdflush 0xfffffe00580114e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83ade760 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100078 D psleep 0xffffffff83ac46f8 [dom0] 100081 D launds 0xffffffff83ac4704 [laundry: dom0] 100082 D umarcl 0xffffffff81d63b60 [uma] 7 0 0 0 DL - 0xffffffff836f4b70 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff847b63e0 [pf purge] 5 0 0 0 DL waiting 0xffffffff842c1a40 [sctp_iterator] 4 0 0 0 DL (threaded) [cam] 100045 D - 0xffffffff836bf340 [doneq0] 100046 D - 0xffffffff836bf2c0 [async] 100077 D - 0xffffffff836bf140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83abfee0 [crypto] 100043 D crypto_ 0xfffffe0057f74030 [crypto returns 0] 100044 D crypto_ 0xfffffe0057f74080 [crypto returns 1] 14 0 0 0 DL seqstat 0xfffffe00085f6488 [sequencer 00] 13 0 0 0 DL (threaded) [geom] 100036 D - 0xffffffff8391fd40 [g_event] 100037 D - 0xffffffff8391fd60 [g_up] 100038 D - 0xffffffff8391fd80 [g_down] 2 0 0 0 RL (threaded) [clock] 100030 Run CPU 0 [clock (0)] 100031 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100012 I [swi6: task queue] 100013 I [swi6: Giant taskq] 100015 I [swi5: fast taskq] 100032 I [swi1: netisr 0] 100033 I [swi1: hpts] 100034 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 [irq33: virtio_pci2] 100061 I [irq34: virtio_pci2] 100062 I [irq35: virtio_pci2] 100064 I [irq1: atkbd0] 100065 I [irq12: psm0] 100066 I [swi0: uart uart++] 100070 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 Run CPU 1 [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0007a07040 [init] 10 0 0 0 DL audit_w 0xffffffff83ac0940 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D parked 0xffffffff84bfaff0 [swapper] 100005 D - 0xfffffe00085fba00 [softirq_0] 100006 D - 0xfffffe00085fb800 [softirq_1] 100007 D - 0xfffffe00085fb600 [if_io_tqg_0] 100008 D - 0xfffffe00085fb400 [if_io_tqg_1] 100009 D - 0xfffffe00085fb200 [if_config_tqg_0] 100010 D - 0xfffffe00085fb000 [pci_hp taskq] 100011 D - 0xfffffe00085fad00 [kqueue_ctx taskq] 100014 D - 0xfffffe00085fa700 [thread taskq] 100016 D - 0xfffffe00085fa300 [aiod_kick taskq] 100017 D - 0xfffffe00085fa100 [deferred_unmount ta] 100018 D - 0xfffffe00085f9e00 [inm_free taskq] 100019 D - 0xfffffe00085f9c00 [in6m_free taskq] 100020 D - 0xfffffe00085f9a00 [linuxkpi_irq_wq] 100021 D - 0xfffffe00085f9800 [linuxkpi_short_wq_0] 100022 D - 0xfffffe00085f9800 [linuxkpi_short_wq_1] 100023 D - 0xfffffe00085f9800 [linuxkpi_short_wq_2] 100024 D - 0xfffffe00085f9800 [linuxkpi_short_wq_3] 100025 D - 0xfffffe00085f9300 [linuxkpi_long_wq_0] 100026 D - 0xfffffe00085f9300 [linuxkpi_long_wq_1] 100027 D - 0xfffffe00085f9300 [linuxkpi_long_wq_2] 100028 D - 0xfffffe00085f9300 [linuxkpi_long_wq_3] 100035 D - 0xfffffe00085f8400 [firmware taskq] 100040 D - 0xfffffe0057f78300 [crypto_0] 100041 D - 0xfffffe0057f78300 [crypto_1] 100056 D - 0xfffffe00085fc300 [vtnet0 rxq 0] 100057 D - 0xfffffe00085fc200 [vtnet0 txq 0] 100058 D - 0xfffffe005836c500 [vtnet0 rxq 1] 100059 D - 0xfffffe005836c400 [vtnet0 txq 1] 100063 D vtbslp 0xfffffe0058350600 [virtio_balloon] 100067 D - 0xffffffff82717fe0 [deadlkres] 100071 D - 0xfffffe00586fe300 [acpi_task_0] 100072 D - 0xfffffe00586fe300 [acpi_task_1] 100073 D - 0xfffffe00586fe300 [acpi_task_2] 100075 D - 0xfffffe00085fc100 [mca taskq] 100076 D - 0xfffffe0057f77b00 [CAM taskq] db> show all locks Process 2 (clock) thread 0xfffffe0007a19000 (100030) shared rw sctpinp (sctpinp) r = 0 (0xfffffe0072a254a0) locked @ /syzkaller/managers/main/kernel/sys/netinet/sctp_output.c:4552 exclusive sleep mutex sctp-tcb (tcb) r = 0 (0xfffffe0072aa58b0) locked @ /syzkaller/managers/main/kernel/sys/netinet/sctputil.c:1776 db>