syzbot


WARNING in pfkey_sock_destruct

Status: auto-closed as invalid on 2019/08/04 21:29
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+4acf0d9092f91bb60431@syzkaller.appspotmail.com
First crash: 2036d, last: 1899d
Discussions (2)
Title Replies (including bot) Last reply
Reminder: 1 open syzbot bug in "net/pfkey" subsystem 1 (1) 2019/07/24 02:52
WARNING in pfkey_sock_destruct 0 (1) 2018/09/26 07:41
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 WARNING in pfkey_sock_destruct (2) 2 1616d 1620d 0/2 auto-closed as invalid on 2020/03/14 09:26
android-44 WARNING in pfkey_sock_destruct 2 1938d 1831d 0/2 auto-closed as invalid on 2019/06/26 05:10
android-49 WARNING in pfkey_sock_destruct 10 1816d 1831d 0/3 auto-closed as invalid on 2019/10/25 08:52

Sample crash report:
WARNING: CPU: 1 PID: 14063 at net/key/af_key.c:111 pfkey_sock_destruct+0x574/0x610 net/key/af_key.c:111
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 14063 Comm: syz-executor1 Not tainted 4.20.0+ #396
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d3/0x2c6 lib/dump_stack.c:113
 panic+0x2ad/0x55f kernel/panic.c:189
 __warn.cold.8+0x20/0x52 kernel/panic.c:544
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:pfkey_sock_destruct+0x574/0x610 net/key/af_key.c:111
Code: 00 48 c7 c7 c0 bd e8 88 c6 05 e8 7e 45 03 01 e8 8e 19 73 fa e9 70 fc ff ff e8 c8 a2 90 fa 0f 0b e9 a8 fe ff ff e8 bc a2 90 fa <0f> 0b e9 ed fd ff ff 48 89 c7 e8 fd 86 d4 fa e9 40 fe ff ff 4c 89
RSP: 0018:ffff88805afe7330 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88809f66b400 RCX: ffffc9000c5a3000
RDX: 000000000000199e RSI: ffffffff86f14984 RDI: 0000000000000005
RBP: ffff88805afe7440 R08: ffff8880543fa040 R09: ffffed1013ecd6bb
R10: ffffed1013ecd6bb R11: ffff88809f66b5db R12: 1ffff1100b5fce67
R13: ffff88805afe7418 R14: 1ffff1100b5fce6b R15: ffff8880a7c6fd80
 __sk_destruct+0x107/0xa80 net/core/sock.c:1569
 sk_destruct+0x78/0x90 net/core/sock.c:1604
 __sk_free+0xcf/0x300 net/core/sock.c:1615
 sk_free+0x42/0x50 net/core/sock.c:1626
 sock_put include/net/sock.h:1703 [inline]
 pfkey_release+0x409/0x570 net/key/af_key.c:194
 __sock_release+0xd7/0x250 net/socket.c:579
 sock_close+0x19/0x20 net/socket.c:1141
 __fput+0x385/0xa50 fs/file_table.c:278
 ____fput+0x15/0x20 fs/file_table.c:309
 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113
 get_signal+0x1558/0x1980 kernel/signal.c:2347
 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5d37037c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: 0000000000000002 RBX: 0000000000000005 RCX: 0000000000457ec9
RDX: 0000000000000003 RSI: 0000000020000200 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000020006c80 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d370386d4
R13: 00000000004c48be R14: 00000000004d7c98 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/30 20:03 upstream 195303136f19 9942de5f .config console log report ci-upstream-kasan-gce
2018/12/25 21:02 upstream 8fe28cb58bcb 8a41a0ad .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/21 18:28 upstream 9097a058d49e 588075e6 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/16 07:35 upstream 6531e115b7ab def91db3 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/02 16:12 upstream 4b78317679c4 e0d8c853 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/30 05:11 upstream f92a2ebb3d55 66071e27 .config console log report ci-upstream-kasan-gce
2018/11/27 11:20 upstream 6f8b52ba442c ac912200 .config console log report ci-upstream-kasan-gce
2018/10/02 19:24 upstream 1d2ba7fee28b a316a2af .config console log report ci-upstream-kasan-gce
2018/09/30 10:21 upstream 291d0e5d81e1 41e4b329 .config console log report ci-upstream-kasan-gce
2018/09/29 04:04 upstream e704966c45e4 41e4b329 .config console log report ci-upstream-kasan-gce-root
2018/09/21 20:43 upstream 10dc890d4228 37079712 .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/05 21:28 upstream 8834f5600cf3 d672172c .config console log report ci-upstream-kasan-gce-386
2018/12/14 19:42 upstream eb6cf9f8cb9d 7624ddd6 .config console log report ci-upstream-kasan-gce-386
2018/10/04 00:18 upstream 6bebe37927f3 8b311eaf .config console log report ci-upstream-kasan-gce-386
2018/10/03 22:39 upstream 6bebe37927f3 8b311eaf .config console log report ci-upstream-kasan-gce-386
2018/10/23 22:53 linux-next 8c60c36d0b8c a8292de9 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.