WARNING in dev_change_net_namespace

7 views
Skip to first unread message

syzbot

unread,
Jan 13, 2020, 3:39:09 AM1/13/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: dcd88898 Linux 4.19.95
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=106d7021e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=1f7fa7375205a3ab
dashboard link: https://syzkaller.appspot.com/bug?extid=2124881a9494a639121b
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

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

RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75b33566d4
R13: 00000000004caa0f R14: 00000000004e3eb0 R15: 0000000000000009
------------[ cut here ]------------
WARNING: CPU: 1 PID: 19309 at net/core/dev.c:9441
dev_change_net_namespace.cold+0x11/0x18 net/core/dev.c:9441
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 19309 Comm: syz-executor.5 Not tainted 4.19.95-syzkaller #0
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+0x197/0x210 lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x53 kernel/panic.c:541
report_bug+0x263/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:dev_change_net_namespace.cold+0x11/0x18 net/core/dev.c:9441
Code: 87 88 01 e8 b8 c9 a2 fb e8 33 4a da fb 48 c7 c7 a0 c0 4a 88 e8 df 87
88 01 e8 a2 c9 a2 fb 48 c7 c7 60 93 4a 88 e8 2a 2d 8d fb <0f> 0b e9 60 37
fd ff e8 8a c9 a2 fb 44 89 f9 4c 89 e2 48 c7 c6 e0
RSP: 0018:ffff888014bdecb0 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81558bc6 RDI: ffffed100297bd88
RBP: ffff888014bdedb0 R08: 0000000000000024 R09: ffffed1015d25079
R10: ffffed1015d25078 R11: ffff8880ae9283c7 R12: ffff888088382b40
R13: ffff888088382be8 R14: ffff888088382bf0 R15: ffffffff89a02d80
do_setlink+0x1ac/0x3670 net/core/rtnetlink.c:2354
rtnl_newlink+0xbad/0x1600 net/core/rtnetlink.c:3068
rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4768
netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4786
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x53a/0x730 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xd7/0x130 net/socket.c:632
___sys_sendmsg+0x803/0x920 net/socket.c:2115
__sys_sendmsg+0x105/0x1d0 net/socket.c:2153
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45af49
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:00007f75b3355c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f75b3355c90 RCX: 000000000045af49
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75b33566d4
R13: 00000000004caa0f R14: 00000000004e3eb0 R15: 0000000000000009
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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,
Aug 3, 2020, 6:03:18 AM8/3/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 13af6c74 Linux 4.19.136
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10d60692900000
kernel config: https://syzkaller.appspot.com/x/.config?x=5b7578d3b5457a49
dashboard link: https://syzkaller.appspot.com/bug?extid=2124881a9494a639121b
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1209cb98900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1279e504900000

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

RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00000000006dcc60 R08: 0000000000000002 R09: 0000000000003332
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f60a2850d80
R13: 0000000000000006 R14: 0000000000000000 R15: 0705001000000048
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6521 at net/core/dev.c:9439 dev_change_net_namespace.cold+0x11/0x18 net/core/dev.c:9439
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6521 Comm: syz-executor935 Not tainted 4.19.136-syzkaller #0
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+0x1fc/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:dev_change_net_namespace.cold+0x11/0x18 net/core/dev.c:9439
Code: e8 41 9e af fb 48 c7 c7 60 f4 2a 88 45 31 e4 e8 e1 ab 9a fb e9 a2 2a fe ff e8 28 9e af fb 48 c7 c7 c0 e4 2a 88 e8 cb ab 9a fb <0f> 0b e9 89 32 fe ff e8 10 9e af fb 89 d9 4c 89 e2 48 c7 c6 e0 15
RSP: 0018:ffff888089396d10 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154cf01 RDI: ffffed1011272d94
RBP: ffff888083e489c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888083e48a68
R13: ffff888083e48f70 R14: ffffffff89804680 R15: 0000000000000010
do_setlink+0x192/0x3540 net/core/rtnetlink.c:2354
rtnl_newlink+0xda0/0x15b0 net/core/rtnetlink.c:3077
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4778
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x447449
Code: e8 1c b6 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 eb 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f60a2850d78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dcc68 RCX: 0000000000447449
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00000000006dcc60 R08: 0000000000000002 R09: 0000000000003332
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f60a2850d80
R13: 0000000000000006 R14: 0000000000000000 R15: 0705001000000048
Reply all
Reply to author
Forward
0 new messages