syzbot


general protection fault in send_hsr_supervision_frame (2)

Status: auto-closed as invalid on 2021/04/04 18:15
Reported-by: syzbot+b48e9fb48e8ca69071c8@syzkaller.appspotmail.com
First crash: 566d, last: 566d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in send_hsr_supervision_frame 1 831d 831d 0/1 auto-closed as invalid on 2020/07/13 17:14
upstream general protection fault in send_hsr_supervision_frame C done 1395 1075d 1082d 13/22 fixed on 2019/08/05 13:45

Sample crash report:
Bluetooth: hci4 command 0x040f tx timeout
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
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
Modules linked in:
CPU: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.210-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
task: ffff8880b5ff2140 task.stack: ffff8880b5ff8000
RIP: 0010:send_hsr_supervision_frame+0x32/0xf00 net/hsr/hsr_device.c:263
RSP: 0018:ffff8880ba407ca0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff1197fac
RDX: 0000000000000002 RSI: 0000000000000017 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000022012
R10: ffff8880b5ff2a90 R11: ffff8880b5ff2140 R12: 0000000000000000
R13: ffff88805e818be0 R14: 0000000000000010 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30039000 CR3: 00000000a19a7000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 hsr_announce+0xf0/0x330 net/hsr/hsr_device.c:350
 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280
 expire_timers+0x232/0x4d0 kernel/time/timer.c:1319
 __run_timers kernel/time/timer.c:1637 [inline]
 run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650
 __do_softirq+0x254/0xa1d kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x193/0x240 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:preempt_count_sub+0x4b/0x130 kernel/sched/core.c:3136
RSP: 0018:ffff8880b5fff360 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000004 RSI: ffff8880b5fff320 RDI: 0000000000000001
RBP: ffff8880b5fff548 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880b5fff548 R11: 0000000000000001 R12: ffff8880b5ff8000
R13: ffff8880b5fff500 R14: ffff8880b5fff518 R15: ffff8880b5fff4c8
 unwind_next_frame+0xe54/0x17d0 arch/x86/kernel/unwind_orc.c:498
 __unwind_start+0x594/0x930 arch/x86/kernel/unwind_orc.c:583
 unwind_start arch/x86/include/asm/unwind.h:60 [inline]
 __save_stack_trace+0x63/0x160 arch/x86/kernel/stacktrace.c:43
 save_stack mm/kasan/kasan.c:447 [inline]
 set_track mm/kasan/kasan.c:459 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551
 __do_kmalloc_node mm/slab.c:3682 [inline]
 __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3696
 __kmalloc_reserve net/core/skbuff.c:137 [inline]
 __alloc_skb+0x96/0x510 net/core/skbuff.c:205
 alloc_skb include/linux/skbuff.h:980 [inline]
 nlmsg_new include/net/netlink.h:511 [inline]
 inet6_netconf_notify_devconf+0x6d/0x170 net/ipv6/addrconf.c:589
 __addrconf_sysctl_unregister net/ipv6/addrconf.c:6452 [inline]
 addrconf_sysctl_unregister+0x131/0x1c0 net/ipv6/addrconf.c:6476
 addrconf_ifdown.isra.0+0xf40/0x13f0 net/ipv6/addrconf.c:3737
 addrconf_notify+0x116/0x1c20 net/ipv6/addrconf.c:3507
 notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93
 call_netdevice_notifiers_info net/core/dev.c:1667 [inline]
 call_netdevice_notifiers net/core/dev.c:1683 [inline]
 rollback_registered_many+0x765/0xba0 net/core/dev.c:7203
 unregister_netdevice_many.part.0+0x18/0x2e0 net/core/dev.c:8285
 unregister_netdevice_many net/core/dev.c:8284 [inline]
 default_device_exit_batch+0x2d8/0x380 net/core/dev.c:8746
 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:145
 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:484
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 54 49 89 fc 55 4d 8d 74 24 10 53 89 d3 48 83 ec 48 89 74 24 14 e8 df c4 3e fa 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 a5 0c 00 00 48 b8 00 00 00 00 00 fc ff df 49 
RIP: send_hsr_supervision_frame+0x32/0xf00 net/hsr/hsr_device.c:263 RSP: ffff8880ba407ca0
---[ end trace 3d8bae1b3378738d ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/12/05 18:14 linux-4.14.y c196b3a9c83a 0ef84591 .config log report info