Hello,
syzbot found the following issue on:
HEAD commit: dc044639 UPSTREAM: mm/ksm: Remove reuse_ksm_page()
git tree: android12-5.4
console output:
https://syzkaller.appspot.com/x/log.txt?x=10ea5a9f500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=63043a451b4568fd
dashboard link:
https://syzkaller.appspot.com/bug?extid=6de5df89079c9ffe8cac
compiler: Android (6032204 based on r370808) clang version 10.0.1 (
https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)
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+6de5df...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:109!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2410 Comm: syz-executor.0 Not tainted 5.4.89-syzkaller-00264-gdc04463953b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_panic+0x14d/0x150 net/core/skbuff.c:105
Code: 48 8b 74 24 08 48 8b 54 24 10 8b 0c 24 44 8b 44 24 04 49 89 e9 b8 00 00 00 00 53 41 55 41 54 41 57 e8 f3 34 dc fd 48 83 c4 20 <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 70 4c 89 cb 4c 89
RSP: 0018:ffff8881e490eca0 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffffffff8529f7fe RCX: 245e3d4e3463c500
RDX: ffffc900003d5000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffff8881bb6f6000 R08: ffffffff814e4601 R09: ffffed103ee25e08
R10: ffffed103ee25e08 R11: 0000000000000000 R12: 00000000000000e8
R13: 00000000000000c0 R14: dffffc0000000000 R15: ffff8881bb6f6000
FS: 00007f8a04f11700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33328000 CR3: 00000001b90df000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
skb_over_panic+0x25/0x30 net/core/skbuff.c:114
skb_put+0x1e0/0x1e0 net/core/skbuff.c:1868
dump_esp_combs net/key/af_key.c:3006 [inline]
pfkey_send_acquire+0x18ee/0x2d60 net/key/af_key.c:3227
km_query net/xfrm/xfrm_state.c:2200 [inline]
xfrm_state_find+0x2e3f/0x4820 net/xfrm/xfrm_state.c:1136
xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2381 [inline]
xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2426 [inline]
xfrm_resolve_and_create_bundle+0x6a3/0x2ec0 net/xfrm/xfrm_policy.c:2717
xfrm_lookup_with_ifid+0x93c/0x2080 net/xfrm/xfrm_policy.c:3040
xfrm_lookup net/xfrm/xfrm_policy.c:3164 [inline]
xfrm_lookup_route+0x37/0x170 net/xfrm/xfrm_policy.c:3175
ip_route_output_flow+0x20c/0x340 net/ipv4/route.c:2733
udp_sendmsg+0x180c/0x2f60 net/ipv4/udp.c:1147
sock_sendmsg_nosec net/socket.c:638 [inline]
sock_sendmsg net/socket.c:658 [inline]
____sys_sendmsg+0x587/0x8d0 net/socket.c:2298
___sys_sendmsg net/socket.c:2352 [inline]
__sys_sendmmsg+0x39a/0x700 net/socket.c:2455
__do_sys_sendmmsg net/socket.c:2484 [inline]
__se_sys_sendmmsg net/socket.c:2481 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481
do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
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:00007f8a04f10c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e219
RDX: 000000000800001d RSI: 0000000020007fc0 RDI: 0000000000000003
RBP: 000000000119c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007fffba14c8ef R14: 00007f8a04f119c0 R15: 000000000119c034
Modules linked in:
---[ end trace dd7fc1de810f4169 ]---
RIP: 0010:skb_panic+0x14d/0x150 net/core/skbuff.c:105
Code: 48 8b 74 24 08 48 8b 54 24 10 8b 0c 24 44 8b 44 24 04 49 89 e9 b8 00 00 00 00 53 41 55 41 54 41 57 e8 f3 34 dc fd 48 83 c4 20 <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 70 4c 89 cb 4c 89
RSP: 0018:ffff8881e490eca0 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffffffff8529f7fe RCX: 245e3d4e3463c500
RDX: ffffc900003d5000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffff8881bb6f6000 R08: ffffffff814e4601 R09: ffffed103ee25e08
R10: ffffed103ee25e08 R11: 0000000000000000 R12: 00000000000000e8
R13: 00000000000000c0 R14: dffffc0000000000 R15: ffff8881bb6f6000
FS: 00007f8a04f11700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ec6dd0000 CR3: 00000001b90df000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
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
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.