general protection fault in __instance_destroy

4 views
Skip to first unread message

syzbot

unread,
Mar 25, 2019, 3:42:07 AM3/25/19
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: e382d91f Add linux-next specific files for 20190322
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=105bbbf7200000
kernel config: https://syzkaller.appspot.com/x/.config?x=3d850e8b394c7a19
dashboard link: https://syzkaller.appspot.com/bug?extid=b69ea2529044b02a3951
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [core...@netfilter.org da...@davemloft.net f...@strlen.de
kad...@blackhole.kfki.hu linux-...@vger.kernel.org
net...@vger.kernel.org netfilt...@vger.kernel.org pa...@netfilter.org]

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+b69ea2...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 19891 Comm: syz-executor.1 Not tainted 5.1.0-rc1-next-20190322
#9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:__write_once_size include/linux/compiler.h:224 [inline]
RIP: 0010:__hlist_del include/linux/list.h:730 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:455 [inline]
RIP: 0010:__instance_destroy+0x68/0x1c0 net/netfilter/nfnetlink_log.c:220
Code: fc ff df 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 40 01 00 00 48 b8 00
00 00 00 00 fc ff df 4d 8b 6c 24 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f
85 13 01 00 00 48 85 db 49 89 5d 00 74 28 e8 d0 2f
RSP: 0018:ffff888211147498 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90008000000
RDX: 1bd5a00000000040 RSI: ffffffff85ac6833 RDI: ffff888090bd4440
RBP: ffff8882111474b8 R08: 1ffff11042228e86 R09: ffffed1042228e87
R10: ffffed1042228e86 R11: 0000000000000003 R12: ffff888090bd4440
R13: dead000000000200 R14: ffff888090bd4448 R15: ffff888090bd4440
FS: 00007f9469f63700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dc21000 CR3: 000000021af68000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instance_destroy net/netfilter/nfnetlink_log.c:242 [inline]
nfulnl_recv_config+0x471/0x1650 net/netfilter/nfnetlink_log.c:895
nfnetlink_rcv_msg+0xd12/0xfe0 net/netfilter/nfnetlink.c:228
netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2485
nfnetlink_rcv+0x1ba/0x450 net/netfilter/nfnetlink.c:560
netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336
netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1925
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xdd/0x130 net/socket.c:661
sock_write_iter+0x27c/0x3e0 net/socket.c:988
call_write_iter include/linux/fs.h:1863 [inline]
new_sync_write+0x4c7/0x760 fs/read_write.c:474
__vfs_write+0xe4/0x110 fs/read_write.c:487
vfs_write+0x20c/0x580 fs/read_write.c:549
ksys_write+0xea/0x1f0 fs/read_write.c:598
__do_sys_write fs/read_write.c:610 [inline]
__se_sys_write fs/read_write.c:607 [inline]
__x64_sys_write+0x73/0xb0 fs/read_write.c:607
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458209
Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9469f62c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458209
RDX: 000000000000001f RSI: 0000000020000000 RDI: 0000000000000006
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9469f636d4
R13: 00000000004c3f3a R14: 00000000004dc898 R15: 00000000ffffffff
Modules linked in:
---[ end trace 4fe23b6dd9a81a69 ]---
RIP: 0010:__write_once_size include/linux/compiler.h:224 [inline]
RIP: 0010:__hlist_del include/linux/list.h:730 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:455 [inline]
RIP: 0010:__instance_destroy+0x68/0x1c0 net/netfilter/nfnetlink_log.c:220
Code: fc ff df 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 40 01 00 00 48 b8 00
00 00 00 00 fc ff df 4d 8b 6c 24 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f
85 13 01 00 00 48 85 db 49 89 5d 00 74 28 e8 d0 2f
RSP: 0018:ffff888211147498 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90008000000
RDX: 1bd5a00000000040 RSI: ffffffff85ac6833 RDI: ffff888090bd4440
RBP: ffff8882111474b8 R08: 1ffff11042228e86 R09: ffffed1042228e87
R10: ffffed1042228e86 R11: 0000000000000003 R12: ffff888090bd4440
R13: dead000000000200 R14: ffff888090bd4448 R15: ffff888090bd4440
FS: 00007f9469f63700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dc21000 CR3: 000000021af68000 CR4: 00000000001426e0
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.

syzbot

unread,
Sep 20, 2019, 3:32:03 AM9/20/19
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages