syzbot


general protection fault in snmp6_unregister_dev

Status: auto-closed as invalid on 2021/06/22 13:51
Subsystems: net
[Documentation on labels]
First crash: 1097d, last: 1097d

Sample crash report:
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
general protection fault, probably for non-canonical address 0xdffffda41ffffdf3: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x00000d20ffffef98-0x00000d20ffffef9f]
CPU: 1 PID: 153 Comm: kworker/u4:5 Not tainted 5.12.0-rc8-next-20210423-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:read_pnet include/net/net_namespace.h:309 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2412 [inline]
RIP: 0010:snmp6_unregister_dev+0x42/0x140 net/ipv6/proc.c:267
Code: df 48 c1 ea 03 80 3c 02 00 0f 85 f4 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d bd 98 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 00 00 00 48 8b ad 98 05 00 00 48 b8 00 00 00
RSP: 0018:ffffc900011cf798 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888024800000 RCX: 0000000000000000
RDX: 000001a41ffffdf3 RSI: ffffffff87d23ebc RDI: 00000d20ffffef98
RBP: 00000d20ffffea00 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87c0bbf5 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888058098348 R14: ffff888024800000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f65a1f1e548 CR3: 00000000145b1000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 addrconf_ifdown.isra.0+0x11df/0x15b0 net/ipv6/addrconf.c:3723
 addrconf_notify+0x606/0x2410 net/ipv6/addrconf.c:3631
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2121
 call_netdevice_notifiers_extack net/core/dev.c:2133 [inline]
 call_netdevice_notifiers net/core/dev.c:2147 [inline]
 unregister_netdevice_many+0x951/0x1790 net/core/dev.c:11006
 default_device_exit_batch+0x2fa/0x3c0 net/core/dev.c:11536
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:178
 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:595
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace fa4f86002d79077a ]---
RIP: 0010:read_pnet include/net/net_namespace.h:309 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2412 [inline]
RIP: 0010:snmp6_unregister_dev+0x42/0x140 net/ipv6/proc.c:267
Code: df 48 c1 ea 03 80 3c 02 00 0f 85 f4 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d bd 98 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 00 00 00 48 8b ad 98 05 00 00 48 b8 00 00 00
RSP: 0018:ffffc900011cf798 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888024800000 RCX: 0000000000000000
RDX: 000001a41ffffdf3 RSI: ffffffff87d23ebc RDI: 00000d20ffffef98
RBP: 00000d20ffffea00 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87c0bbf5 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888058098348 R14: ffff888024800000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f65a1f1e548 CR3: 00000000145b1000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/23 13:48 linux-next e3d35712f85a 17f0b706 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in snmp6_unregister_dev
* Struck through repros no longer work on HEAD.