syzbot


BUG: stack guard page was hit in usage_accumulate

Status: auto-closed as invalid on 2021/07/02 12:44
Subsystems: mm
[Documentation on labels]
First crash: 1112d, last: 1112d

Sample crash report:
BUG: stack guard page was hit at ffffc90009aefff8 (stack is ffffc90009af0000..ffffc90009af7fff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15608 Comm: syz-executor.4 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usage_accumulate+0xc/0x100 kernel/locking/lockdep.c:2177
Code: 48 89 34 24 e8 95 40 5f 00 48 8b 34 24 e9 5f ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 b8 00 00 00 00 00 fc ff df 41 54 <55> 53 48 89 fb 48 83 c7 2b 48 89 fa 48 83 ec 08 48 c1 ea 03 0f b6
RSP: 0018:ffffc90009af0000 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000030 RCX: 1ffffffff1fca8ec
RDX: 0000000000000002 RSI: ffffc90009af0160 RDI: ffffc90009af01e0
RBP: ffffffff8158afb0 R08: 0000000000000000 R09: 0000000000000000
R10: fffffbfff1f58f18 R11: 0000000000000001 R12: ffffc90009af0160
R13: ffffc90009af01f0 R14: dffffc0000000000 R15: ffffc90009af01e0
FS:  00007f1195609700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009aefff8 CR3: 0000000060604000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __bfs+0x298/0x720 kernel/locking/lockdep.c:1742
 __bfs_backwards kernel/locking/lockdep.c:1799 [inline]
 check_irq_usage+0x184/0xa50 kernel/locking/lockdep.c:2638
 check_prev_add kernel/locking/lockdep.c:2940 [inline]
 check_prevs_add kernel/locking/lockdep.c:3059 [inline]
 validate_chain kernel/locking/lockdep.c:3674 [inline]
 __lock_acquire+0x2b2c/0x54c0 kernel/locking/lockdep.c:4900
 lock_acquire kernel/locking/lockdep.c:5510 [inline]
 lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5475
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159
 rmqueue mm/page_alloc.c:3494 [inline]
 get_page_from_freelist+0x48d/0x3fb0 mm/page_alloc.c:3948
 __alloc_pages_nodemask+0x2d6/0x730 mm/page_alloc.c:5001
 alloc_pages_current+0x18c/0x2a0 mm/mempolicy.c:2277
 alloc_pages include/linux/gfp.h:561 [inline]
 stack_depot_save+0x39d/0x4e0 lib/stackdepot.c:303
 kasan_save_stack+0x32/0x40 mm/kasan/common.c:40
 kasan_record_aux_stack+0xe5/0x110 mm/kasan/generic.c:345
 __call_rcu kernel/rcu/tree.c:3039 [inline]
 call_rcu+0xb1/0x740 kernel/rcu/tree.c:3114
 put_task_struct_rcu_user+0x7f/0xb0 kernel/exit.c:179
 context_switch kernel/sched/core.c:4325 [inline]
 __schedule+0x919/0x21b0 kernel/sched/core.c:5073
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5233
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
 _raw_spin_unlock_irqrestore+0x57/0x70 kernel/locking/spinlock.c:191
 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline]
 skb_dequeue+0x125/0x180 net/core/skbuff.c:3137
 wireless_nlevent_flush+0x91/0x100 net/wireless/wext-core.c:352
 wext_netdev_notifier_call+0xa/0x10 net/wireless/wext-core.c:370
 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]
 netdev_features_change net/core/dev.c:1493 [inline]
 netdev_sync_lower_features net/core/dev.c:9782 [inline]
 __netdev_update_features+0x95d/0x17d0 net/core/dev.c:9929
 netdev_change_features+0x61/0xb0 net/core/dev.c:10001
 bond_compute_features+0x56c/0xaa0 drivers/net/bonding/bond_main.c:1330
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3431 [inline]
 bond_netdev_event+0x5d6/0xa80 drivers/net/bonding/bond_main.c:3471
 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]
 netdev_features_change net/core/dev.c:1493 [inline]
 netdev_sync_lower_features net/core/dev.c:9782 [inline]
 __netdev_update_features+0x95d/0x17d0 net/core/dev.c:9929
 netdev_change_features+0x61/0xb0 net/core/dev.c:10001
 bond_compute_features+0x56c/0xaa0 drivers/net/bonding/bond_main.c:1330
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3431 [inline]
 bond_netdev_event+0x5d6/0xa80 drivers/net/bonding/bond_main.c:3471
 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]
 netdev_features_change net/core/dev.c:1493 [inline]
 netdev_sync_lower_features net/core/dev.c:9782 [inline]
 __netdev_update_features+0x95d/0x17d0 net/core/dev.c:9929
 netdev_change_features+0x61/0xb0 net/core/dev.c:10001
 bond_compute_features+0x56c/0xaa0 drivers/net/bonding/bond_main.c:1330
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3431 [inline]
 bond_netdev_event+0x5d6/0xa80 drivers/net/bonding/bond_main.c:3471
 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]
 netdev_features_change net/core/dev.c:1493 [inline]
 netdev_sync_lower_features net/core/dev.c:9782 [inline]
 __netdev_update_features+0x95d/0x17d0 net/core/dev.c:9929
 netdev_change_features+0x61/0xb0 net/core/dev.c:10001
 bond_compute_features+0x56c/0xaa0 drivers/net/bonding/bond_main.c:1330
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3431 [inline]
 bond_netdev_event+0x5d6/0xa80 drivers/net/bonding/bond_main.c:3471
 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]
 netdev_features_change net/core/dev.c:1493 [inline]
 netdev_sync_lower_features net/core/dev.c:9782 [inline]
 __netdev_update_features+0x95d/0x17d0 net/core/dev.c:9929
Lost 498 message(s)!
---[ end trace e1e76e33d347d42e ]---
RIP: 0010:usage_accumulate+0xc/0x100 kernel/locking/lockdep.c:2177
Code: 48 89 34 24 e8 95 40 5f 00 48 8b 34 24 e9 5f ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 b8 00 00 00 00 00 fc ff df 41 54 <55> 53 48 89 fb 48 83 c7 2b 48 89 fa 48 83 ec 08 48 c1 ea 03 0f b6
RSP: 0018:ffffc90009af0000 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000030 RCX: 1ffffffff1fca8ec
RDX: 0000000000000002 RSI: ffffc90009af0160 RDI: ffffc90009af01e0
RBP: ffffffff8158afb0 R08: 0000000000000000 R09: 0000000000000000
R10: fffffbfff1f58f18 R11: 0000000000000001 R12: ffffc90009af0160
R13: ffffc90009af01f0 R14: dffffc0000000000 R15: ffffc90009af01e0
FS:  00007f1195609700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009aefff8 CR3: 0000000060604000 CR4: 00000000001506f0
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/03 12:39 net-next-old f3f409a9b7f5 6a81331a .config console log report info ci-upstream-net-kasan-gce BUG: stack guard page was hit in usage_accumulate
* Struck through repros no longer work on HEAD.