linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UBSAN: object-size-mismatch in tipc_sk_filter_rcv
@ 2020-12-23 10:24 syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2020-12-23 10:24 UTC (permalink / raw)
  To: davem, jmaloy, kuba, linux-kernel, netdev, syzkaller-bugs,
	tipc-discussion, ying.xue

Hello,

syzbot found the following issue on:

HEAD commit:    5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11913e0f500000
kernel config:  https://syzkaller.appspot.com/x/.config?x=267a60b188ded8ed
dashboard link: https://syzkaller.appspot.com/bug?extid=bc0b77f2a9209716067f
compiler:       clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+bc0b77f2a9209716067f@syzkaller.appspotmail.com

================================================================================
UBSAN: object-size-mismatch in ./include/linux/skbuff.h:2021:28
member access within address 000000002c1825a5 with insufficient space
for an object of type 'struct sk_buff'
CPU: 1 PID: 9846 Comm: syz-executor.1 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_sendmsg+0x1cbe/0x2f90 net/tipc/socket.c:1524
 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1409
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xc1/0xf0 net/socket.c:672
 ____sys_sendmsg+0x4b3/0x840 net/socket.c:2336
 ___sys_sendmsg net/socket.c:2390 [inline]
 __sys_sendmmsg+0x3de/0x860 net/socket.c:2480
 __do_sys_sendmmsg net/socket.c:2509 [inline]
 __se_sys_sendmmsg net/socket.c:2506 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2506
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e149
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f20231a6c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e149
RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 000000000119bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffd81950ccf R14: 00007f20231a79c0 R15: 000000000119bf8c
================================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-23 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 10:24 UBSAN: object-size-mismatch in tipc_sk_filter_rcv syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).