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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EE99C433F5 for ; Sat, 2 Oct 2021 00:48:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DBA761A81 for ; Sat, 2 Oct 2021 00:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232023AbhJBAuE (ORCPT ); Fri, 1 Oct 2021 20:50:04 -0400 Received: from mail-il1-f197.google.com ([209.85.166.197]:44575 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbhJBAuD (ORCPT ); Fri, 1 Oct 2021 20:50:03 -0400 Received: by mail-il1-f197.google.com with SMTP id i11-20020a92540b000000b0025456903645so8410677ilb.11 for ; Fri, 01 Oct 2021 17:48:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=HIg4eiscweqPr3NwOYBCUHiwXXZ8jp5A10ER9cKuXfg=; b=PvHF82BtX2WsXwWhOkEvvKyK9OrkLieq675BQJ5fOwNadY9+jNEIfzJAlOKtiwwKGW qSuzjy9xcOdWuAjtLnOkO1zPiBHKhS876DSqCbTcOaCC0rzfpg91H6ZmivarufwlzEn4 nx1SfvHD9E8D1V6ypinMEppYt5eMIPUAXPHI4UJJBNxjrAH7Jp9tGLmN5g2aikt89x34 G5dIeyY1GwaJtSCjcJlGVIS6BeBZJqDYaV5EevAQYdpVaHxNqISDlidyqHYyPJgryEvm qB6yv9I5MFqZ5ofR/6B+G6bcaRdsBw2otC0IzNeVniM2NfrnC1ToM4ja+Jzp+CjTK7Lf Xrgg== X-Gm-Message-State: AOAM531OiXPfFtDFLpM0Tqi8SYKRfZvr+sO+CeH9uoqk8+Z1eVFiOU2f qrlIXt4TaTbCif6wRzM7307wGHrxEZXcnGc300nlaqmQoNPc X-Google-Smtp-Source: ABdhPJwDKs2Jd1f8JLMJ5OrR9cQANhF1V2G6QaW3z1FJLrL2pANQIbPWI8Q0JMiF94uq9gDEi3hMDCEaIH8RsFYJoKGr5XTLXaf1 MIME-Version: 1.0 X-Received: by 2002:a92:d3c1:: with SMTP id c1mr628667ilh.223.1633135698649; Fri, 01 Oct 2021 17:48:18 -0700 (PDT) Date: Fri, 01 Oct 2021 17:48:18 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000030283d05cd540908@google.com> Subject: [syzbot] net-next test error: WARNING in devlink_nl_region_notify From: syzbot To: davem@davemloft.net, jiri@nvidia.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 7fec4d39198b gve: Use kvcalloc() instead of kvzalloc() git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1302aebb300000 kernel config: https://syzkaller.appspot.com/x/.config?x=e917f3dfc452c977 dashboard link: https://syzkaller.appspot.com/bug?extid=e51ead0112c2cb8d1b45 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+e51ead0112c2cb8d1b45@syzkaller.appspotmail.com batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active device hsr_slave_0 entered promiscuous mode device hsr_slave_1 entered promiscuous mode ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6534 at net/core/devlink.c:5158 devlink_nl_region_notify+0x184/0x1e0 net/core/devlink.c:5158 Modules linked in: CPU: 1 PID: 6534 Comm: syz-executor.0 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:devlink_nl_region_notify+0x184/0x1e0 net/core/devlink.c:5158 Code: 38 41 b8 c0 0c 00 00 31 d2 48 89 ee 4c 89 e7 e8 72 1a 26 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e e9 01 bb 41 fa e8 fc ba 41 fa <0f> 0b e9 f7 fe ff ff e8 f0 ba 41 fa 0f 0b eb da 4c 89 e7 e8 c4 16 RSP: 0018:ffffc90002b8f658 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88807872b900 RSI: ffffffff87345094 RDI: 0000000000000003 RBP: ffff888073785e00 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff87344f8a R11: 0000000000000000 R12: ffff888025299000 R13: 0000000000000000 R14: 000000000000002c R15: ffff888025299070 FS: 00005555561e0400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f286d3ee000 CR3: 000000006885e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: devlink_region_create+0x39f/0x4c0 net/core/devlink.c:10327 nsim_dev_dummy_region_init drivers/net/netdevsim/dev.c:481 [inline] nsim_dev_probe+0x5f6/0x1150 drivers/net/netdevsim/dev.c:1479 call_driver_probe drivers/base/dd.c:517 [inline] really_probe+0x245/0xcc0 drivers/base/dd.c:596 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:751 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:781 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:898 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x228/0x4a0 drivers/base/dd.c:969 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xc35/0x21b0 drivers/base/core.c:3359 nsim_bus_dev_new drivers/net/netdevsim/bus.c:435 [inline] new_device_store+0x48b/0x770 drivers/net/netdevsim/bus.c:302 bus_attr_store+0x72/0xa0 drivers/base/bus.c:122 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write+0x429/0x660 fs/read_write.c:507 vfs_write+0x7cf/0xae0 fs/read_write.c:594 ksys_write+0x12d/0x250 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2677dce3ef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007ffe549b8fe0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f2677dce3ef RDX: 0000000000000003 RSI: 00007ffe549b9030 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007ffe549b8f80 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f2677e75971 R13: 00007ffe549b9030 R14: 0000000000000000 R15: 00007ffe549b9700 --- 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.