BUG: stack guard page was hit in trace_hardirqs_off_finish

5 views
Skip to first unread message

syzbot

unread,
Jul 6, 2021, 2:54:22 AM7/6/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: dbe69e43 Merge tag 'net-next-5.14' of git://git.kernel.org..
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=16f617c8300000
kernel config: https://syzkaller.appspot.com/x/.config?x=47e4697be2f5b985
dashboard link: https://syzkaller.appspot.com/bug?extid=cd2009ad04934b665765
CC: [linux-...@vger.kernel.org mi...@redhat.com ros...@goodmis.org net...@vger.kernel.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cd2009...@syzkaller.appspotmail.com

BUG: stack guard page was hit at ffffc900029bfff8 (stack is ffffc900029c0000..ffffc900029c7fff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15675 Comm: syz-executor.2 Tainted: G W 5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:trace_hardirqs_off_finish+0x2/0x270 kernel/trace/trace_preemptirq.c:63
Code: ff e8 12 e9 f9 ff 0f 0b e9 57 ff ff ff e8 06 e9 f9 ff 0f 0b e9 ec fe ff ff e8 2a 97 3f 00 eb 90 0f 1f 84 00 00 00 00 00 55 53 <e8> e9 e8 f9 ff 65 8b 1d 02 59 87 7e 31 ff 89 de e8 19 f0 f9 ff 85
RSP: 0018:ffffc900029c0000 EFLAGS: 00010046
RAX: ffff88808548d4c0 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff89400bfa RDI: ffffffff891ffcbb
RBP: ffffc900029c0038 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f51b2693700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900029bfff8 CR3: 000000009e1ce000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
irqentry_enter+0x28/0x50 kernel/entry/common.c:379
sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__orc_find+0x5b/0xf0 arch/x86/kernel/unwind_orc.c:50
Code: ff df 49 89 fe 48 89 fd eb 0c 48 8d 6b 04 49 89 de 49 39 ec 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 <48> d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 48 89
RSP: 0018:ffffc900029c00e0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff8e4813b0 RCX: ffffffff874e884c
RDX: 0000000000000000 RSI: ffffffff8edd0954 RDI: ffffffff8e4813ac
RBP: ffffffff8e4813ac R08: 0000000000000000 R09: ffffffff8edd0954
R10: fffff5200053804b R11: 0000000000086087 R12: ffffffff8e4813ac
R13: ffffffff8e4813ac R14: ffffffff8e4813ac R15: dffffc0000000000
orc_find arch/x86/kernel/unwind_orc.c:173 [inline]
unwind_next_frame+0x32a/0x1ce0 arch/x86/kernel/unwind_orc.c:443
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121
save_stack+0x151/0x1e0 mm/page_owner.c:119
__set_page_owner+0x50/0x290 mm/page_owner.c:181
prep_new_page mm/page_alloc.c:2445 [inline]
get_page_from_freelist+0xa72/0x2f80 mm/page_alloc.c:4178
__alloc_pages+0x1b2/0x500 mm/page_alloc.c:5386
alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2272
alloc_slab_page mm/slub.c:1702 [inline]
allocate_slab+0x32b/0x4c0 mm/slub.c:1842
new_slab mm/slub.c:1905 [inline]
new_slab_objects mm/slub.c:2651 [inline]
___slab_alloc+0x4ba/0x820 mm/slub.c:2814
__slab_alloc.constprop.0+0xa7/0xf0 mm/slub.c:2854
slab_alloc_node mm/slub.c:2936 [inline]
__kmalloc_node_track_caller+0x2e3/0x360 mm/slub.c:4654
kmalloc_reserve net/core/skbuff.c:355 [inline]
__alloc_skb+0xde/0x340 net/core/skbuff.c:426
alloc_skb include/linux/skbuff.h:1112 [inline]
nlmsg_new include/net/netlink.h:953 [inline]
genlmsg_new include/net/genetlink.h:409 [inline]
ethnl_default_notify+0x25b/0x630 net/ethtool/netlink.c:604
ethtool_notify+0xbd/0x1f0 net/ethtool/netlink.c:667
ethnl_notify_features net/ethtool/netlink.c:678 [inline]
ethnl_netdev_event net/ethtool/netlink.c:686 [inline]
ethnl_netdev_event+0x56/0x70 net/ethtool/netlink.c:681
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2122
call_netdevice_notifiers_extack net/core/dev.c:2134 [inline]
call_netdevice_notifiers net/core/dev.c:2148 [inline]
netdev_features_change net/core/dev.c:1494 [inline]
netdev_sync_lower_features net/core/dev.c:9841 [inline]
__netdev_update_features+0x95d/0x17d0 net/core/dev.c:9988
netdev_change_features+0x61/0xb0 net/core/dev.c:10060
team_compute_features drivers/net/team/team.c:1026 [inline]
team_device_event+0x83a/0xa90 drivers/net/team/team.c:3007
notifier_call_chain+0xb5/0
Lost 481 message(s)!
---[ end trace f41f81042b4dadb4 ]---
RIP: 0010:trace_hardirqs_off_finish+0x2/0x270 kernel/trace/trace_preemptirq.c:63
Code: ff e8 12 e9 f9 ff 0f 0b e9 57 ff ff ff e8 06 e9 f9 ff 0f 0b e9 ec fe ff ff e8 2a 97 3f 00 eb 90 0f 1f 84 00 00 00 00 00 55 53 <e8> e9 e8 f9 ff 65 8b 1d 02 59 87 7e 31 ff 89 de e8 19 f0 f9 ff 85
RSP: 0018:ffffc900029c0000 EFLAGS: 00010046
RAX: ffff88808548d4c0 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff89400bfa RDI: ffffffff891ffcbb
RBP: ffffc900029c0038 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f51b2693700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900029bfff8 CR3: 000000009e1ce000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Dmitry Vyukov

unread,
Jul 13, 2021, 10:04:37 AM7/13/21
to syzbot, syzkaller-upst...@googlegroups.com
After https://github.com/google/syzkaller/commit/f415556d566aa67761414184f49b919c0869ed52
we should get a new, better report

#syz invalid

On Tue, 6 Jul 2021 at 08:54, syzbot
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-upstream-moderation" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-upstream-m...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-upstream-moderation/0000000000003c0ed305c66ee41a%40google.com.
Reply all
Reply to author
Forward
0 new messages