Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp494352imw; Wed, 13 Jul 2022 02:26:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uh5BV0OfKPWhZB/t2i6llkUJnU4BS94CUotlRvTao3TY6Z3/sMWWbLj8oMMwPe3VOAS/9f X-Received: by 2002:a17:90b:4c0b:b0:1ef:f525:97ba with SMTP id na11-20020a17090b4c0b00b001eff52597bamr2920676pjb.44.1657704414861; Wed, 13 Jul 2022 02:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657704414; cv=none; d=google.com; s=arc-20160816; b=sUg49lx948e30g4E60N9FxG0lCiuotxiwO/w8Q/vlApCfnjAYvWMZIqPf+osCUFrfR noiCCq4MwIjaN/bfV9StT5GbQgwZYwYvis7wgWpbii2umWEF0kghR+8Pm8JvihkiZYrU G80OFXkuELOcxP2vKl3Yhg1vAnxo/3d2am8FZVHY4/CVAXjAXBa0fSWvIN3VC4/Q6de7 UwoNWmg9X1oOSAJqEpHgPiFm5xosWZp2OisiqGl5t5Bf1rPlVRcIcxYTtnjStUc48WQb 5bQgNVWXwy5MTm0hgw2WhcD6YdZ8q/Ew9fi3OcdRRuXQoD0upJW7tbRbDlB0tEVQ5B9D aIqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=IjUx3jvjrE3LSejVCszDwxlxPoVo6L4bZafVfTgekgo=; b=wGlMIm805V/obubg+qiav5j1NagS/5jxG0L+TnRnfYljVX+2VSejLKvz8NbRFcZI8U e8KX4grjBo+fC3yg3YaS3g6f0cpsHlqoOBB5XCqOAK7deU+/bCLBeIKJfurCkNMRzftn tB+YyOOtY6HexV1Th1jSdanoy9TwOq+hTY4Ar/R/zs7Oq+jUKF6MFQFWzN2jSQzOEyew 4SZ+5ituwJcNVNI7iUV8EBEmxyxLyW48briaEkuDDuMgtyiAmsKravCGg9kkr1/se/5H kuOsSyXpxZpKJgKqbZ57krVn1m43cggthKi0zD0DGxQOGxhbEOoHAX0QQ+H3cHOAqKim 5I1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c38-20020a631c26000000b0041255c88c3esi16888290pgc.525.2022.07.13.02.26.43; Wed, 13 Jul 2022 02:26:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234664AbiGMJIK (ORCPT + 65 others); Wed, 13 Jul 2022 05:08:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbiGMJIJ (ORCPT ); Wed, 13 Jul 2022 05:08:09 -0400 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE2BFEA179 for ; Wed, 13 Jul 2022 02:08:08 -0700 (PDT) Received: by mail-il1-f199.google.com with SMTP id i8-20020a056e021d0800b002dc704e34a5so5618435ila.13 for ; Wed, 13 Jul 2022 02:08:08 -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:in-reply-to:message-id:subject :from:to; bh=IjUx3jvjrE3LSejVCszDwxlxPoVo6L4bZafVfTgekgo=; b=SPuygU9m8GWRN4DPLyd09x6AqHqwv/BFYbkJolJZSIvx7Atkl8MFkggKbpdrDxw4nc ZX+iGC/O3lq8jLAXvEFSACaUE289Hw01FiSdIE7PJWlhrXUAPuwjEU/U2sd+jTYVVqan MOG6UHU1ho3sRsouDF9BAf8nl7PUGH8NZEO6Iw5x7BuyaaxRBxfTpRKOm4xmlwAG3z8Q PhJgeJ/KG5yPqws+iLOtdXPBFHlJRmch3lysDM1035OcIXxSDhuGpegaJ0F7zQ63AHND tRzGmt/Q3AQz+kAQxNXN/Dwmm1h5w4qR/uJXEC5jMRspPy78gRiaEqfTJORDiYDoGQG5 TD6g== X-Gm-Message-State: AJIora93W6MktDC1wrMyihS8HV9/P4tKHjoC8GDYl5/pPwgsqNR9oYvc CiMKeOCKO3dk1uTh5uMbTbfDqB5P/QvHvU2N74i8LSkCBBKv MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1069:b0:2dc:7233:740b with SMTP id q9-20020a056e02106900b002dc7233740bmr1253741ilj.229.1657703288282; Wed, 13 Jul 2022 02:08:08 -0700 (PDT) Date: Wed, 13 Jul 2022 02:08:08 -0700 In-Reply-To: <181f6c7ee61.6fd1462c198214.9029235269763018181@siddh.me> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a4271f05e3ac1ff8@google.com> Subject: Re: [syzbot] memory leak in cfg80211_inform_single_bss_frame_data From: syzbot To: code@siddh.me, 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" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: memory leak in regulatory_init_db BUG: memory leak unreferenced object 0xffff8881450dc880 (size 64): comm "swapper/0", pid 1, jiffies 4294937974 (age 80.900s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ff ff ff ff 00 00 00 00 00 00 00 00 30 30 00 00 ............00.. backtrace: [] kmalloc include/linux/slab.h:600 [inline] [] kzalloc include/linux/slab.h:733 [inline] [] regulatory_hint_core net/wireless/reg.c:3216 [inline] [] regulatory_init_db+0x22f/0x2de net/wireless/reg.c:4277 [] do_one_initcall+0x63/0x2e0 init/main.c:1295 [] do_initcall_level init/main.c:1368 [inline] [] do_initcalls init/main.c:1384 [inline] [] do_basic_setup init/main.c:1403 [inline] [] kernel_init_freeable+0x255/0x2cf init/main.c:1610 [] kernel_init+0x1a/0x1c0 init/main.c:1499 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 [ 88. Tested on: commit: b047602d Merge tag 'trace-v5.19-rc5' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13d4252a080000 kernel config: https://syzkaller.appspot.com/x/.config?x=689b5fe7168a1260 dashboard link: https://syzkaller.appspot.com/bug?extid=7a942657a255a9d9b18a compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Note: no patches were applied.