Re: netbsd boot error: can't ssh into the instance (7)

15 views
Skip to first unread message

syzbot

unread,
Apr 11, 2022, 7:47:51 PM4/11/22
to Taylor R Campbell, rias...@netbsd.org, syzkaller-...@googlegroups.com
> #syz test: https://github.com/NetBSD/src trunk

This crash does not have a reproducer. I cannot test it.

>
> Let's try reverting this vioif change:
>
> https://mail-index.netbsd.org/source-changes/2022/03/24/msg137636.html

syzbot

unread,
Apr 11, 2022, 7:50:15 PM4/11/22
to Taylor R Campbell, rias...@netbsd.org, syzkaller-...@googlegroups.com
> #syz test: https://github.com/NetBSD/src trunk

This crash does not have a reproducer. I cannot test it.

>
> Let's try reverting both of these vioif changes:
>
> https://mail-index.netbsd.org/source-changes/2022/03/24/msg137635.html
> https://mail-index.netbsd.org/source-changes/2022/03/24/msg137636.html

Aleksandr Nogikh

unread,
Apr 12, 2022, 1:54:56 PM4/12/22
to syzbot, Taylor R Campbell, syzkaller-...@googlegroups.com
Let's see if it works now (attaching your syzbot1.patch)
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/000000000000782de705dc6992b3%40google.com.
syzbot1.patch

syzbot

unread,
Apr 12, 2022, 2:58:09 PM4/12/22
to nog...@google.com, rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

reproducer options is empty


Tested on:

commit: [unknown
git tree: https://github.com/NetBSD/src trunk
dashboard link: https://syzkaller.appspot.com/bug?extid=70caebd8e547ab18f981
compiler:
patch: https://syzkaller.appspot.com/x/patch.diff?x=146116e0f00000

syzbot

unread,
Apr 12, 2022, 6:16:14 PM4/12/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com

syzbot

unread,
Apr 12, 2022, 6:16:14 PM4/12/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com

Aleksandr Nogikh

unread,
Apr 13, 2022, 8:32:45 AM4/13/22
to syzbot, Taylor R Campbell, syzkaller-...@googlegroups.com
Seems that I forgot to fix one more thing. One more attempt:
syzbot1.patch

syzbot

unread,
Apr 13, 2022, 8:54:08 AM4/13/22
to nog...@google.com, rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

\ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +35522816/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / +2225920- \ | / - \ [1531128| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / +1134227- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / ]=0x6c8b640
- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / Loading /var/db/entropy-file
[ 1.0000000] cpu_rng: rdrand/rdseed
[ 1.0000000] entropy: ready
[ 1.0000000] entropy: entering seed from bootloader with 256 bits of entropy
[ 1.0000000] ksyms: checking .text
[ 1.0000000] ksyms: checking .rodata.hotpatch
[ 1.0000000] ksyms: checking .rodata
[ 1.0000000] ksyms: checking .eh_frame
[ 1.0000000] ksyms: checking link_set_x86_hotpatch_descriptors
[ 1.0000000] ksyms: checking link_set_sdt_argtypes_set
[ 1.0000000] ksyms: checking link_set_sdt_probes_set
[ 1.0000000] ksyms: checking link_set_sdt_providers_set
[ 1.0000000] ksyms: checking link_set_modules
[ 1.0000000] ksyms: checking link_set_sysctl_funcs
[ 1.0000000] ksyms: checking link_set_acpi_device_calls
[ 1.0000000] ksyms: checking link_set_evcnts
[ 1.0000000] ksyms: checking link_set_linux_module_param_desc
[ 1.0000000] ksyms: checking link_set_linux_module_param_info
[ 1.0000000] ksyms: checking link_set_domains
[ 1.0000000] ksyms: checking link_set_ieee80211_funcs
[ 1.0000000] ksyms: checking link_set_ah_chips
[ 1.0000000] ksyms: checking link_set_ah_rfs
[ 1.0000000] ksyms: checking link_set_dkwedge_methods
[ 1.0000000] ksyms: checking link_set_prop_linkpools
[ 1.0000000] ksyms: checking .data
[ 1.0000000] ksyms: checking .data.cacheline_aligned
[ 1.0000000] ksyms: checking .data.read_mostly
[ 1.0000000] ksyms: checking .bss
[ 1.0000000] ksyms: checking .note.netbsd.ident
[ 1.0000000] ksyms: checking .note.Xen
[ 1.0000000] ksyms: checking .ident
[ 1.0000000] ksyms: checking .comment
[ 1.0000000] ksyms: checking .gnu_debuglink
[ 1.0000000] ksyms: checking .symtab
[ 1.0000000] ksyms: checking .strtab
[ 1.0000000] ksyms: checking .shstrtab
[ 1.0000000] Loaded initial symtab at 0xffffffff86c00ab0, strtab at 0xffffffff86d767a8, # entries 63797
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021, 2022
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[ 1.0000000] NetBSD 9.99.96 (GENERIC_SYZKALLER) #0: Wed Apr 13 12:41:40 UTC 2022
[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7831 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present
[ 1.0384984] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0384984] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0384984] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0384984] com0: ns16550a, 16-byte FIFO
[ 1.0384984] com0: console
[ 1.0384984] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0384984] com1: ns16550a, 16-byte FIFO
[ 1.0384984] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0384984] com2: ns16550a, 16-byte FIFO
[ 1.0384984] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0384984] com3: ns16550a, 16-byte FIFO
[ 1.0384984] PEVT (QEMU0001) at acpi0 not configured
[ 1.0384984] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0384984] pckbd0 at pckbc1 (kbd slot)
[ 1.0384984] pckbc1: using irq 1 for kbd slot
[ 1.0384984] wskbd0 at pckbd0 mux 1
[ 1.0384984] pms0 at pckbc1 (aux slot)
[ 1.0384984] pckbc1: using irq 12 for aux slot
[ 1.0384984] wsmouse0 at pms0 mux 0
[ 1.0384984] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0384984] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0384984] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0384984] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0384984] piixpm0: SMBus disabled
[ 1.0384984] virtio0 at pci0 dev 3 function 0
[ 1.0384984] virtio0: SCSI device (rev. 0x00)
[ 1.0384984] vioscsi0 at virtio0: features: 0
[ 1.0384984] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0384984] virtio0: config interrupting at msix0 vec 0
[ 1.0384984] virtio0: queues interrupting at msix0 vec 1
[ 1.0384984] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0384984] virtio1 at pci0 dev 4 function 0
[ 1.0384984] virtio1: network device (rev. 0x00)
[ 1.0384984] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0384984] vioif0: Ethernet address 42:01:0a:80:0a:02
[ 1.0384984] virtio1: config interrupting at msix1 vec 0
[ 1.0384984] virtio1: queues interrupting at msix1 vec 1
[ 1.0384984] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0384984] virtio2 at pci0 dev 6 function 0
[ 1.0384984] virtio2: memory balloon device (rev. 0x00)
[ 1.0384984] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0384984] virtio2: interrupting at ioapic0 pin 10
[ 1.0384984] virtio3 at pci0 dev 7 function 0
[ 1.0384984] virtio3: entropy device (rev. 0x00)
[ 1.0384984] viornd0 at virtio3: features: 0
[ 1.0384984] virtio3: interrupting at ioapic0 pin 11
[ 1.0384984] isa0 at pcib0
[ 1.0384984] acpicpu0 at cpu0: ACPI CPU
[ 1.0384984] acpicpu1 at cpu1: ACPI CPU
[ 2.0074011] cpu0 has 2 core siblings: cpu1 cpu0
[ 2.0074011] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 2.0074011] cpu0 has 1 1st siblings: cpu0
[ 2.0182525] cpu0 first in package: cpu0
[ 2.0182525] cpu1 has 2 core siblings: cpu0 cpu1
[ 2.0182525] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 2.0182525] cpu1 has 1 1st siblings: cpu0
[ 2.0182525] cpu1 first in package: cpu0
[ 2.1942162] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 2.2042156] sd0: fabricating a geometry
[ 2.2042156] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 2.2142381] sd0: fabricating a geometry
[ 2.2242204] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 2.2342153] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 2.2442308] sd0: async, 8-bit transfers, tagged queueing
[ 2.5442168] usb0 at vhci0: USB revision 2.0
[ 2.5642569] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.9442195] usb1 at vhci1: USB revision 2.0
[ 2.9642468] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.3442164] usb2 at vhci2: USB revision 2.0
[ 3.3642455] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.7442181] usb3 at vhci3: USB revision 2.0
[ 3.7642449] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.1542154] usb4 at vhci4: USB revision 2.0
[ 4.1742556] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.5542055] usb5 at vhci5: USB revision 2.0
[ 4.5742354] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.9442150] usb6 at vhci6: USB revision 2.0
[ 4.9742559] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.3542092] usb7 at vhci7: USB revision 2.0
[ 5.3742401] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.4242060] boot device: sd0
[ 5.4242060] root on dk0 dumps on dk1
[ 5.4342082] dump_misc_init: max_paddr = 0x240000000
[ 5.4442057] mountroot: trying lfs...
[ 5.4742480] mountroot: trying ffs...
[ 5.4842063] root file system type: ffs
[ 5.4842063] kern.module.path=/stand/amd64/9.99.96/modules
[ 5.4950427] clock: unknown CMOS layout
[ 5.5142510] init: copying out path `/sbin/init' 11
Wed Apr 13 12:45:25 UTC 2022
Fast boot: skipping disk checks.
[ 6.5742070] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 6.5891104] /dev/dk0: lost blocks 0 files 0
swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=16e42888f00000


Tested on:

commit: d9e9344f vioif(4): issue VIRTIO_NET_CTRL_MAC_ADDR_SET ..

kernel config: https://syzkaller.appspot.com/x/.config?x=1420f906d33d9f1f
dashboard link: https://syzkaller.appspot.com/bug?extid=70caebd8e547ab18f981
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110
patch: https://syzkaller.appspot.com/x/patch.diff?x=1677eedf700000

Taylor R Campbell

unread,
Apr 13, 2022, 8:58:06 AM4/13/22
to Aleksandr Nogikh, syzkaller-...@googlegroups.com
> Date: Wed, 13 Apr 2022 14:32:33 +0200
> From: Aleksandr Nogikh <nog...@google.com>
>
> Seems that I forgot to fix one more thing. One more attempt:

Guess that didn't work. Is it possible to bisect easily here? Maybe
by trying `#syz test: https://github.com/NetBSD/src <commitid>'? Do
you know how to find what the latest good and earliest bad commits
are?

It looks like some of the logs may have been discarded, e.g. the one I
gave earlier in the email thread:

https://syzkaller.appspot.com/text?tag=CrashLog&x=16fc8b73700000

syzbot

unread,
Apr 13, 2022, 9:47:14 AM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +35459264| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +2289472/ - \ | / - [1530480\ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +1133637/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | ]=0x6c8b168
/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | Loading /var/db/entropy-file

[ 1.0000000] Loaded initial symtab at 0xffffffff86c00ab0, strtab at 0xffffffff86d76520, # entries 63770

[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021, 2022
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[ 1.0000000] NetBSD 9.99.96 (GENERIC_SYZKALLER) #0: Wed Apr 13 13:34:51 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7831 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0383668] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0383668] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0383668] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0383668] com0: ns16550a, 16-byte FIFO
[ 1.0383668] com0: console
[ 1.0383668] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0383668] com1: ns16550a, 16-byte FIFO
[ 1.0383668] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0383668] com2: ns16550a, 16-byte FIFO
[ 1.0383668] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0383668] com3: ns16550a, 16-byte FIFO
[ 1.0383668] PEVT (QEMU0001) at acpi0 not configured
[ 1.0383668] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0383668] pckbd0 at pckbc1 (kbd slot)
[ 1.0383668] pckbc1: using irq 1 for kbd slot
[ 1.0383668] wskbd0 at pckbd0 mux 1
[ 1.0383668] pms0 at pckbc1 (aux slot)
[ 1.0383668] pckbc1: using irq 12 for aux slot
[ 1.0383668] wsmouse0 at pms0 mux 0
[ 1.0383668] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0383668] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0383668] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0383668] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0383668] piixpm0: SMBus disabled
[ 1.0383668] virtio0 at pci0 dev 3 function 0
[ 1.0383668] virtio0: SCSI device (rev. 0x00)
[ 1.0383668] vioscsi0 at virtio0: features: 0
[ 1.0383668] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0383668] virtio0: config interrupting at msix0 vec 0
[ 1.0383668] virtio0: queues interrupting at msix0 vec 1
[ 1.0383668] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0383668] virtio1 at pci0 dev 4 function 0
[ 1.0383668] virtio1: network device (rev. 0x00)
[ 1.0383668] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0383668] vioif0: Ethernet address 42:01:0a:80:00:6b
[ 1.0383668] virtio1: config interrupting at msix1 vec 0
[ 1.0383668] virtio1: queues interrupting at msix1 vec 1
[ 1.0383668] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0383668] virtio2 at pci0 dev 6 function 0
[ 1.0383668] virtio2: memory balloon device (rev. 0x00)
[ 1.0383668] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0383668] virtio2: interrupting at ioapic0 pin 10
[ 1.0383668] virtio3 at pci0 dev 7 function 0
[ 1.0383668] virtio3: entropy device (rev. 0x00)
[ 1.0383668] viornd0 at virtio3: features: 0
[ 1.0383668] virtio3: interrupting at ioapic0 pin 11
[ 1.0383668] isa0 at pcib0
[ 1.0383668] acpicpu0 at cpu0: ACPI CPU
[ 1.0383668] acpicpu1 at cpu1: ACPI CPU
[ 2.0698032] cpu0 has 2 core siblings: cpu1 cpu0
[ 2.0698032] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 2.0698032] cpu0 has 1 1st siblings: cpu0
[ 2.0698032] cpu0 first in package: cpu0
[ 2.0698032] cpu1 has 2 core siblings: cpu0 cpu1
[ 2.0698032] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 2.0698032] cpu1 has 1 1st siblings: cpu0
[ 2.0698032] cpu1 first in package: cpu0
[ 2.2510280] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 2.2610335] sd0: fabricating a geometry
[ 2.2610335] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 2.2710420] sd0: fabricating a geometry
[ 2.2810350] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 2.2976598] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 2.3010383] sd0: async, 8-bit transfers, tagged queueing
[ 2.6110244] usb0 at vhci0: USB revision 2.0
[ 2.6410520] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.0410263] usb1 at vhci1: USB revision 2.0
[ 3.0610432] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.4610237] usb2 at vhci2: USB revision 2.0
[ 3.4810451] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.8810227] usb3 at vhci3: USB revision 2.0
[ 3.9110286] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.3110221] usb4 at vhci4: USB revision 2.0
[ 4.3410267] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.7410254] usb5 at vhci5: USB revision 2.0
[ 4.7710587] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.1810323] usb6 at vhci6: USB revision 2.0
[ 5.2010565] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.6110165] usb7 at vhci7: USB revision 2.0
[ 5.6310270] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.6710231] boot device: sd0
[ 5.6710231] root on dk0 dumps on dk1
[ 5.6810178] dump_misc_init: max_paddr = 0x240000000
[ 5.6916404] mountroot: trying lfs...
[ 5.6916404] mountroot: trying ffs...
[ 5.7025666] root file system type: ffs
[ 5.7025666] kern.module.path=/stand/amd64/9.99.96/modules
[ 5.7145633] clock: unknown CMOS layout
[ 5.7610364] init: copying out path `/sbin/init' 11
Wed Apr 13 13:38:31 UTC 2022

Fast boot: skipping disk checks.

[ 7.3410178] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 7.3551642] /dev/dk0: lost blocks 0 files 0

swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.


Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=1630bb97700000


Tested on:

commit: f63ef47a Describe the hardlink restrictions.
git tree: https://github.com/NetBSD/src

Note: no patches were applied.

Aleksandr Nogikh

unread,
Apr 13, 2022, 9:49:06 AM4/13/22
to Taylor R Campbell, syzkaller-...@googlegroups.com
On Wed, Apr 13, 2022 at 2:58 PM Taylor R Campbell <rias...@netbsd.org> wrote:
>
> > Date: Wed, 13 Apr 2022 14:32:33 +0200
> > From: Aleksandr Nogikh <nog...@google.com>
> >
> > Seems that I forgot to fix one more thing. One more attempt:
>
> Guess that didn't work. Is it possible to bisect easily here? Maybe
> by trying `#syz test: https://github.com/NetBSD/src <commitid>'? Do
> you know how to find what the latest good and earliest bad commits
> are?

I'll try to start this bisection manually. Also added an issue
(https://github.com/google/syzkaller/issues/3081) to not forget to
teach syzbot to bisect such boot-time bugs automatically.

>
> It looks like some of the logs may have been discarded, e.g. the one I
> gave earlier in the email thread:
>
> https://syzkaller.appspot.com/text?tag=CrashLog&x=16fc8b73700000

In general, syzbot doesn't keep all the crash logs for long (unless
they are on the dashboard or were in the original bug report). From
where did you get that link?

syzbot

unread,
Apr 13, 2022, 1:54:09 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +1598688| / - \ | / [1503960- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +973603/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / ]=0x365d8f8
- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / Loading /var/db/entropy-file

[ 1.0000000] cpu_rng: rdrand/rdseed
[ 1.0000000] entropy: ready
[ 1.0000000] entropy: entering seed from bootloader with 256 bits of entropy
[ 1.0000000] ksyms: checking .text
[ 1.0000000] ksyms: checking .rodata.hotpatch
[ 1.0000000] ksyms: checking .rodata
[ 1.0000000] ksyms: checking .eh_frame
[ 1.0000000] ksyms: checking link_set_x86_hotpatch_descriptors
[ 1.0000000] ksyms: checking link_set_sdt_argtypes_set
[ 1.0000000] ksyms: checking link_set_sdt_probes_set
[ 1.0000000] ksyms: checking link_set_sdt_providers_set
[ 1.0000000] ksyms: checking link_set_modules
[ 1.0000000] ksyms: checking link_set_sysctl_funcs
[ 1.0000000] ksyms: checking link_set_acpi_device_calls
[ 1.0000000] ksyms: checking link_set_evcnts
[ 1.0000000] ksyms: checking link_set_linux_module_param_desc
[ 1.0000000] ksyms: checking link_set_linux_module_param_info
[ 1.0000000] ksyms: checking link_set_domains
[ 1.0000000] ksyms: checking link_set_ieee80211_funcs
[ 1.0000000] ksyms: checking link_set_ah_chips
[ 1.0000000] ksyms: checking link_set_ah_rfs
[ 1.0000000] ksyms: checking link_set_dkwedge_methods
[ 1.0000000] ksyms: checking link_set_prop_linkpools
[ 1.0000000] ksyms: checking .data

[ 1.0000000] ksyms: checking .dtors

[ 1.0000000] ksyms: checking .data.cacheline_aligned
[ 1.0000000] ksyms: checking .data.read_mostly
[ 1.0000000] ksyms: checking .bss
[ 1.0000000] ksyms: checking .note.netbsd.ident
[ 1.0000000] ksyms: checking .note.Xen
[ 1.0000000] ksyms: checking .ident
[ 1.0000000] ksyms: checking .comment
[ 1.0000000] ksyms: checking .gnu_debuglink
[ 1.0000000] ksyms: checking .symtab
[ 1.0000000] ksyms: checking .strtab
[ 1.0000000] ksyms: checking .shstrtab

[ 1.0000000] Loaded initial symtab at 0xffffffff83600af8, strtab at 0xffffffff8376fdd0, # entries 62665

[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021, 2022
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[ 1.0000000] NetBSD 9.99.95 (GENERIC_SYZKALLER) #0: Wed Apr 13 17:42:11 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB

[ 1.0000000] avail memory = 7088 MB

[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0060096] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0060096] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0060096] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0060096] com0: ns16550a, 16-byte FIFO
[ 1.0060096] com0: console
[ 1.0060096] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0060096] com1: ns16550a, 16-byte FIFO
[ 1.0060096] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0060096] com2: ns16550a, 16-byte FIFO
[ 1.0060096] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0060096] com3: ns16550a, 16-byte FIFO
[ 1.0060096] PEVT (QEMU0001) at acpi0 not configured
[ 1.0060096] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0060096] pckbd0 at pckbc1 (kbd slot)
[ 1.0060096] pckbc1: using irq 1 for kbd slot
[ 1.0060096] wskbd0 at pckbd0 mux 1
[ 1.0060096] pms0 at pckbc1 (aux slot)
[ 1.0060096] pckbc1: using irq 12 for aux slot
[ 1.0060096] wsmouse0 at pms0 mux 0
[ 1.0060096] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0060096] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0060096] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0060096] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0060096] piixpm0: SMBus disabled
[ 1.0060096] virtio0 at pci0 dev 3 function 0
[ 1.0060096] virtio0: SCSI device (rev. 0x00)
[ 1.0060096] vioscsi0 at virtio0: features: 0
[ 1.0060096] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0060096] virtio0: config interrupting at msix0 vec 0
[ 1.0060096] virtio0: queues interrupting at msix0 vec 1
[ 1.0060096] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0060096] virtio1 at pci0 dev 4 function 0
[ 1.0060096] virtio1: network device (rev. 0x00)
[ 1.0060096] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0060096] vioif0: Ethernet address 42:01:0a:80:00:4f
[ 1.0060096] virtio1: config interrupting at msix1 vec 0
[ 1.0060096] virtio1: queues interrupting at msix1 vec 1
[ 1.0060096] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0060096] virtio2 at pci0 dev 6 function 0
[ 1.0060096] virtio2: memory balloon device (rev. 0x00)
[ 1.0060096] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0060096] virtio2: interrupting at ioapic0 pin 10
[ 1.0060096] virtio3 at pci0 dev 7 function 0
[ 1.0060096] virtio3: entropy device (rev. 0x00)
[ 1.0060096] viornd0 at virtio3: features: 0
[ 1.0060096] virtio3: interrupting at ioapic0 pin 11
[ 1.0060096] isa0 at pcib0
[ 1.0060096] acpicpu0 at cpu0: ACPI CPU
[ 1.0060096] acpicpu1 at cpu1: ACPI CPU
[ 1.3595400] cpu0 has 2 core siblings: cpu1 cpu0
[ 1.3595400] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 1.3699559] cpu0 has 1 1st siblings: cpu0
[ 1.3699559] cpu0 first in package: cpu0
[ 1.3699559] cpu1 has 2 core siblings: cpu0 cpu1
[ 1.3830866] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 1.3830866] cpu1 has 1 1st siblings: cpu0
[ 1.3920207] cpu1 first in package: cpu0
[ 1.5668521] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 1.5768583] sd0: fabricating a geometry
[ 1.5891006] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 1.5972203] sd0: fabricating a geometry
[ 1.6068511] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 1.6168603] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 1.6268542] sd0: async, 8-bit transfers, tagged queueing
[ 2.0468547] usb0 at vhci0: USB revision 2.0
[ 2.0768748] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.4168576] usb1 at vhci1: USB revision 2.0
[ 2.4468745] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.7868554] usb2 at vhci2: USB revision 2.0
[ 2.8168787] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.1668540] usb3 at vhci3: USB revision 2.0
[ 3.1868695] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.5268550] usb4 at vhci4: USB revision 2.0
[ 3.5568756] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.8968600] usb5 at vhci5: USB revision 2.0
[ 3.9268609] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.2768622] usb6 at vhci6: USB revision 2.0
[ 4.3068814] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.6668575] usb7 at vhci7: USB revision 2.0
[ 4.6868792] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.7368682] boot device: sd0
[ 4.7368682] root on dk0 dumps on dk1
[ 4.7469421] dump_misc_init: max_paddr = 0x240000000
[ 4.7598255] mountroot: trying lfs...
[ 4.7676453] mountroot: trying ffs...
[ 4.7676453] root file system type: ffs
[ 4.7781325] kern.module.path=/stand/amd64/9.99.95/modules
[ 4.7781325] clock: unknown CMOS layout
[ 4.7968710] init: copying out path `/sbin/init' 11
Wed Apr 13 17:45:42 UTC 2022

Fast boot: skipping disk checks.

[ 6.1168641] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 6.1277679] /dev/dk0: lost blocks 0 files 0

swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.


Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=1405acf0f00000


Tested on:

commit: fee4d946 localtime.c: reduce unnecessary diff to upstr..
git tree: https://github.com/NetBSD/src
kernel config: https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a

syzbot

unread,
Apr 13, 2022, 2:36:08 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

duct='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f2700: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...

>> NetBSD/x86 BIOS Boot, Revision 5.11 (Thu Jun 11 19:20:47 UTC 2020) (from NetBSD 9.99.65)
>> Memory: 639/3144640 k

1. Boot normally
2. Boot single user
3. Drop to boot prompt

Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds. 0 seconds.
command(s): rndseed /var/db/entropy-file;boot
default boot twice, skipping...
| / - \ | / - \ 52926944| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +1599008| / - \ | / [1503960- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +973603/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / ]=0x365d8f8

[ 1.0000000] NetBSD 9.99.95 (GENERIC_SYZKALLER) #0: Wed Apr 13 18:24:22 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7088 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0084577] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0084577] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0084577] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0084577] com0: ns16550a, 16-byte FIFO
[ 1.0084577] com0: console
[ 1.0084577] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0084577] com1: ns16550a, 16-byte FIFO
[ 1.0084577] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0084577] com2: ns16550a, 16-byte FIFO
[ 1.0084577] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0084577] com3: ns16550a, 16-byte FIFO
[ 1.0084577] PEVT (QEMU0001) at acpi0 not configured
[ 1.0084577] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0084577] pckbd0 at pckbc1 (kbd slot)
[ 1.0084577] pckbc1: using irq 1 for kbd slot
[ 1.0084577] wskbd0 at pckbd0 mux 1
[ 1.0084577] pms0 at pckbc1 (aux slot)
[ 1.0084577] pckbc1: using irq 12 for aux slot
[ 1.0084577] wsmouse0 at pms0 mux 0
[ 1.0084577] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0084577] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0084577] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0084577] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0084577] piixpm0: SMBus disabled
[ 1.0084577] virtio0 at pci0 dev 3 function 0
[ 1.0084577] virtio0: SCSI device (rev. 0x00)
[ 1.0084577] vioscsi0 at virtio0: features: 0
[ 1.0084577] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0084577] virtio0: config interrupting at msix0 vec 0
[ 1.0084577] virtio0: queues interrupting at msix0 vec 1
[ 1.0084577] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0084577] virtio1 at pci0 dev 4 function 0
[ 1.0084577] virtio1: network device (rev. 0x00)
[ 1.0084577] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0084577] vioif0: Ethernet address 42:01:0a:80:00:a6
[ 1.0084577] virtio1: config interrupting at msix1 vec 0
[ 1.0084577] virtio1: queues interrupting at msix1 vec 1
[ 1.0084577] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0084577] virtio2 at pci0 dev 6 function 0
[ 1.0084577] virtio2: memory balloon device (rev. 0x00)
[ 1.0084577] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0084577] virtio2: interrupting at ioapic0 pin 10
[ 1.0084577] virtio3 at pci0 dev 7 function 0
[ 1.0084577] virtio3: entropy device (rev. 0x00)
[ 1.0084577] viornd0 at virtio3: features: 0
[ 1.0084577] virtio3: interrupting at ioapic0 pin 11
[ 1.0084577] isa0 at pcib0
[ 1.0084577] acpicpu0 at cpu0: ACPI CPU
[ 1.0084577] acpicpu1 at cpu1: ACPI CPU
[ 1.5534784] panic: kernel diagnostic assertion "curlwp->l_pflag & LP_BOUND" failed: file "/syzkaller/jobs/netbsd/kernel/sys/kern/kern_entropy.c", line 740
[ 1.5678140] cpu0: Begin traceback...
[ 1.5715363] vpanic() at netbsd:vpanic+0x258
[ 1.5902051] _sub_D_65535_0() at netbsd:_sub_D_65535_0+-0x24013
[ 1.6102325] entropy_account_cpu() at netbsd:entropy_account_cpu+0x464
[ 1.6302675] entropy_softintr() at netbsd:entropy_softintr+0xde
[ 1.6603316] xc_broadcast() at netbsd:xc_broadcast+0x34e
[ 1.6703357] rnd_init_softint() at netbsd:rnd_init_softint+0xca
[ 1.7004004] main() at netbsd:main+0x48d
[ 1.7004004] cpu0: End traceback...
[ 1.7004004] fatal breakpoint trap in supervisor mode
[ 1.7132551] trap type 1 code 0 rip 0xffffffff80220a2d cs 0x8 rflags 0x202 cr2 0 ilevel 0 rsp 0xffffffff83867b30
[ 1.7251102] curlwp 0xffffffff8333b180 pid 0.0 lowest kstack 0xffffffff838602c0
Stopped in pid 0.0 (system) at netbsd:breakpoint+0x5: leave
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0x105
vpanic() at netbsd:vpanic+0x258
_sub_D_65535_0() at netbsd:_sub_D_65535_0+-0x24013
entropy_account_cpu() at netbsd:entropy_account_cpu+0x464
entropy_softintr() at netbsd:entropy_softintr+0xde
xc_broadcast() at netbsd:xc_broadcast+0x34e
rnd_init_softint() at netbsd:rnd_init_softint+0xca
main() at netbsd:main+0x48d
ds 0
es 0
fs 8ab3
gs 48db
rdi 0
rsi 1
rbp ffffffff83867b30
rbx 1
rdx 1
rcx ffffffff815cb626 db_panic+0xf6
rax 4
r8 4
r9 ffffffff815cb617 db_panic+0xe7
--db_more--

Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=15290f97700000


Tested on:

commit: d41958fb Added Intel V710 for 5000BaseT

syzbot

unread,
Apr 13, 2022, 4:04:09 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +1599008| / - \ | / [1503960- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +973603/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / ]=0x365d8f8

[ 1.0000000] NetBSD 9.99.95 (GENERIC_SYZKALLER) #0: Wed Apr 13 19:51:49 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7088 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0059233] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0059233] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0059233] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0059233] com0: ns16550a, 16-byte FIFO
[ 1.0059233] com0: console
[ 1.0059233] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0059233] com1: ns16550a, 16-byte FIFO
[ 1.0059233] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0059233] com2: ns16550a, 16-byte FIFO
[ 1.0059233] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0059233] com3: ns16550a, 16-byte FIFO
[ 1.0059233] PEVT (QEMU0001) at acpi0 not configured
[ 1.0059233] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0059233] pckbd0 at pckbc1 (kbd slot)
[ 1.0059233] pckbc1: using irq 1 for kbd slot
[ 1.0059233] wskbd0 at pckbd0 mux 1
[ 1.0059233] pms0 at pckbc1 (aux slot)
[ 1.0059233] pckbc1: using irq 12 for aux slot
[ 1.0059233] wsmouse0 at pms0 mux 0
[ 1.0059233] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0059233] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0059233] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0059233] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0059233] piixpm0: SMBus disabled
[ 1.0059233] virtio0 at pci0 dev 3 function 0
[ 1.0059233] virtio0: SCSI device (rev. 0x00)
[ 1.0059233] vioscsi0 at virtio0: features: 0
[ 1.0059233] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0059233] virtio0: config interrupting at msix0 vec 0
[ 1.0059233] virtio0: queues interrupting at msix0 vec 1
[ 1.0059233] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0059233] virtio1 at pci0 dev 4 function 0
[ 1.0059233] virtio1: network device (rev. 0x00)
[ 1.0059233] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0059233] vioif0: Ethernet address 42:01:0a:80:00:6a
[ 1.0059233] virtio1: config interrupting at msix1 vec 0
[ 1.0059233] virtio1: queues interrupting at msix1 vec 1
[ 1.0059233] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0059233] virtio2 at pci0 dev 6 function 0
[ 1.0059233] virtio2: memory balloon device (rev. 0x00)
[ 1.0059233] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0059233] virtio2: interrupting at ioapic0 pin 10
[ 1.0059233] virtio3 at pci0 dev 7 function 0
[ 1.0059233] virtio3: entropy device (rev. 0x00)
[ 1.0059233] viornd0 at virtio3: features: 0
[ 1.0059233] virtio3: interrupting at ioapic0 pin 11
[ 1.0059233] isa0 at pcib0
[ 1.0059233] acpicpu0 at cpu0: ACPI CPU
[ 1.0059233] acpicpu1 at cpu1: ACPI CPU
[ 2.2173549] cpu0 has 2 core siblings: cpu1 cpu0
[ 2.2275537] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 2.2275537] cpu0 has 1 1st siblings: cpu0
[ 2.2275537] cpu0 first in package: cpu0
[ 2.2408350] cpu1 has 2 core siblings: cpu0 cpu1
[ 2.2408350] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 2.2487427] cpu1 has 1 1st siblings: cpu0
[ 2.2487427] cpu1 first in package: cpu0
[ 2.4180374] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 2.4380377] sd0: fabricating a geometry
[ 2.4380377] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 2.4501617] sd0: fabricating a geometry
[ 2.4780374] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 2.4916273] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 2.5013902] sd0: async, 8-bit transfers, tagged queueing
[ 2.9280411] usb0 at vhci0: USB revision 2.0
[ 2.9480534] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.2980404] usb1 at vhci1: USB revision 2.0
[ 3.3180589] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.6580390] usb2 at vhci2: USB revision 2.0
[ 3.6880518] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.0380397] usb3 at vhci3: USB revision 2.0
[ 4.0580544] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.4080355] usb4 at vhci4: USB revision 2.0
[ 4.4280521] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.7780382] usb5 at vhci5: USB revision 2.0
[ 4.7980666] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.1380363] usb6 at vhci6: USB revision 2.0
[ 5.1680393] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.5280391] usb7 at vhci7: USB revision 2.0
[ 5.5480570] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.5980421] boot device: sd0
[ 5.5980421] root on dk0 dumps on dk1
[ 5.6092086] dump_misc_init: max_paddr = 0x240000000
[ 5.6227298] mountroot: trying lfs...
[ 5.6305635] mountroot: trying ffs...
[ 5.6480448] root file system type: ffs
[ 5.6480448] kern.module.path=/stand/amd64/9.99.95/modules
[ 5.6612563] clock: unknown CMOS layout
[ 5.7180405] init: copying out path `/sbin/init' 11
Wed Apr 13 19:55:18 UTC 2022

Fast boot: skipping disk checks.

[ 7.4180398] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 7.4180398] /dev/dk0: lost blocks 0 files 0

swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.

Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=14cbc9ef700000


Tested on:

commit: d41958fb Added Intel V710 for 5000BaseT
git tree: https://github.com/NetBSD/src
kernel config: https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a
dashboard link: https://syzkaller.appspot.com/bug?extid=70caebd8e547ab18f981
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110

patch: https://syzkaller.appspot.com/x/patch.diff?x=143496ccf00000

syzbot

unread,
Apr 13, 2022, 4:31:08 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - +1616928\ | / - \ | [1503216/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +973295| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | ]=0x365d4d8
/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | Loading /var/db/entropy-file

[ 1.0000000] Loaded initial symtab at 0xffffffff83600af8, strtab at 0xffffffff8376fae8, # entries 62634

[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021, 2022
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[ 1.0000000] NetBSD 9.99.95 (GENERIC_SYZKALLER) #0: Wed Apr 13 20:19:07 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7088 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0373351] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0373351] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0373351] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0373351] com: ns16550a, 16-byte FIFO
[ 1.0373351] com0: console
[ 1.0373351] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0373351] com1: ns16550a, 16-byte FIFO
[ 1.0373351] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0373351] com2: ns16550a, 16-byte FIFO
[ 1.0373351] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0373351] com3: ns16550a, 16-byte FIFO
[ 1.0373351] PEVT (QEMU0001) at acpi0 not configured
[ 1.0373351] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0373351] pckbd0 at pckbc1 (kbd slot)
[ 1.0373351] pckbc1: using irq 1 for kbd slot
[ 1.0373351] wskbd0 at pckbd0 mux 1
[ 1.0373351] pms0 at pckbc1 (aux slot)
[ 1.0373351] pckbc1: using irq 12 for aux slot
[ 1.0373351] wsmouse0 at pms0 mux 0
[ 1.0373351] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0373351] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0373351] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0373351] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0373351] piixpm0: SMBus disabled
[ 1.0373351] virtio0 at pci0 dev 3 function 0
[ 1.0373351] virtio0: SCSI device (rev. 0x00)
[ 1.0373351] vioscsi0 at virtio0: features: 0
[ 1.0373351] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0373351] virtio0: config interrupting at msix0 vec 0
[ 1.0373351] virtio0: queues interrupting at msix0 vec 1
[ 1.0373351] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0373351] virtio1 at pci0 dev 4 function 0
[ 1.0373351] virtio1: network device (rev. 0x00)
[ 1.0373351] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0373351] vioif0: Ethernet address 42:01:0a:80:0a:28
[ 1.0373351] virtio1: config interrupting at msix1 vec 0
[ 1.0373351] virtio1: queues interrupting at msix1 vec 1
[ 1.0373351] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0373351] virtio2 at pci0 dev 6 function 0
[ 1.0373351] virtio2: memory balloon device (rev. 0x00)
[ 1.0373351] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0373351] virtio2: interrupting at ioapic0 pin 10
[ 1.0373351] virtio3 at pci0 dev 7 function 0
[ 1.0373351] virtio3: entropy device (rev. 0x00)
[ 1.0373351] viornd0 at virtio3: features: 0
[ 1.0373351] virtio3: interrupting at ioapic0 pin 11
[ 1.0373351] isa0 at pcib0
[ 1.0373351] acpicpu0 at cpu0: ACPI CPU
[ 1.0373351] acpicpu1 at cpu1: ACPI CPU
[ 1.0373351] cpu0 has 2 core siblings: cpu1 cpu0
[ 1.0373351] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 1.0373351] cpu0 has 1 1st siblings: cpu0
[ 1.0373351] cpu0 first in package: cpu0
[ 1.0373351] cpu1 has 2 core siblings: cpu0 cpu1
[ 1.0373351] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 1.0373351] cpu1 has 1 1st siblings: cpu0
[ 1.0373351] cpu1 first in package: cpu0
[ 1.9111332] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 1.9211493] sd0: fabricating a geometry
[ 1.9333546] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 1.9418462] sd0: fabricating a geometry
[ 1.9711705] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 1.9873950] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 1.9973321] sd0: async, 8-bit transfers, tagged queueing
[ 2.4111339] usb0 at vhci0: USB revision 2.0
[ 2.4311999] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.8011466] usb1 at vhci1: USB revision 2.0
[ 2.8211784] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.1811393] usb2 at vhci2: USB revision 2.0
[ 3.2111799] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.5711484] usb3 at vhci3: USB revision 2.0
[ 3.6011868] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.9611415] usb4 at vhci4: USB revision 2.0
[ 3.9911760] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.3611550] usb5 at vhci5: USB revision 2.0
[ 4.3811821] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.7511444] usb6 at vhci6: USB revision 2.0
[ 4.7811749] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.1611444] usb7 at vhci7: USB revision 2.0
[ 5.1811753] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 5.2411599] boot device: sd0
[ 5.2411599] root on dk0 dumps on dk1
[ 5.2611585] dump_misc_init: max_paddr = 0x240000000
[ 5.2611585] mountroot: trying lfs...
[ 5.2744208] mountroot: trying ffs...
[ 5.2811774] root file system type: ffs
[ 5.2811774] kern.module.path=/stand/amd64/9.99.95/modules
[ 5.2923527] clock: unknown CMOS layout
[ 5.3811875] init: copying out path `/sbin/init' 11
Wed Apr 13 20:22:40 UTC 2022

Fast boot: skipping disk checks.

[ 6.9211526] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 6.9211526] /dev/dk0: lost blocks 0 files 0

swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.


Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=14b27504f00000


Tested on:

commit: 489899c7 fork.2: add _exit(2) xref and spell "ID" cons..

patch: https://syzkaller.appspot.com/x/patch.diff?x=122ab2ff700000

syzbot

unread,
Apr 13, 2022, 5:54:13 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+70caeb...@syzkaller.appspotmail.com

Tested on:

commit: 67cbad19 entropy(9): Bind to CPU temporarily to avoid ..
patch: https://syzkaller.appspot.com/x/patch.diff?x=14074ab8f00000

Note: testing is done by a robot and is best-effort only.

syzbot

unread,
Apr 13, 2022, 6:44:09 PM4/13/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

[ 1.0000000] NetBSD 9.99.95 (GENERIC_SYZKALLER) #0: Wed Apr 13 22:31:54 UTC 2022

[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7088 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present

[ 1.0126096] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0126096] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0126096] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0126096] com0: ns16550a, 16-byte FIFO
[ 1.0126096] com0: console
[ 1.0126096] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0126096] com1: ns16550a, 16-byte FIFO
[ 1.0126096] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0126096] com2: ns16550a, 16-byte FIFO
[ 1.0126096] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0126096] com3: ns16550a, 16-byte FIFO
[ 1.0126096] PEVT (QEMU0001) at acpi0 not configured
[ 1.0126096] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0126096] pckbd0 at pckbc1 (kbd slot)
[ 1.0126096] pckbc1: using irq 1 for kbd slot
[ 1.0126096] wskbd0 at pckbd0 mux 1
[ 1.0126096] pms0 at pckbc1 (aux slot)
[ 1.0126096] pckbc1: using irq 12 for aux slot
[ 1.0126096] wsmouse0 at pms0 mux 0
[ 1.0126096] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0126096] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0126096] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0126096] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0126096] piixpm0: SMBus disabled
[ 1.0126096] virtio0 at pci0 dev 3 function 0
[ 1.0126096] virtio0: SCSI device (rev. 0x00)
[ 1.0126096] vioscsi0 at virtio0: features: 0
[ 1.0126096] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0126096] virtio0: config interrupting at msix0 vec 0
[ 1.0126096] virtio0: queues interrupting at msix0 vec 1
[ 1.0126096] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0126096] virtio1 at pci0 dev 4 function 0
[ 1.0126096] virtio1: network device (rev. 0x00)
[ 1.0126096] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0126096] vioif0: Ethernet address 42:01:0a:80:01:2b
[ 1.0126096] virtio1: config interrupting at msix1 vec 0
[ 1.0126096] virtio1: queues interrupting at msix1 vec 1
[ 1.0126096] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0126096] virtio2 at pci0 dev 6 function 0
[ 1.0126096] virtio2: memory balloon device (rev. 0x00)
[ 1.0126096] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0126096] virtio2: interrupting at ioapic0 pin 10
[ 1.0126096] virtio3 at pci0 dev 7 function 0
[ 1.0126096] virtio3: entropy device (rev. 0x00)
[ 1.0126096] viornd0 at virtio3: features: 0
[ 1.0126096] virtio3: interrupting at ioapic0 pin 11
[ 1.0126096] isa0 at pcib0
[ 1.0126096] acpicpu0 at cpu0: ACPI CPU
[ 1.0126096] acpicpu1 at cpu1: ACPI CPU
[ 1.4092958] cpu0 has 2 core siblings: cpu1 cpu0
[ 1.4092958] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 1.4195354] cpu0 has 1 1st siblings: cpu0
[ 1.4195354] cpu0 first in package: cpu0
[ 1.4195354] cpu1 has 2 core siblings: cpu0 cpu1
[ 1.4309854] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 1.4309854] cpu1 has 1 1st siblings: cpu0
[ 1.4398410] cpu1 first in package: cpu0
[ 1.6145788] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 1.6245882] sd0: fabricating a geometry
[ 1.6346647] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 1.6445886] sd0: fabricating a geometry
[ 1.6545779] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 1.6646052] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 1.6745973] sd0: async, 8-bit transfers, tagged queueing
[ 2.0445811] usb0 at vhci0: USB revision 2.0
[ 2.0746124] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.4345830] usb1 at vhci1: USB revision 2.0
[ 2.4546025] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 2.8145826] usb2 at vhci2: USB revision 2.0
[ 2.8445939] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.2045854] usb3 at vhci3: USB revision 2.0
[ 3.2346212] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.5945845] usb4 at vhci4: USB revision 2.0
[ 3.6245909] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 3.9945876] usb5 at vhci5: USB revision 2.0
[ 4.0146052] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.3845890] usb6 at vhci6: USB revision 2.0
[ 4.4046085] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.7745931] usb7 at vhci7: USB revision 2.0
[ 4.8046185] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 4.8545897] boot device: sd0
[ 4.8545897] root on dk0 dumps on dk1
[ 4.8655088] dump_misc_init: max_paddr = 0x240000000
[ 4.8788160] mountroot: trying lfs...
[ 4.8870377] mountroot: trying ffs...
[ 4.8945852] root file system type: ffs
[ 4.8945852] kern.module.path=/stand/amd64/9.99.95/modules
[ 4.9053112] clock: unknown CMOS layout
[ 4.9446084] init: copying out path `/sbin/init' 11
Wed Apr 13 22:35:20 UTC 2022

Fast boot: skipping disk checks.

[ 6.1745928] /dev/dk0: file system not clean (fs_clean=0x4); please fsck(8)
[ 6.1745928] /dev/dk0: lost blocks 0 files 0

swapctl: setting dump device to /dev/dk1
swapctl: adding /dev/dk1 as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 1
ddb.commandonenter: trace;show registers -> "show registers;bt;show panic;ps;show all locks;show all pages;show all pools"
ddb.lines: 24 -> 0
ddb.maxwidth: 80 -> 0
Starting network.


Error text is too large and was truncated, full error text is at:

https://syzkaller.appspot.com/x/error.txt?x=10f06340f00000


Tested on:

commit: 183940b1 viornd(4): Process host entropy in softint co..

patch: https://syzkaller.appspot.com/x/patch.diff?x=14711a50f00000

syzbot

unread,
Apr 14, 2022, 8:35:10 AM4/14/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+70caeb...@syzkaller.appspotmail.com

Tested on:

commit: 7f4f5a2b entropy(9): Include <sys/lwp.h> and <sys/proc..
patch: https://syzkaller.appspot.com/x/patch.diff?x=16240ae0f00000

syzbot

unread,
Apr 14, 2022, 9:38:09 AM4/14/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+70caeb...@syzkaller.appspotmail.com

Tested on:

commit: 0ab1a55a lint: remove trailing whitespace from README,..
kernel config: https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a
dashboard link: https://syzkaller.appspot.com/bug?extid=70caebd8e547ab18f981
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110
patch: https://syzkaller.appspot.com/x/patch.diff?x=16396140f00000
Reply all
Reply to author
Forward
0 new messages