syzbot


WARNING in dev_change_net_namespace

Status: upstream: reported C repro on 2020/01/13 08:39
Reported-by: syzbot+2124881a9494a639121b@syzkaller.appspotmail.com
First crash: 1776d, last: 1107d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in dev_change_net_namespace net syz done done 8 1098d 1746d 20/28 fixed on 2022/05/20 00:27
linux-4.14 WARNING in dev_change_net_namespace 1 1626d 1626d 0/1 auto-closed as invalid on 2020/10/08 22:13
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/10/12 19:37 2m bisect fix linux-4.19.y error job log
2020/09/02 13:11 29m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
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
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/03 10:03 linux-4.19.y 13af6c74b14a 96dd3623 .config console log report syz C ci2-linux-4-19
2021/11/12 10:00 linux-4.19.y 3f8a27f9e27b 75b04091 .config console log report info ci2-linux-4-19 WARNING in dev_change_net_namespace
2021/08/15 21:11 linux-4.19.y 59456c9cc40c 2489ab88 .config console log report info ci2-linux-4-19 WARNING in dev_change_net_namespace
2021/08/04 15:06 linux-4.19.y 6ca2f514c578 6c236867 .config console log report info ci2-linux-4-19 WARNING in dev_change_net_namespace
2020/09/12 19:34 linux-4.19.y a87f96283793 21d289c2 .config console log report ci2-linux-4-19
2020/08/03 08:51 linux-4.19.y 13af6c74b14a 96dd3623 .config console log report ci2-linux-4-19
2020/06/25 01:20 linux-4.19.y b3a99fd385fa 9d60b18e .config console log report ci2-linux-4-19
2020/05/27 13:50 linux-4.19.y 1bab61d3e8cd 9072c126 .config console log report ci2-linux-4-19
2020/04/20 02:39 linux-4.19.y 8488c3f3bc86 9f7c6d12 .config console log report ci2-linux-4-19
2020/01/13 08:38 linux-4.19.y dcd888983542 53faa9fe .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.