Hello,
syzbot found the following crash on:
HEAD commit: 26bc6721 Merge tag 'for-linus-2019-11-05' of git://git.ker..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=155f1368e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=8c5e2eca3f31f9bf
dashboard link:
https://syzkaller.appspot.com/bug?extid=6d8423659bae3b54aab2
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [
da...@davemloft.net her...@gondor.apana.org.au
linux-...@vger.kernel.org net...@vger.kernel.org
steffen....@secunet.com]
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+6d8423...@syzkaller.appspotmail.com
skbuff: skb_over_panic: text:00000000f62210be len:264 put:72
head:00000000b60e4609 data:00000000b60e4609 tail:0x108 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:108!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10505 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:skb_panic+0x176/0x178 net/core/skbuff.c:108
Code: 53 09 fc 4c 8b 4d b8 8b 4b 70 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 60 39 47 88 ff 75 c8 ff 75 c0 e8 82 7f b7 fb <0f> 0b e8 27 f1
cd fb 4c 8b 6d 08 e8 fe 49 09 fc 48 c7 c1 00 46 47
RSP: 0018:ffff888096e56d58 EFLAGS: 00010282
RAX: 0000000000000087 RBX: ffff8880a4af9340 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815cc5a6 RDI: ffffed1012dcad9d
RBP: ffff888096e56dc0 R08: 0000000000000087 R09: ffffed1015d26159
R10: ffffed1015d26158 R11: ffff8880ae930ac7 R12: ffffffff88474640
R13: ffffffff866a1abe R14: 0000000000000048 R15: ffffffff88473920
FS: 00007f81691ff700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7a4af6000 CR3: 00000000969de000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_over_panic net/core/skbuff.c:113 [inline]
skb_put.cold+0x23/0x23 net/core/skbuff.c:1866
skb_put_zero include/linux/skbuff.h:2221 [inline]
dump_ah_combs net/key/af_key.c:2955 [inline]
pfkey_send_acquire+0x12be/0x2620 net/key/af_key.c:3218
km_query+0xcb/0x210 net/xfrm/xfrm_state.c:2164
xfrm_state_find+0x2d15/0x5040 net/xfrm/xfrm_state.c:1131
xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2391 [inline]
xfrm_tmpl_resolve+0x32a/0xc90 net/xfrm/xfrm_policy.c:2436
xfrm_resolve_and_create_bundle+0x137/0x2680 net/xfrm/xfrm_policy.c:2727
xfrm_lookup_with_ifid+0x278/0x1fc0 net/xfrm/xfrm_policy.c:3050
xfrm_lookup net/xfrm/xfrm_policy.c:3174 [inline]
xfrm_lookup_route+0x3b/0x1f0 net/xfrm/xfrm_policy.c:3185
ip6_dst_lookup_flow+0x189/0x220 net/ipv6/ip6_output.c:1159
rawv6_sendmsg+0xb40/0x36e0 net/ipv6/raw.c:928
inet_sendmsg+0x9e/0xe0 net/ipv4/af_inet.c:807
sock_sendmsg_nosec net/socket.c:637 [inline]
sock_sendmsg+0xd7/0x130 net/socket.c:657
___sys_sendmsg+0x3e2/0x920 net/socket.c:2311
__sys_sendmmsg+0x1bf/0x4d0 net/socket.c:2413
__do_sys_sendmmsg net/socket.c:2442 [inline]
__se_sys_sendmmsg net/socket.c:2439 [inline]
__x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2439
do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45a219
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f81691fec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045a219
RDX: 0400000000000058 RSI: 0000000020007e00 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f81691ff6d4
R13: 00000000004c7f9d R14: 00000000004de3c8 R15: 00000000ffffffff
Modules linked in:
---[ end trace 8927f1a7217f998f ]---
RIP: 0010:skb_panic+0x176/0x178 net/core/skbuff.c:108
Code: 53 09 fc 4c 8b 4d b8 8b 4b 70 41 57 45 89 f0 4c 89 ea ff 75 d0 4c 89
e6 48 c7 c7 60 39 47 88 ff 75 c8 ff 75 c0 e8 82 7f b7 fb <0f> 0b e8 27 f1
cd fb 4c 8b 6d 08 e8 fe 49 09 fc 48 c7 c1 00 46 47
RSP: 0018:ffff888096e56d58 EFLAGS: 00010282
RAX: 0000000000000087 RBX: ffff8880a4af9340 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815cc5a6 RDI: ffffed1012dcad9d
RBP: ffff888096e56dc0 R08: 0000000000000087 R09: ffffed1015d26159
R10: ffffed1015d26158 R11: ffff8880ae930ac7 R12: ffffffff88474640
R13: ffffffff866a1abe R14: 0000000000000048 R15: ffffffff88473920
FS: 00007f81691ff700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc4b5b0e60 CR3: 00000000969de000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This bug 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
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.