syzbot


assert failed: cd->cd_map != NULL

Status: auto-obsoleted due to no activity on 2024/10/16 05:28
Reported-by: syzbot+8a192f44b6e7680aacf9@syzkaller.appspotmail.com
First crash: 179d, last: 156d

Sample crash report:
[   1.7535693] panic: kernel diagnostic assertion "cd->cd_map != NULL" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/net/npf/npf_conndb.c", line 141 
[   1.7535693] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[   1.7762448] cpu0: Begin traceback...
[   1.7762448] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[   1.7935583] sd0: async, 8-bit transfers, tagged queueing
[   1.8035520] vpanic() at netbsd:vpanic+0xc9d
[   1.8535552] kern_assert() at netbsd:kern_assert+0x228
[   1.9135527] npf_conndb_create() at netbsd:npf_conndb_create+0x24a
[   1.9535560] npf_conn_init() at netbsd:npf_conn_init+0x437 sys/net/npf/npf_conn.c:178
[   1.9835568] npfk_create() at netbsd:npfk_create+0x219 sys/net/npf/npf.c:90
[   2.0135594] npf_modcmd() at netbsd:npf_modcmd+0x298 sys/net/npf/npf_os.c:184
[   2.0535568] module_do_builtin() at netbsd:module_do_builtin+0x1739 sys/kern/kern_module.c:950
[   2.0835565] module_init_class() at netbsd:module_init_class+0x393 sys/kern/kern_module.c:606
[   2.1135721] main() at netbsd:main+0x1011 sys/kern/init_main.c:663
[   2.1135721] cpu0: End traceback...
[   2.1259422] fatal breakpoint trap in supervisor mode
[   2.1259422] trap type 1 code 0 rip 0xffffffff8023687d cs 0x8 rflags 0x282 cr2 0 ilevel 0 rsp 0xffffffff86e818e0
[   2.1407166] curlwp 0xffffffff86a6fa40 pid 0.0 lowest kstack 0xffffffff86e7a2c0
Stopped in pid 0.0 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0xc9d
kern_assert() at netbsd:kern_assert+0x228
npf_conndb_create() at netbsd:npf_conndb_create+0x24a
npf_conn_init() at netbsd:npf_conn_init+0x437 sys/net/npf/npf_conn.c:178
npfk_create() at netbsd:npfk_create+0x219 sys/net/npf/npf.c:90
npf_modcmd() at netbsd:npf_modcmd+0x298 sys/net/npf/npf_os.c:184
module_do_builtin() at netbsd:module_do_builtin+0x1739 sys/kern/kern_module.c:950
module_init_class() at netbsd:module_init_class+0x393 sys/kern/kern_module.c:606
main() at netbsd:main+0x1011 sys/kern/init_main.c:663
ds          8918
es          3ba3
fs          18d0
gs          0
rdi         5
rsi         0
rbp         ffffffff86e818e0
rbx         0
rdx         1
rcx         ffffffff86a6fa40    lwp0
rax         ffffffff86a98918    msan_lwp0+0x1918
r8          0
--db_more--

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/18 05:28 netbsd ef911aaccf6f 0f902625 .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kmsan assert failed: cd->cd_map != NULL
2024/07/11 15:22 netbsd ef911aaccf6f c699c2eb .config console log report ci2-netbsd-kmsan assert failed: cd->cd_map != NULL
2024/06/25 01:52 netbsd ef911aaccf6f 215eef4a .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kmsan assert failed: cd->cd_map != NULL
* Struck through repros no longer work on HEAD.