From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51A76C433E2 for ; Tue, 21 Jul 2020 17:43:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D54820792 for ; Tue, 21 Jul 2020 17:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730919AbgGURn0 (ORCPT ); Tue, 21 Jul 2020 13:43:26 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:43785 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727873AbgGURnY (ORCPT ); Tue, 21 Jul 2020 13:43:24 -0400 Received: by mail-il1-f198.google.com with SMTP id y13so14001248ila.10 for ; Tue, 21 Jul 2020 10:43:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=f3ilAsPWne+l30RZDpnCQuFgQo75PrB19pYOE98eehA=; b=h1R9t3oT1x3+7+UVPh0HfoNqjO8FZDUVpF6XXECC29dDsDYK3WGpMx+pNUrm+ftwxt scZZdTdMyfNPXwJp6s89jh1ORqQbUqfJnIjyRAbG5LbXdBql2C9r1WFRqNSjdG8G9OH6 D3K5f5WFTcj4ITAl0Y2hFkFbQGT8fzfSE1KMkd3+yAOgHixfUsv+KkeQZ2njRimhUB1D w8PI4kpdu/V9AL/KaSFAJzpCpM2NMdBFDT2eOVX9Gmj27pH7z/9WTOpEvSBawS7J6u5W ZMkP9uYbns7eZTPfBgfzDU9A97E0ZNr5ESxKJ0AILVlL6nHLUyCwC/AJho4iww/psFso MTDQ== X-Gm-Message-State: AOAM531rLZWERNGjG1HbAa1UnqNuHjJeaX1i05druz7nX1vLE3+HWX1i 2JMCMjnVLeN3/1jaxuHlCFeVEsnGtLiSqWsQUFgnL9x9oRMx X-Google-Smtp-Source: ABdhPJy74/scayIhZIglw8c4FDir/ENLQwrMLIrLmJJs3mcM/zQsDwJriGV+Zyd+2e/OfK7ZsEwoVokddD5IYrvWF7FCh7OGsYly MIME-Version: 1.0 X-Received: by 2002:a05:6602:2c08:: with SMTP id w8mr27214423iov.129.1595353402891; Tue, 21 Jul 2020 10:43:22 -0700 (PDT) Date: Tue, 21 Jul 2020 10:43:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000dee84305aaf72849@google.com> Subject: BUG: stack guard page was hit in pvclock_clocksource_read From: syzbot To: bp@alien8.de, hpa@zytor.com, jgross@suse.com, linux-kernel@vger.kernel.org, mingo@redhat.com, netdev@vger.kernel.org, pbonzini@redhat.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, vincenzo.frascino@arm.com, x86@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 473309fb net: dp83640: fix SIOCSHWTSTAMP to update the str.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=175443e7100000 kernel config: https://syzkaller.appspot.com/x/.config?x=368e8612711aa2cc dashboard link: https://syzkaller.appspot.com/bug?extid=33db977d6e575c4884b1 compiler: gcc (GCC) 10.1.0-syz 20200507 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+33db977d6e575c4884b1@syzkaller.appspotmail.com BUG: stack guard page was hit at 00000000568268d5 (stack is 00000000fd6fd35d..00000000fd6d22ec) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 30079 Comm: syz-executor.0 Not tainted 5.8.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pvclock_clocksource_read+0x21/0x510 arch/x86/kernel/pvclock.c:68 Code: 2e 0f 1f 84 00 00 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f8 41 57 48 c1 e8 03 41 56 41 55 41 54 4c 8d 67 03 55 4c 89 e1 <53> 48 c1 e9 03 48 89 fb 48 83 ec 58 0f b6 04 10 0f b6 14 11 48 89 RSP: 0018:ffffc90016598000 EFLAGS: 00010806 RAX: 1ffffffff17cec00 RBX: ffff8880ae620dc0 RCX: ffffffff8be76003 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff8be76000 RBP: ffff888059596380 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8be76003 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3e110c1700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90016597ff8 CR3: 000000005d14d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_clock_read arch/x86/kernel/kvmclock.c:90 [inline] kvm_sched_clock_read+0x14/0x40 arch/x86/kernel/kvmclock.c:102 paravirt_sched_clock arch/x86/include/asm/paravirt.h:22 [inline] sched_clock+0x2a/0x40 arch/x86/kernel/tsc.c:252 sched_clock_cpu+0x18/0x1b0 kernel/sched/clock.c:371 irqtime_account_irq+0x63/0x280 kernel/sched/cputime.c:60 account_irq_enter_time include/linux/vtime.h:109 [inline] irq_enter_rcu+0x61/0x140 kernel/softirq.c:356 sysvec_apic_timer_interrupt+0x13/0x120 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587 RIP: 0010:__orc_find+0x9b/0xf0 arch/x86/kernel/unwind_orc.c:58 Code: d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 48 01 d8 48 39 c1 73 b0 4c 8d 63 fc 49 39 ec 73 b3 4d 29 ee 49 c1 fe 02 <4b> 8d 04 76 48 8d 04 46 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90016598190 EFLAGS: 00000246 RAX: ffffffff84b1c69e RBX: ffffffff8ae8fef8 RCX: ffffffff84b1cb81 RDX: 0000000000000000 RSI: ffffffff8b5be90e RDI: ffffffff8ae8fef8 RBP: ffffffff8ae8fefc R08: ffffffff8b5be944 R09: ffffffff8b5be90e R10: 000000000007201e R11: 00000000000c2499 R12: ffffffff8ae8fef8 R13: ffffffff8ae8fef8 R14: 0000000000000000 R15: dffffc0000000000 orc_find arch/x86/kernel/unwind_orc.c:172 [inline] unwind_next_frame+0x342/0x1f90 arch/x86/kernel/unwind_orc.c:446 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 save_stack+0x1b/0x40 mm/kasan/common.c:48 set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:494 __kmalloc_reserve net/core/skbuff.c:142 [inline] pskb_expand_head+0x15a/0x1040 net/core/skbuff.c:1627 netlink_trim+0x1ea/0x240 net/netlink/af_netlink.c:1285 netlink_broadcast_filtered+0x65/0xdc0 net/netlink/af_netlink.c:1490 netlink_broadcast net/netlink/af_netlink.c:1535 [inline] nlmsg_multicast include/net/netlink.h:1020 [inline] nlmsg_notify+0x90/0x250 net/netlink/af_netlink.c:2512 rtnl_notify net/core/rtnetlink.c:737 [inline] rtmsg_ifinfo_send net/core/rtnetlink.c:3725 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:3740 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:3728 [inline] rtnetlink_event+0x193/0x1d0 net/core/rtnetlink.c:5511 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] netdev_features_change net/core/dev.c:1443 [inline] netdev_sync_lower_features net/core/dev.c:9056 [inline] __netdev_update_features+0x88d/0x1360 net/core/dev.c:9187 netdev_change_features+0x61/0xb0 net/core/dev.c:9259 bond_compute_features+0x502/0xa00 drivers/net/bonding/bond_main.c:1188 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3237 [inline] bond_netdev_event+0x81f/0xb30 drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] netdev_features_change net/core/dev.c:1443 [inline] netdev_sync_lower_features net/core/dev.c:9056 [inline] __netdev_update_features+0x88d/0x1360 net/core/dev.c:9187 netdev_change_features+0x61/0xb0 net/core/dev.c:9259 bond_compute_features+0x502/0xa00 drivers/net/bonding/bond_main.c:1188 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3237 [inline] bond_netdev_event+0x81f/0xb30 drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] netdev_features_change net/core/dev.c:1443 [inline] netdev_sync_lower_features net/core/dev.c:9056 [inline] __netdev_update_features+0x88d/0x1360 net/core/dev.c:9187 netdev_change_features+0x61/0xb0 net/core/dev.c:9259 bond_compute_features+0x502/0xa00 drivers/net/bonding/bond_main.c:1188 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3237 [inline] bond_netdev_event+0x81f/0xb30 drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] netdev_features_change net/core/dev.c:1443 [inline] netdev_sync_lower_features net/core/dev.c:9056 [inline] __netdev_update_features+0x88d/0x1360 net/core/dev.c:9187 netdev_change_features+0x61/0xb0 net/core/dev.c:9259 bond_compute_features+0x502/0xa00 drivers/net/bonding/bond_main.c:1188 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3237 [inline] bond_netdev_event+0x81f/0xb30 drivers/net/bonding/bond_main.c:3277 Lost 627 message(s)! ---[ end trace 203af1b41d4d3a41 ]--- RIP: 0010:pvclock_clocksource_read+0x21/0x510 arch/x86/kernel/pvclock.c:68 Code: 2e 0f 1f 84 00 00 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f8 41 57 48 c1 e8 03 41 56 41 55 41 54 4c 8d 67 03 55 4c 89 e1 <53> 48 c1 e9 03 48 89 fb 48 83 ec 58 0f b6 04 10 0f b6 14 11 48 89 RSP: 0018:ffffc90016598000 EFLAGS: 00010806 RAX: 1ffffffff17cec00 RBX: ffff8880ae620dc0 RCX: ffffffff8be76003 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff8be76000 RBP: ffff888059596380 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8be76003 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3e110c1700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90016597ff8 CR3: 000000005d14d000 CR4: 00000000001406f0 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 syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.