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=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 1A98EC47093 for ; Wed, 2 Jun 2021 16:37:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2824619AA for ; Wed, 2 Jun 2021 16:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbhFBQjP (ORCPT ); Wed, 2 Jun 2021 12:39:15 -0400 Received: from mail-il1-f200.google.com ([209.85.166.200]:35368 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhFBQjK (ORCPT ); Wed, 2 Jun 2021 12:39:10 -0400 Received: by mail-il1-f200.google.com with SMTP id n7-20020a056e021487b02901d29983f028so2035426ilk.2 for ; Wed, 02 Jun 2021 09:37:27 -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=cF7ayDf+Ts1jZfgvnRObEnmRdhXet0IgINJELNWfuiE=; b=MyZYZwcEdun+kKPsLBo3zHmrFHqRFhuBPnnrt87kAoJHa7gxGfZdPur9syE5uot7At J3pekV59CPGqrab9cVsm6W7k0/mVOEz7aX6lWT7/7zQOrs71MWb/egkLc07FnAaPEnkg 3jrAZoR2Dk6gRhFqXMwoAWeUWkOCCfdyYDWLtTnxdMnrEB4oUxTMvh+/GXP2fAGowNcU DkzYjz2urq0png/jgM2ajTJvfICCWb+Ss+PwVbXyvNYOEMBVcRBUsSVk75X6PW+V2IG7 kCVf1pmdzxG7ExD+IjIHrq20xqYoG7CDrtQK2VftaWeBwVm7aGnAybcgtcPvfj6RDFR6 E7VQ== X-Gm-Message-State: AOAM533ryLr3JoNbVyHOWQAGrQYIzs5nFO/fCXqSI2YPXeubab/4oPgt 0194HtKgj7N7mvw6dq5H9PQFXcUlFxU851IGozkzfEFt1/Uj X-Google-Smtp-Source: ABdhPJx4bmf/t6/ZLYN8JvIKGX3pFznCArM1dR0UnyPm7FWAtUvZa2UnDBPnH7PIzp6I9y2U0dOSOudbBfff98P6P4JPmEntn53R MIME-Version: 1.0 X-Received: by 2002:a05:6638:2285:: with SMTP id y5mr15870114jas.19.1622651847454; Wed, 02 Jun 2021 09:37:27 -0700 (PDT) Date: Wed, 02 Jun 2021 09:37:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f632ba05c3cb12c2@google.com> Subject: [syzbot] memory leak in cfg80211_inform_single_bss_frame_data From: syzbot To: davem@davemloft.net, johannes@sipsolutions.net, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-wireless@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: netdev@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: b90e90f4 Merge branch 'i2c/for-current' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13bd382fd00000 kernel config: https://syzkaller.appspot.com/x/.config?x=b8c23f7848d1c696 dashboard link: https://syzkaller.appspot.com/bug?extid=7a942657a255a9d9b18a syz repro: https://syzkaller.appspot.com/x/repro.syz?x=131ce883d00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+7a942657a255a9d9b18a@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888119584780 (size 96): comm "kworker/u4:0", pid 8670, jiffies 4295047890 (age 8.810s) hex dump (first 32 bytes): fd f0 0a 3d 90 c3 05 00 00 00 00 00 00 00 00 00 ...=............ 00 00 00 00 00 00 00 00 28 00 00 00 01 00 06 10 ........(....... backtrace: [] cfg80211_inform_single_bss_frame_data+0x139/0x640 net/wireless/scan.c:2376 [] cfg80211_inform_bss_frame_data+0x4b/0x470 net/wireless/scan.c:2437 [] ieee80211_bss_info_update+0x183/0x470 net/mac80211/scan.c:190 [] ieee80211_rx_bss_info net/mac80211/ibss.c:1126 [inline] [] ieee80211_rx_mgmt_probe_beacon+0x60b/0x950 net/mac80211/ibss.c:1615 [] ieee80211_ibss_rx_queued_mgmt+0x23c/0x6e0 net/mac80211/ibss.c:1642 [] ieee80211_iface_work+0x476/0x5f0 net/mac80211/iface.c:1437 [] process_one_work+0x2c9/0x600 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x178/0x1b0 kernel/kthread.c:313 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 BUG: memory leak unreferenced object 0xffff888119584680 (size 96): comm "kworker/u4:0", pid 8670, jiffies 4295048012 (age 7.590s) hex dump (first 32 bytes): f4 b0 1d 3d 90 c3 05 00 00 00 00 00 00 00 00 00 ...=............ 00 00 00 00 00 00 00 00 28 00 00 00 01 00 06 10 ........(....... backtrace: [] cfg80211_inform_single_bss_frame_data+0x139/0x640 net/wireless/scan.c:2376 [] cfg80211_inform_bss_frame_data+0x4b/0x470 net/wireless/scan.c:2437 [] ieee80211_bss_info_update+0x183/0x470 net/mac80211/scan.c:190 [] ieee80211_rx_bss_info net/mac80211/ibss.c:1126 [inline] [] ieee80211_rx_mgmt_probe_beacon+0x60b/0x950 net/mac80211/ibss.c:1615 [] ieee80211_ibss_rx_queued_mgmt+0x23c/0x6e0 net/mac80211/ibss.c:1642 [] ieee80211_iface_work+0x476/0x5f0 net/mac80211/iface.c:1437 [] process_one_work+0x2c9/0x600 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x178/0x1b0 kernel/kthread.c:313 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 BUG: memory leak unreferenced object 0xffff888119584400 (size 96): comm "kworker/u4:0", pid 8670, jiffies 4295048012 (age 7.590s) hex dump (first 32 bytes): f5 b0 1d 3d 90 c3 05 00 00 00 00 00 00 00 00 00 ...=............ 00 00 00 00 00 00 00 00 28 00 00 00 01 00 06 10 ........(....... backtrace: [] cfg80211_inform_single_bss_frame_data+0x139/0x640 net/wireless/scan.c:2376 [] cfg80211_inform_bss_frame_data+0x4b/0x470 net/wireless/scan.c:2437 [] ieee80211_bss_info_update+0x183/0x470 net/mac80211/scan.c:190 [] ieee80211_rx_bss_info net/mac80211/ibss.c:1126 [inline] [] ieee80211_rx_mgmt_probe_beacon+0x60b/0x950 net/mac80211/ibss.c:1615 [] ieee80211_ibss_rx_queued_mgmt+0x23c/0x6e0 net/mac80211/ibss.c:1642 [] ieee80211_iface_work+0x476/0x5f0 net/mac80211/iface.c:1437 [] process_one_work+0x2c9/0x600 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x178/0x1b0 kernel/kthread.c:313 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 BUG: memory leak unreferenced object 0xffff8881196dda80 (size 96): comm "kworker/u4:1", pid 8689, jiffies 4295048023 (age 7.480s) hex dump (first 32 bytes): e4 40 1f 3d 90 c3 05 00 00 00 00 00 00 00 00 00 .@.=............ 00 00 00 00 00 00 00 00 28 00 00 00 01 00 06 10 ........(....... backtrace: [] cfg80211_inform_single_bss_frame_data+0x139/0x640 net/wireless/scan.c:2376 [] cfg80211_inform_bss_frame_data+0x4b/0x470 net/wireless/scan.c:2437 [] ieee80211_bss_info_update+0x183/0x470 net/mac80211/scan.c:190 [] ieee80211_rx_bss_info net/mac80211/ibss.c:1126 [inline] [] ieee80211_rx_mgmt_probe_beacon+0x60b/0x950 net/mac80211/ibss.c:1615 [] ieee80211_ibss_rx_queued_mgmt+0x23c/0x6e0 net/mac80211/ibss.c:1642 [] ieee80211_iface_work+0x476/0x5f0 net/mac80211/iface.c:1437 [] process_one_work+0x2c9/0x600 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x178/0x1b0 kernel/kthread.c:313 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches