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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B138C77B7F for ; Fri, 12 May 2023 20:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239381AbjELUex (ORCPT ); Fri, 12 May 2023 16:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239397AbjELUeu (ORCPT ); Fri, 12 May 2023 16:34:50 -0400 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235FEF1 for ; Fri, 12 May 2023 13:34:48 -0700 (PDT) Received: by mail-io1-f71.google.com with SMTP id ca18e2360f4ac-763997ab8cdso1527169639f.2 for ; Fri, 12 May 2023 13:34:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683923687; x=1686515687; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0Jbdlq6Qh2gIvbCvuqqmkF7qyFanKC+s6l78ieWXaEQ=; b=eOxMvsKfwFVV5DlNlkDWQ3eA6Ko+ccNxbscUmYKotSP7uZoTGi8vmM6Uw8v0TS8YoF 6CO/4TsU3/nq2W1gglRtQOJfbyHFd5Z95g5yKFSuuuTb5GaLsV3qcJ6UjBQjaMjkoJuU 6uW9lyYrb4XUFd6yktpUir49FbgARKZaBQnWL0xD0qubxNtYZKiTCD5DMAydDXnL3uLL /5mNH2JpmyKqzVDpHrloyVD9dP8h5cdOECzwMO2uQw13C7mqsuUJ8KxGg3pHwVb6t7UR 42R/prGnguiNrkEBUXJlOQDtSB9/gJoF1QDpURAk/1kheWl94cSFl5N+B4RFRKlxdl89 gpmA== X-Gm-Message-State: AC+VfDyyXnCFz5un9w0vL2f0RJ/iIAynpTKrbWgdK+FHrB3k1MnnBSac cJ7q39smwpGU6GJtMKSx7p8yURvZ0758zTL+D93gXKSLI5+K X-Google-Smtp-Source: ACHHUZ75RRPVogNTRfUpjWWSirB/LfsHA7kwauVX9LwfzKRe4UnntCZBUDvPWYCdDrHdwQ/ZRl5xYQYoQCfxDj74PNDqKlzssjKS MIME-Version: 1.0 X-Received: by 2002:a02:b1d5:0:b0:40f:99ae:dba8 with SMTP id u21-20020a02b1d5000000b0040f99aedba8mr7589353jah.1.1683923687453; Fri, 12 May 2023 13:34:47 -0700 (PDT) Date: Fri, 12 May 2023 13:34:47 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000383da505fb8509b7@google.com> Subject: [syzbot] [wireless?] memory leak in hwsim_new_radio_nl From: syzbot To: davem@davemloft.net, edumazet@google.com, johannes@sipsolutions.net, kuba@kernel.org, kvalo@kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, 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: 105131df9c3b Merge tag 'dt-fixes-6.4' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1193dc92280000 kernel config: https://syzkaller.appspot.com/x/.config?x=fa9562c0bfb72fa2 dashboard link: https://syzkaller.appspot.com/bug?extid=904ce6fbb38532d9795c compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10b4577c280000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14a9e29e280000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/029c9c553eb9/disk-105131df.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c807843227d1/vmlinux-105131df.xz kernel image: https://storage.googleapis.com/syzbot-assets/dfce3441d47b/bzImage-105131df.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+904ce6fbb38532d9795c@syzkaller.appspotmail.com Warning: Permanently added '10.128.1.177' (ECDSA) to the list of known hosts. executing program executing program BUG: memory leak unreferenced object 0xffff88810e2ac920 (size 32): comm "syz-executor238", pid 4983, jiffies 4294944120 (age 14.000s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc_trace+0x24/0x90 mm/slab_common.c:1057 [] kmalloc include/linux/slab.h:559 [inline] [] hwsim_new_radio_nl+0x43b/0x660 drivers/net/wireless/virtual/mac80211_hwsim.c:5962 [] genl_family_rcv_msg_doit.isra.0+0xee/0x150 net/netlink/genetlink.c:968 [] genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] [] genl_rcv_msg+0x2d7/0x430 net/netlink/genetlink.c:1065 [] netlink_rcv_skb+0x91/0x1e0 net/netlink/af_netlink.c:2546 [] genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 [] netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] [] netlink_unicast+0x39b/0x4d0 net/netlink/af_netlink.c:1365 [] netlink_sendmsg+0x39a/0x720 net/netlink/af_netlink.c:1913 [] sock_sendmsg_nosec net/socket.c:724 [inline] [] sock_sendmsg+0x58/0xb0 net/socket.c:747 [] ____sys_sendmsg+0x397/0x430 net/socket.c:2503 [] ___sys_sendmsg+0xa8/0x110 net/socket.c:2557 [] __sys_sendmsg+0x8c/0x100 net/socket.c:2586 [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 [] entry_SYSCALL_64_after_hwframe+0x63/0xcd BUG: memory leak unreferenced object 0xffff88810e2ac800 (size 32): comm "syz-executor238", pid 4984, jiffies 4294944700 (age 8.200s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc_trace+0x24/0x90 mm/slab_common.c:1057 [] kmalloc include/linux/slab.h:559 [inline] [] hwsim_new_radio_nl+0x43b/0x660 drivers/net/wireless/virtual/mac80211_hwsim.c:5962 [] genl_family_rcv_msg_doit.isra.0+0xee/0x150 net/netlink/genetlink.c:968 [] genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] [] genl_rcv_msg+0x2d7/0x430 net/netlink/genetlink.c:1065 [] netlink_rcv_skb+0x91/0x1e0 net/netlink/af_netlink.c:2546 [] genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 [] netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] [] netlink_unicast+0x39b/0x4d0 net/netlink/af_netlink.c:1365 [] netlink_sendmsg+0x39a/0x720 net/netlink/af_netlink.c:1913 [] sock_sendmsg_nosec net/socket.c:724 [inline] [] sock_sendmsg+0x58/0xb0 net/socket.c:747 [] ____sys_sendmsg+0x397/0x430 net/socket.c:2503 [] ___sys_sendmsg+0xa8/0x110 net/socket.c:2557 [] __sys_sendmsg+0x8c/0x100 net/socket.c:2586 [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 [] entry_SYSCALL_64_after_hwframe+0x63/0xcd --- 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. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to change bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup