syzbot


UBSAN: object-size-mismatch in tipc_sk_filter_rcv

Status: auto-closed as invalid on 2021/05/13 13:42
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+bc0b77f2a9209716067f@syzkaller.appspotmail.com
First crash: 1186d, last: 1160d
Discussions (1)
Title Replies (including bot) Last reply
UBSAN: object-size-mismatch in tipc_sk_filter_rcv 0 (1) 2020/12/23 10:24

Sample crash report:
================================================================================
UBSAN: object-size-mismatch in ./include/linux/skbuff.h:2021:28
member access within address 00000000ea7e0e2f with insufficient space
for an object of type 'struct sk_buff'
CPU: 1 PID: 9815 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x137/0x1be lib/dump_stack.c:120
 ubsan_epilogue lib/ubsan.c:148 [inline]
 handle_object_size_mismatch lib/ubsan.c:297 [inline]
 ubsan_type_mismatch_common+0x1e2/0x390 lib/ubsan.c:310
 __ubsan_handle_type_mismatch_v1+0x41/0x50 lib/ubsan.c:339
 __skb_queue_before include/linux/skbuff.h:2021 [inline]
 __skb_queue_tail include/linux/skbuff.h:2054 [inline]
 tipc_sk_filter_rcv+0x2bf/0x2330 net/tipc/socket.c:2342
 tipc_sk_enqueue net/tipc/socket.c:2438 [inline]
 tipc_sk_rcv+0x3d9/0xf80 net/tipc/socket.c:2490
 tipc_node_xmit+0x285/0xb10 net/tipc/node.c:1689
 tipc_node_xmit_skb+0xa9/0xf0 net/tipc/node.c:1749
 __tipc_shutdown+0x84a/0xa00 net/tipc/socket.c:600
 tipc_release+0x65/0xbd0 net/tipc/socket.c:644
 __sock_release+0xc6/0x240 net/socket.c:597
 sock_close+0x18/0x20 net/socket.c:1256
 __fput+0x37e/0x860 fs/file_table.c:280
 task_work_run+0x146/0x1c0 kernel/task_work.c:168
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x10b/0x1a0 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x48/0x190 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417b71
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd01f3d680 EFLAGS: 00000293
 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000417b71
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00000000000013e7 R09: 000000007be393eb
R10: 00007ffd01f3d760 R11: 0000000000000293 R12: ffffffffffffffff
R13: 000000000000ff6e R14: 00000000000003e8 R15: 000000000119bf8c
================================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/13 13:42 upstream 5e60366d56c6 a945f0a3 .config console log report info ci-upstream-kasan-gce-smack-root
2020/12/18 15:43 upstream 5e60366d56c6 04201c06 .config console log report info ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.