panic: ASan: Invalid access, 1-byte read at 0xffffffff82a3d6f8, GenericRedZone(fa) cpuid = 1 time = 1794643988 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe0056f61730 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0056f61890 vpanic() at vpanic+0x257/frame 0xfffffe0056f61a50 panic() at panic+0xb5/frame 0xfffffe0056f61b20 kasan_report() at kasan_report+0xdf/frame 0xfffffe0056f61bf0 strlcpy() at strlcpy+0x5f/frame 0xfffffe0056f61c30 netmap_vale_list() at netmap_vale_list+0x419/frame 0xfffffe0056f61d10 netmap_ioctl() at netmap_ioctl+0x1463/frame 0xfffffe0056f62230 freebsd_netmap_ioctl() at freebsd_netmap_ioctl+0x17e/frame 0xfffffe0056f622f0 devfs_ioctl() at devfs_ioctl+0x266/frame 0xfffffe0056f623e0 VOP_IOCTL_APV() at VOP_IOCTL_APV+0x87/frame 0xfffffe0056f62410 vn_ioctl() at vn_ioctl+0x3cf/frame 0xfffffe0056f62620 devfs_ioctl_f() at devfs_ioctl_f+0x69/frame 0xfffffe0056f62670 kern_ioctl() at kern_ioctl+0x52a/frame 0xfffffe0056f62750 user_ioctl() at user_ioctl+0x332/frame 0xfffffe0056f628d0 freebsd32_ioctl() at freebsd32_ioctl+0x607/frame 0xfffffe0056f62d10 ia32_syscall() at ia32_syscall+0x538/frame 0xfffffe0056f62f30 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffda68 KDB: enter: panic [ thread pid 1703 tid 100104 ] Stopped at kdb_enter+0x6e: movq $0,0x26bbed7(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0 rax 0x12 rcx 0x1fffffc00adec29c rdx 0xdffff7c000000000 rbx 0xffffffff82a248a0 .str.27 rsp 0xfffffe0056f61870 rbp 0xfffffe0056f61890 rsi 0 rdi 0xffffffff832004e0 panicstr r8 0 r9 0xffffffff r10 0 r11 0xfffffe00592d0550 r12 0xfffffe00592d0000 r13 0xfffffffffffffffd r14 0xffffffff82a248a0 .str.27 r15 0 rip 0xffffffff8175f87e kdb_enter+0x6e rflags 0x200046 kernload+0x46 kdb_enter+0x6e: movq $0,0x26bbed7(%rip) db> show proc Process 1703 (syz-executor) at 0xfffffe00592d4b08: state: NORMAL uid: 0 gid: 0 supp gids: 0, 5 parent: pid 1668 at 0xfffffe005932a5d8 ABI: FreeBSD ELF32 flag: 0x10000000 flag2: 0 arguments: ci-freebsd-i386/syz-executor exec reaper: 0xfffffe0007a09070 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe0059362db0 (map 0xfffffe0059362db0) (map.pmap 0xfffffe0059362e50) (pmap 0xfffffe0059362ec0) threads: 1 100104 Run CPU 1 syz-executor db> ps pid ppid pgrp uid state wmesg wchan cmd 1703 1668 1668 0 R CPU 1 syz-executor 1702 1651 963 0 R CPU 0 sh 1668 1568 1668 0 S nanslp 0xffffffff83dfc741 syz-executor 1651 963 963 0 S piperd 0xfffffe00729cd5d0 sh 1568 1541 1541 0 S select 0xfffffe0058f76840 syz-executor 1541 1540 1541 0 Ss (threaded) syz-execprog 100132 S uwait 0xfffffe0058e68900 syz-execprog 100153 S uwait 0xfffffe0058e69a00 syz-execprog 100154 S uwait 0xfffffe0058e67f00 syz-execprog 100155 S uwait 0xfffffe0058e68100 syz-execprog 100156 S uwait 0xfffffe0058b8e600 syz-execprog 100157 S uwait 0xfffffe0058b8e400 syz-execprog 100158 S uwait 0xfffffe0058b8e200 syz-execprog 100159 S uwait 0xfffffe0058e68700 syz-execprog 100160 S uwait 0xfffffe005aae4b00 syz-execprog 100161 S kqread 0xfffffe00716fd400 syz-execprog 100162 S uwait 0xfffffe005aae4f00 syz-execprog 100163 S uwait 0xfffffe0058e6b400 syz-execprog 100182 S uwait 0xfffffe005ab92a00 syz-execprog 100185 S uwait 0xfffffe005aadfd00 syz-execprog 1540 1538 1538 0 S select 0xfffffe0054361940 sshd-session 1538 1438 1538 0 Ss select 0xfffffe005a5b9c40 sshd-session 1509 1 1509 0 Ss+ ttyin 0xfffffe0058bc00b0 getty 1508 1 1508 0 Ss+ ttyin 0xfffffe005a37f8b0 getty 1507 1 1507 0 Ss+ ttyin 0xfffffe005a3808b0 getty 1506 1 1506 0 Ss+ ttyin 0xfffffe005a3818b0 getty 1505 1 1505 0 Ss+ ttyin 0xfffffe005a3828b0 getty 1504 1 1504 0 Ss+ ttyin 0xfffffe0057eda8b0 getty 1503 1 1503 0 Ss+ ttyin 0xfffffe0057edb8b0 getty 1502 1 1502 0 Ss+ ttyin 0xfffffe0057ee18b0 getty 1501 1 1501 0 Ss+ ttyin 0xfffffe0057ee38b0 getty 1497 1 1497 0 Ss select 0xfffffe005a5b4240 logger 1492 1 17 0 S+ piperd 0xfffffe005a94f8b8 logger 1491 1490 17 0 S+ nanslp 0xffffffff83dfc741 sleep 1490 1 17 0 S+ wait 0xfffffe00592d3568 sh 1479 1 1479 0 Ss nanslp 0xffffffff83dfc741 cron 1438 1 1438 0 Ss select 0xfffffe0054360a40 sshd 1261 1 1261 0 Ss select 0xfffffe0054360740 syslogd 1260 1 1257 0 S select 0xfffffe0054360640 syslogd 1257 1 1257 0 Ss kqread 0xfffffe005a702000 syslogd 963 1 963 0 Ss wait 0xfffffe00592d3ad0 devd 962 1 962 65 Ss select 0xfffffe005435f640 dhclient 829 1 829 0 Ss select 0xfffffe005a5b7c40 dhclient 826 1 826 0 Ss select 0xfffffe005a5b7e40 dhclient 406 0 0 0 DL - 0xffffffff83a2b240 [busdma] 16 0 0 0 DL syncer 0xffffffff83ebec00 [syncer] 15 0 0 0 DL vlruwt 0xfffffe0059200568 [vnlru] 14 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83ebd160 [bufdaemon] 100082 D - 0xffffffff83202740 [bufspacedaemon-0] 100097 D sdflush 0xfffffe00590738e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83effc60 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100077 D psleep 0xffffffff83ee5d48 [dom0] 100080 D launds 0xffffffff83ee5d54 [laundry: dom0] 100081 D umarcl 0xffffffff81f9cab0 [uma] 7 0 0 0 DL - 0xffffffff83b75570 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff847e05c0 [pf purge] 5 0 0 0 DL waiting 0xffffffff84aef8c0 [sctp_iterator] 4 0 0 0 DL (threaded) [cam] 100045 D - 0xffffffff83b3f340 [doneq0] 100046 D - 0xffffffff83b3f2c0 [async] 100075 D - 0xffffffff83b3f140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83ee14c0 [crypto] 100043 D crypto_ 0xfffffe005815f830 [crypto returns 0] 100044 D crypto_ 0xfffffe005815f880 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100037 D - 0xffffffff83da5620 [g_event] 100038 D - 0xffffffff83da5640 [g_up] 100039 D - 0xffffffff83da5660 [g_down] 2 0 0 0 WL (threaded) [clock] 100031 I [clock (0)] 100032 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100013 I [swi6: task queue] 100014 I [swi6: Giant taskq] 100016 I [swi5: fast taskq] 100033 I [swi1: netisr 0] 100034 I [swi1: hpts] 100035 I [swi1: hpts] 100047 I [irq24: virtio_pci0] 100048 I [irq25: virtio_pci0] 100049 I [irq26: virtio_pci0] 100050 I [irq27: virtio_pci0] 100051 I [irq28: virtio_pci1] 100052 I [irq29: virtio_pci1] 100053 I [irq30: virtio_pci1] 100054 I [irq31: virtio_pci1] 100055 I [irq32: virtio_pci1] 100060 I [irq10: virtio_pci2] 100062 I [irq1: atkbd0] 100063 I [irq12: psm0] 100064 I [swi0: uart uart++] 100068 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0007a09070 [init] 10 0 0 0 DL audit_w 0xffffffff83ee1fe0 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D - 0xffffffff84efbff0 [kernel] 100005 D - 0xfffffe0054340c00 [softirq_0] 100006 D - 0xfffffe0054340a00 [softirq_1] 100007 D - 0xfffffe0054340800 [if_io_tqg_0] 100008 D - 0xfffffe0054340600 [if_io_tqg_1] 100009 D - 0xfffffe0054340400 [if_config_tqg_0] 100010 D - 0xfffffe00086fa800 [kqueue_ctx taskq] 100011 D - 0xfffffe00086fa600 [jail_remove taskq] 100012 D - 0xfffffe00086fa400 [bus taskq] 100015 D - 0xfffffe00086f9e00 [thread taskq] 100017 D - 0xfffffe00086f9a00 [aiod_kick taskq] 100018 D - 0xfffffe00086f9800 [deferred_unmount ta] 100019 D - 0xfffffe00086f9600 [inm_free taskq] 100020 D - 0xfffffe00086f9400 [in6m_free taskq] 100021 D - 0xfffffe00086f9200 [linuxkpi_irq_wq] 100022 D - 0xfffffe00086f9000 [linuxkpi_short_wq_0] 100023 D - 0xfffffe00086f9000 [linuxkpi_short_wq_1] 100024 D - 0xfffffe00086f9000 [linuxkpi_short_wq_2] 100025 D - 0xfffffe00086f9000 [linuxkpi_short_wq_3] 100026 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_0] 100027 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_1] 100028 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_2] 100029 D - 0xfffffe00086f8e00 [linuxkpi_long_wq_3] 100036 D - 0xfffffe00086f8600 [firmware taskq] 100040 D - 0xfffffe00086f8200 [crypto_0] 100041 D - 0xfffffe00086f8200 [crypto_1] 100056 D - 0xfffffe0058a41200 [vtnet0 rxq 0] 100057 D - 0xfffffe0058a41000 [vtnet0 txq 0] 100058 D - 0xfffffe0058a40e00 [vtnet0 rxq 1] 100059 D - 0xfffffe0058a40c00 [vtnet0 txq 1] 100061 D vtbslp 0xfffffe0058a24b00 [virtio_balloon] 100065 D - 0xffffffff82a28fe0 [deadlkres] 100069 D - 0xfffffe005a29bc00 [acpi_task_0] 100070 D - 0xfffffe005a29bc00 [acpi_task_1] 100071 D - 0xfffffe005a29bc00 [acpi_task_2] 100073 D - 0xfffffe00086faa00 [mca taskq] 100074 D - 0xfffffe00086f7e00 [CAM taskq] 100076 D - 0xfffffe005a29ae00 [ipsec_offload] 100124 D - 0xfffffe00716f0200 [netlink_socket (PID] db> show all locks Process 1703 (syz-executor) thread 0xfffffe00592d0000 (100104) exclusive sx netmap_global_lock (netmap_global_lock) r = 0 (0xffffffff83b73120) locked @ /syzkaller/managers/ci-freebsd-i386/kernel/sys/dev/netmap/netmap_vale.c:371 db>