syzbot


panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:LINE, member access (2)

Status: closed as invalid on 2020/05/25 05:43
Reported-by: syzbot+7fda022285eb02f88696@syzkaller.appspotmail.com
First crash: 1883d, last: 1745d
Duplicate bugs (2)
duplicates (2):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
panic: UuBbSca_nu:i oUmondvee:fi neredr oBr=e1h4a[ 1 1861d 1861d 0/3 closed as dup on 2019/10/19 05:49
panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:LINE, member ac 1 1862d 1862d 0/3 closed as dup on 2019/10/19 06:01
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
netbsd panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:LINE, member access 1 1886d 1886d 2/3 fixed on 2019/09/24 05:41

Sample crash report:
[  45.5701149] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:631:41, member access within misaligned address 0xffff8c30dbb5830c for type 'struct rt_msghdr50' which requires 8 byte alignment

[  45.5968600] cpu0: Begin traceback...
[  45.6201507] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
[  45.6802175] isAlreadyReported() at netbsd:isAlreadyReported
[  45.7402845] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc
[  45.7903369] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408
[  45.8504022] compat_50_route_output() at netbsd:compat_50_route_output+0x1a4a sys/net/rtsock_shared.c:631
[  45.9004563] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182
[  45.9605215] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f compat_50_route_send sys/net/rtsock_shared.c:464 [inline]
[  45.9605215] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f sys/net/rtsock_shared.c:1663
[  46.0105761] sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059
[  46.0606314] soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122
[  46.1206946] do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415
[  46.1707526] sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline]
[  46.1707526] sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381
[  46.2308156] sys_syscall() at netbsd:sys_syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline]
[  46.2308156] sys_syscall() at netbsd:sys_syscall+0x1c8 sys/kern/sys_syscall.c:77
[  46.2808702] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline]
[  46.2808702] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline]
[  46.2808702] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138
[  46.3008921] --- syscall (number 0) ---
[  46.3008921] Skipping crash dump on recursive panic
[  46.3147915] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment

[  46.3363902] Faulted in mid-traceback; aborting...
[  46.3412528] fatal breakpoint trap in supervisor mode
[  46.3412528] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x200004c0 ilevel 0x4 rsp 0xffffd580a697c6a0
[  46.3572159] curlwp 0xffff8c30dad496a0 pid 620.1 lowest kstack 0xffffd580a697a2c0
Stopped in pid 620.1 (syz-executor1609) at      netbsd:breakpoint+0x5:  leave
?
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0xd1 sys/ddb/db_panic.c:67
vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
isAlreadyReported() at netbsd:isAlreadyReported
HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc
HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408
db_nextframe() at netbsd:db_nextframe+0x6f6 sys/arch/amd64/amd64/db_machdep.c:153
db_stack_trace_print() at netbsd:db_stack_trace_print+0x2c4 sys/arch/x86/x86/db_trace.c:277
db_panic() at netbsd:db_panic+0x8b x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:67 [inline]
db_panic() at netbsd:db_panic+0x8b sys/ddb/db_panic.c:57
vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
isAlreadyReported() at netbsd:isAlreadyReported
HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc
HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408
compat_50_route_output() at netbsd:compat_50_route_output+0x1a4a sys/net/rtsock_shared.c:631
raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182
compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f compat_50_route_send sys/net/rtsock_shared.c:464 [inline]
compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f sys/net/rtsock_shared.c:1663
sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059
soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122
do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415
sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline]
sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381
sys_syscall() at netbsd:sys_syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline]
sys_syscall() at netbsd:sys_syscall+0x1c8 sys/kern/sys_syscall.c:77
syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline]
syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline]
syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138
--- syscall (number 0) ---
[  46.3645931] Skipping crash dump on recursive panic
[  46.3645931] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment

[  46.3645931] Faulted in mid-traceback; aborting...
[  46.3645931] fatal breakpoint trap in supervisor mode
[  46.3645931] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x200004c0 ilevel 0x8 rsp 0xffffd580a697b3a0
[  46.3645931] curlwp 0xffff8c30dad496a0 pid 620.1 lowest kstack 0xffffd580a697a2c0
Stopped in pid 620.1 (syz-executor1609) at      netbsd:breakpoint+0x5:  leave

Crashes (1202):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/04 12:27 netbsd f5499760069e 0ecb9746 .config console log report syz C ci2-netbsd-kubsan
2019/11/27 19:19 netbsd 1abe295820c2 0d63f89c .config console log report syz C ci2-netbsd-kubsan
2019/11/26 14:16 netbsd c8ea5c08277e 598ca6c8 .config console log report syz C ci2-netbsd-kubsan
2019/11/25 16:21 netbsd c8ea5c08277e 598ca6c8 .config console log report syz C ci2-netbsd-kubsan
2019/11/20 00:18 netbsd 6bce80fe2a9c 432c7650 .config console log report syz C ci2-netbsd-kubsan
2019/11/17 06:14 netbsd e3286ae62cb3 cdac920b .config console log report syz C ci2-netbsd-kubsan
2019/11/03 01:26 netbsd e3286ae62cb3 d603afc9 .config console log report syz C ci2-netbsd-kubsan
2019/10/25 16:42 netbsd e3286ae62cb3 04ca72cd .config console log report syz C ci2-netbsd-kubsan
2019/10/18 16:46 netbsd 4122e9496724 8c88c9c1 .config console log report syz C ci2-netbsd-kubsan
2019/10/10 01:46 netbsd 678da7f9494f c4b9981b .config console log report syz C ci2-netbsd-kubsan
2019/09/26 18:18 netbsd 296d4f7a7f50 24d405a3 .config console log report syz C ci2-netbsd-kubsan
2020/02/11 16:18 netbsd fd34b2d2587c 084454ae .config console log report ci2-netbsd-kubsan
2020/02/11 14:30 netbsd fd34b2d2587c 084454ae .config console log report ci2-netbsd-kubsan
2020/02/10 01:44 netbsd fd34b2d2587c 35f5e45e .config console log report ci2-netbsd-kubsan
2020/02/09 22:23 netbsd fd34b2d2587c 35f5e45e .config console log report ci2-netbsd-kubsan
2020/02/09 05:22 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 22:08 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 18:31 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 16:30 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 06:47 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 05:39 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/08 03:38 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/07 19:51 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/07 01:40 netbsd fd34b2d2587c 06150bf1 .config console log report ci2-netbsd-kubsan
2020/02/06 12:54 netbsd fd34b2d2587c 5be3a391 .config console log report ci2-netbsd-kubsan
2020/02/06 04:10 netbsd fd34b2d2587c 662cf49a .config console log report ci2-netbsd-kubsan
2020/02/06 00:11 netbsd fd34b2d2587c 662cf49a .config console log report ci2-netbsd-kubsan
2020/02/05 20:57 netbsd fd34b2d2587c 662cf49a .config console log report ci2-netbsd-kubsan
2020/02/05 19:18 netbsd fd34b2d2587c 662cf49a .config console log report ci2-netbsd-kubsan
2020/02/05 13:43 netbsd fd34b2d2587c 662cf49a .config console log report ci2-netbsd-kubsan
2020/02/05 10:25 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/05 06:57 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/05 03:43 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/04 22:56 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/04 21:04 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/04 11:02 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/04 06:49 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/03 23:47 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/03 17:40 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/03 03:22 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/03 02:15 netbsd fd34b2d2587c 93e5e335 .config console log report ci2-netbsd-kubsan
2020/02/01 07:34 netbsd fd34b2d2587c 0eb59c27 .config console log report ci2-netbsd-kubsan
2020/02/01 00:10 netbsd fd34b2d2587c 0eb59c27 .config console log report ci2-netbsd-kubsan
2020/01/30 07:50 netbsd fd34b2d2587c 5ed23f9a .config console log report ci2-netbsd-kubsan
2020/01/29 20:10 netbsd fd34b2d2587c 5ed23f9a .config console log report ci2-netbsd-kubsan
2020/01/29 17:00 netbsd fd34b2d2587c 5ed23f9a .config console log report ci2-netbsd-kubsan
2020/01/29 15:19 netbsd fd34b2d2587c c8e81ce4 .config console log report ci2-netbsd-kubsan
2020/01/29 02:19 netbsd fd34b2d2587c c8e81ce4 .config console log report ci2-netbsd-kubsan
2020/01/29 01:12 netbsd fd34b2d2587c c8e81ce4 .config console log report ci2-netbsd-kubsan
2020/01/28 18:46 netbsd fd34b2d2587c c8e81ce4 .config console log report ci2-netbsd-kubsan
2020/01/28 08:17 netbsd fd34b2d2587c 56cd6c9b .config console log report ci2-netbsd-kubsan
2020/01/28 06:52 netbsd fd34b2d2587c 56cd6c9b .config console log report ci2-netbsd-kubsan
2020/01/28 01:27 netbsd fd34b2d2587c 56cd6c9b .config console log report ci2-netbsd-kubsan
2019/09/26 17:55 netbsd 296d4f7a7f50 24d405a3 .config console log report ci2-netbsd-kubsan
* Struck through repros no longer work on HEAD.