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 D80B8C10F1B for ; Mon, 19 Dec 2022 03:40:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbiLSDku (ORCPT ); Sun, 18 Dec 2022 22:40:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231254AbiLSDkr (ORCPT ); Sun, 18 Dec 2022 22:40:47 -0500 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 266A7638B for ; Sun, 18 Dec 2022 19:40:46 -0800 (PST) Received: by mail-il1-f200.google.com with SMTP id g3-20020a056e021a2300b00305e3da9585so5925616ile.16 for ; Sun, 18 Dec 2022 19:40:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TkEZ8M+1HG3nvSZ+Xe6iYgKTar5Wi2cWB6DMhdk6aMU=; b=2xJF9shBMieUoo/S+XaK4tZeBu/IECakdvnYOdKp339jDOWebdI889Pbcbx2bnggUb BSUbu1nvfmrXhShKyDDdmFq8vQGj8xxUO98U3DxbXsIpCOAEc8xI+J5JS9ttpLtCLcjK 2QA1Z8GOLfnxGj1upaKTPb7WMBn1Ooz8LppUW0LAoyZei9IrYceTHqOR+aNLlPE0GDqV IDVOj4PYG5CcJzPj1wAErqKzp0ZN2EktF3bMtQ9X8+9aFbPoCQ4DVF3tNoG9CTNyGZLH GoPYJWoIHv2pUfqmXW1jPABtQT1DvuJMf+ONLtBDk8bTvEIEzSd1/yOgYMokmyg8pg8+ j5bQ== X-Gm-Message-State: ANoB5pn9w52ulVn9oUZ9WuSpgRfcFhh78R5ENE/rSxVyVECY40yEkduW wNX8rz8XIzV2nQrpv5xfHiGdxEmCCeYIH6a2h6c0sUkjBsqR X-Google-Smtp-Source: AA0mqf4Aa3Kw+wZKikbr83YdL7LJnPPJDgMoH3cjpM4sPJ0iZIkHjs9zKbORUXHaNOkFdGXiPdUEBsAKFWH72O4gdmVSX35qASHt MIME-Version: 1.0 X-Received: by 2002:a02:6d1a:0:b0:387:eb89:9528 with SMTP id m26-20020a026d1a000000b00387eb899528mr36051793jac.26.1671421245501; Sun, 18 Dec 2022 19:40:45 -0800 (PST) Date: Sun, 18 Dec 2022 19:40:45 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009bb72705f0261578@google.com> Subject: [syzbot] memory leak in ath9k_hif_usb_rx_cb From: syzbot To: davem@davemloft.net, edumazet@google.com, 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, toke@toke.dk Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 6f1f5caed5bf Merge tag 'for-linus-6.2-ofs1' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11a5aa57880000 kernel config: https://syzkaller.appspot.com/x/.config?x=aa9d05fc5567240b dashboard link: https://syzkaller.appspot.com/bug?extid=e9632e3eb038d93d6bc6 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=1138a5c0480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10d07e77880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/e0b09490fc5c/disk-6f1f5cae.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/2f00e5ef8dce/vmlinux-6f1f5cae.xz kernel image: https://storage.googleapis.com/syzbot-assets/78f4c439075f/bzImage-6f1f5cae.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+e9632e3eb038d93d6bc6@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888101f97700 (size 240): comm "softirq", pid 0, jiffies 4294945988 (age 15.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: [] __alloc_skb+0x202/0x270 net/core/skbuff.c:552 [] __netdev_alloc_skb+0x6a/0x220 net/core/skbuff.c:630 [] __dev_alloc_skb include/linux/skbuff.h:3165 [inline] [] ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:635 [inline] [] ath9k_hif_usb_rx_cb+0x1d0/0x660 drivers/net/wireless/ath/ath9k/hif_usb.c:686 [] __usb_hcd_giveback_urb+0xf9/0x230 drivers/usb/core/hcd.c:1671 [] usb_hcd_giveback_urb+0x1ab/0x1c0 drivers/usb/core/hcd.c:1754 [] dummy_timer+0x8e4/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1988 [] call_timer_fn+0x33/0x1f0 kernel/time/timer.c:1700 [] expire_timers+0xff/0x1d0 kernel/time/timer.c:1751 [] __run_timers kernel/time/timer.c:2022 [inline] [] __run_timers kernel/time/timer.c:1995 [inline] [] run_timer_softirq+0x129/0x2f0 kernel/time/timer.c:2035 [] __do_softirq+0xeb/0x2ef kernel/softirq.c:571 [] invoke_softirq kernel/softirq.c:445 [inline] [] __irq_exit_rcu+0xc6/0x110 kernel/softirq.c:650 [] sysvec_apic_timer_interrupt+0xa2/0xd0 arch/x86/kernel/apic/apic.c:1107 [] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 [] native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] [] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] [] acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] [] acpi_idle_do_entry+0xc9/0xe0 drivers/acpi/processor_idle.c:570 [] acpi_idle_enter+0x150/0x230 drivers/acpi/processor_idle.c:707 [] cpuidle_enter_state+0xc4/0x740 drivers/cpuidle/cpuidle.c:239 BUG: memory leak unreferenced object 0xffff88810c312800 (size 1024): comm "softirq", pid 0, jiffies 4294945988 (age 15.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: [] __do_kmalloc_node mm/slab_common.c:967 [inline] [] __kmalloc_node_track_caller+0x47/0x120 mm/slab_common.c:988 [] kmalloc_reserve net/core/skbuff.c:492 [inline] [] __alloc_skb+0xe1/0x270 net/core/skbuff.c:565 [] __netdev_alloc_skb+0x6a/0x220 net/core/skbuff.c:630 [] __dev_alloc_skb include/linux/skbuff.h:3165 [inline] [] ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:635 [inline] [] ath9k_hif_usb_rx_cb+0x1d0/0x660 drivers/net/wireless/ath/ath9k/hif_usb.c:686 [] __usb_hcd_giveback_urb+0xf9/0x230 drivers/usb/core/hcd.c:1671 [] usb_hcd_giveback_urb+0x1ab/0x1c0 drivers/usb/core/hcd.c:1754 [] dummy_timer+0x8e4/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1988 [] call_timer_fn+0x33/0x1f0 kernel/time/timer.c:1700 [] expire_timers+0xff/0x1d0 kernel/time/timer.c:1751 [] __run_timers kernel/time/timer.c:2022 [inline] [] __run_timers kernel/time/timer.c:1995 [inline] [] run_timer_softirq+0x129/0x2f0 kernel/time/timer.c:2035 [] __do_softirq+0xeb/0x2ef kernel/softirq.c:571 [] invoke_softirq kernel/softirq.c:445 [inline] [] __irq_exit_rcu+0xc6/0x110 kernel/softirq.c:650 [] sysvec_apic_timer_interrupt+0xa2/0xd0 arch/x86/kernel/apic/apic.c:1107 [] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 [] native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] [] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] [] acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] [] acpi_idle_do_entry+0xc9/0xe0 drivers/acpi/processor_idle.c:570 [] acpi_idle_enter+0x150/0x230 drivers/acpi/processor_idle.c:707 BUG: memory leak unreferenced object 0xffff888101f97500 (size 240): comm "softirq", pid 0, jiffies 4294945988 (age 15.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: [] __alloc_skb+0x202/0x270 net/core/skbuff.c:552 [] __netdev_alloc_skb+0x6a/0x220 net/core/skbuff.c:630 [] __dev_alloc_skb include/linux/skbuff.h:3165 [inline] [] ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:635 [inline] [] ath9k_hif_usb_rx_cb+0x1d0/0x660 drivers/net/wireless/ath/ath9k/hif_usb.c:686 [] __usb_hcd_giveback_urb+0xf9/0x230 drivers/usb/core/hcd.c:1671 [] usb_hcd_giveback_urb+0x1ab/0x1c0 drivers/usb/core/hcd.c:1754 [] dummy_timer+0x8e4/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1988 [] call_timer_fn+0x33/0x1f0 kernel/time/timer.c:1700 [] expire_timers+0xff/0x1d0 kernel/time/timer.c:1751 [] __run_timers kernel/time/timer.c:2022 [inline] [] __run_timers kernel/time/timer.c:1995 [inline] [] run_timer_softirq+0x129/0x2f0 kernel/time/timer.c:2035 [] __do_softirq+0xeb/0x2ef kernel/softirq.c:571 [] invoke_softirq kernel/softirq.c:445 [inline] [] __irq_exit_rcu+0xc6/0x110 kernel/softirq.c:650 [] sysvec_apic_timer_interrupt+0xa2/0xd0 arch/x86/kernel/apic/apic.c:1107 [] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 [] native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] [] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] [] acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] [] acpi_idle_do_entry+0xc9/0xe0 drivers/acpi/processor_idle.c:570 [] acpi_idle_enter+0x150/0x230 drivers/acpi/processor_idle.c:707 [] cpuidle_enter_state+0xc4/0x740 drivers/cpuidle/cpuidle.c:239 --- 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