syzbot


general protection fault in __fib6_drop_pcpu_from

Status: auto-closed as invalid on 2019/10/25 08:50
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+b6fd5b85b3021572601c@syzkaller.appspotmail.com
First crash: 1780d, last: 1775d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __fib6_drop_pcpu_from (2) net 1 1398d 1398d 0/26 auto-closed as invalid on 2020/09/25 04:17
upstream general protection fault in __fib6_drop_pcpu_from (3) net 1 1255d 1255d 0/26 auto-closed as invalid on 2021/02/15 21:07
upstream general protection fault in __fib6_drop_pcpu_from (4) net 23 846d 1154d 0/26 auto-closed as invalid on 2022/03/31 04:19

Sample crash report:
bridge0: port 2(bridge_slave_1) entered disabled state
bridge0: port 1(bridge_slave_0) entered disabled state
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: 7000 Comm: syz-executor.0 Not tainted 5.2.0-rc3+ #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline]
RIP: 0010:__fib6_drop_pcpu_from.isra.0.part.0+0xfe/0x210 net/ipv6/ip6_fib.c:900
Code: 48 c1 ea 03 80 3c 1a 00 0f 85 db 00 00 00 4c 8b 38 4d 85 ff 0f 84 63 ff ff ff e8 dd 3c 4c fb 49 8d 7f 70 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 e9 00 00 00 49 8b 57 70 48 39 55 c0 0f 85 3b ff
RSP: 0018:ffff8882179170b0 EFLAGS: 00010203
RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc9000a481000
RDX: 0000000000000019 RSI: ffffffff86246b23 RDI: 00000000000000ce
RBP: ffff888217917100 R08: ffff888095b9c280 R09: ffffed1042f22e13
R10: ffffed1042f22e12 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000000007 R14: ffff8880a00b1b70 R15: 000000000000005e
FS:  00007ff5c00cf700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe266e25d8 CR3: 0000000212dd6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __fib6_drop_pcpu_from net/ipv6/ip6_fib.c:882 [inline]
 fib6_drop_pcpu_from net/ipv6/ip6_fib.c:943 [inline]
 fib6_purge_rt+0x619/0x760 net/ipv6/ip6_fib.c:952
 fib6_del_route net/ipv6/ip6_fib.c:1840 [inline]
 fib6_del+0x9bd/0xeb0 net/ipv6/ip6_fib.c:1871
 fib6_clean_node+0x3a5/0x590 net/ipv6/ip6_fib.c:2033
 fib6_walk_continue+0x4a9/0x8e0 net/ipv6/ip6_fib.c:1955
 fib6_walk+0x9d/0x100 net/ipv6/ip6_fib.c:2003
 fib6_clean_tree+0xe0/0x120 net/ipv6/ip6_fib.c:2082
 __fib6_clean_all+0x118/0x2a0 net/ipv6/ip6_fib.c:2098
 fib6_clean_all+0x2b/0x40 net/ipv6/ip6_fib.c:2109
 rt6_sync_down_dev+0x134/0x150 net/ipv6/route.c:4669
 rt6_disable_ip+0x27/0x5f0 net/ipv6/route.c:4674
 addrconf_ifdown+0xa2/0x1220 net/ipv6/addrconf.c:3707
 addrconf_notify+0x5db/0x2370 net/ipv6/addrconf.c:3632
 notifier_call_chain+0xc2/0x230 kernel/notifier.c:95
 __raw_notifier_call_chain kernel/notifier.c:396 [inline]
 raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:403
 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1749
 call_netdevice_notifiers_extack net/core/dev.c:1761 [inline]
 call_netdevice_notifiers net/core/dev.c:1775 [inline]
 __dev_notify_flags+0x1e9/0x2c0 net/core/dev.c:7590
 dev_change_flags+0x10d/0x170 net/core/dev.c:7626
 dev_ifsioc+0x2aa/0x940 net/core/dev_ioctl.c:237
 dev_ioctl+0x1b2/0xc60 net/core/dev_ioctl.c:489
 sock_do_ioctl+0x1b7/0x2f0 net/socket.c:1066
 sock_ioctl+0x3ed/0x780 net/socket.c:1194
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: fd 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff5c00cec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000020000040 RSI: 0000000000008914 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff5c00cf6d4
R13: 00000000004c4f17 R14: 00000000004d8f60 R15: 00000000ffffffff
Modules linked in:
---[ end trace 136e3bd98c8d8fa9 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline]
RIP: 0010:__fib6_drop_pcpu_from.isra.0.part.0+0xfe/0x210 net/ipv6/ip6_fib.c:900
Code: 48 c1 ea 03 80 3c 1a 00 0f 85 db 00 00 00 4c 8b 38 4d 85 ff 0f 84 63 ff ff ff e8 dd 3c 4c fb 49 8d 7f 70 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 e9 00 00 00 49 8b 57 70 48 39 55 c0 0f 85 3b ff
RSP: 0018:ffff8882179170b0 EFLAGS: 00010203
RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc9000a481000
RDX: 0000000000000019 RSI: ffffffff86246b23 RDI: 00000000000000ce
RBP: ffff888217917100 R08: ffff888095b9c280 R09: ffffed1042f22e13
R10: ffffed1042f22e12 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000000007 R14: ffff8880a00b1b70 R15: 000000000000005e
FS:  00007ff5c00cf700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe266e25d8 CR3: 0000000212dd6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/16 06:17 net-next-old 930cfe0f129d 442206d7 .config console log report ci-upstream-net-kasan-gce
2019/06/16 04:50 net-next-old 930cfe0f129d 442206d7 .config console log report ci-upstream-net-kasan-gce
2019/06/15 20:50 net-next-old 877cd9ffbc9c 442206d7 .config console log report ci-upstream-net-kasan-gce
2019/06/11 07:35 net-next-old 48debfd736d5 0159583c .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.