Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp991002pxp; Wed, 16 Mar 2022 23:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMRj+lld0ZRUffP8jB38jIptyZNKOgKoQhXxMwF4ZsvZ4SodkOnBgKEG1jF+H7amzunhff X-Received: by 2002:a17:903:228f:b0:151:8379:9438 with SMTP id b15-20020a170903228f00b0015183799438mr3124318plh.51.1647499340064; Wed, 16 Mar 2022 23:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647499340; cv=none; d=google.com; s=arc-20160816; b=DBrU56BClUKGLearOzdoTzK5N4nUW6uyhqKJkPOc2HNU21HxYLXUPFzwHm6C4LVfhZ s8XFDncTRO4OCv/pfxLG+/PmZxVclZkzXPOlZS/7kmK4hpsWuULxGRGq7yCEVKQ6dYdP ql3p0x8Z6kwukiAjMBHW0D1btjCzzFtE4KtkYMfTyqof2eWG06sxPguA+iP9lvUC6LNs Lew5xDqJ219v0knLXIUsFhasO6XE/OiN/WMVoZYtICh78DCZzyQxiwdYVmpXpmo2K7+X kVRJAUVwUR025IlC4aYvYXKwM1PEuKYYxcR70QMcmQsCcJNPIY1PvxnZ6iN/8DOo99Vq r1Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=mfqGnB/NorIrBYocK370TVdnZ90hKH4/cEEo32hkWwY=; b=j+hmSS0zAt978sUeKWjG1rtt/E3uzBKk/hX+q2smIglN3hCndLUM8mueIB1qZ3TgNv E0enxlFl5eQcca6rDkg3pwLTR6aL67nfGl+NNWei5kuycvSOpFx7sj8O15UdRqwJIYVj LKkLQYPDowZiSzgKSrUUvE4hPWDbbEvwt6a0OmEgh0ddedeilPNmklS6USv1BOf6WE1V 7WaI/CRHX4PkSvYh8dUOwIwly27j1wX62LHxIKz7t83SVaz5iYp3Rzkk4+ZmJjxvYZ33 vlzdLR+7Gnip7oyk9aFDMY0DjUHqXq60zs5BwvZGaIGiID0e54EO+LqTo23LzFBD3zXY do8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=BGDAm1EZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c19-20020a170902b69300b00153ceb1b29bsi2430369pls.66.2022.03.16.23.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=BGDAm1EZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EACA2C69CB; Wed, 16 Mar 2022 22:26:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351789AbiCOUuS (ORCPT + 99 others); Tue, 15 Mar 2022 16:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351743AbiCOUuO (ORCPT ); Tue, 15 Mar 2022 16:50:14 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [81.169.146.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B69624F06; Tue, 15 Mar 2022 13:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1647377335; s=strato-dkim-0002; d=hartkopp.net; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=mfqGnB/NorIrBYocK370TVdnZ90hKH4/cEEo32hkWwY=; b=BGDAm1EZRYfYZ4KX1kNZ5aurOwJ7JMSKWmS1K0SMwjlZ5on3oITcZJy9WqgHYP/Es7 2Fb6FwO/kXt1K6J0eWpdSnNDf0VHUGbe+58QPyWnluDsVJQLPrOmjINwCJeAk6ff/0mc 8yocIlUDGyyVUI263MSiGKA8HqLvMP1qwIHaHqoUOqwhkCrUQeGFa8iQVL0pRNKKl4zz H31elYe2yV4yEgS/Lyly2mvv+uVTSzUISksYPG4yMSiUXigsarTkg1flX92Nlq5PDKh3 oDInwP2sO/zigM77E8oc1Iqr55l6bwTIafIBAduGrC7B3LyriTEs79hD/veDgih3BODu LkeQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P2MHfkW8eP4Mre39l357AZT/I7AY/7nT2yrDxb8mjG14FZxedJy6qgO1qCHSa1GLptZHusx3hdd0DIgVuBOfXW6v7w==" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2a00:6020:1cfa:f900::b82] by smtp.strato.de (RZmta 47.41.0 AUTH) with ESMTPSA id a046a1y2FKms13o (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 15 Mar 2022 21:48:54 +0100 (CET) Message-ID: <9bdaf3f2-3edc-5cd5-1184-55387344881d@hartkopp.net> Date: Tue, 15 Mar 2022 21:48:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: net-next Re: [syzbot] WARNING in isotp_tx_timer_handler (2) Content-Language: en-US To: syzbot , davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, mkl@pengutronix.de, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <0000000000004e53a505da08501e@google.com> From: Oliver Hartkopp In-Reply-To: <0000000000004e53a505da08501e@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SORTED_RECIPS,SPF_HELO_NONE, 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-kernel@vger.kernel.org Hi all, thanks for the report! A patch to fix the issue has been posted for the "net-next" tree here: https://lore.kernel.org/netdev/20220315203748.1892-1-socketcan@hartkopp.net/T/#u I sent it to the net-next tree as it fits best to get it into upstream before the merge window opens IMO. Linus' tree (and the stable kernels) need a different patch due to current changes in net-next. A patch for the non net-next kernels is available too. The fix is not critical. So there's no hurry to get it into Linus' tree and the stable trees. Best regards, Oliver On 12.03.22 17:55, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 46b348fd2d81 alx: acquire mutex for alx_reinit in alx_chan.. > git tree: net > console output: https://syzkaller.appspot.com/x/log.txt?x=15da96e5700000 > kernel config: https://syzkaller.appspot.com/x/.config?x=442f8ac61e60a75e > dashboard link: https://syzkaller.appspot.com/bug?extid=2339c27f5c66c652843e > 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=165c76ad700000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=143da461700000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+2339c27f5c66c652843e@syzkaller.appspotmail.com > > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 19 at net/can/isotp.c:852 isotp_tx_timer_handler+0x717/0xcd0 net/can/isotp.c:852 > Modules linked in: > CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.17.0-rc7-syzkaller-00198-g46b348fd2d81 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > RIP: 0010:isotp_tx_timer_handler+0x717/0xcd0 net/can/isotp.c:852 > Code: f9 44 0f b6 25 3b 23 56 05 31 ff 44 89 e6 e8 f0 56 4f f9 45 84 e4 0f 85 9d fa ff ff e9 4e 01 20 01 85 ed 75 52 e8 59 54 4f f9 <0f> 0b 45 31 e4 e8 4f 54 4f f9 48 8b 74 24 40 48 b8 00 00 00 00 00 > RSP: 0018:ffffc90000d97c40 EFLAGS: 00010246 > RAX: 0000000000000000 RBX: ffff88806f490568 RCX: 0000000000000100 > RDX: ffff888011945700 RSI: ffffffff88296bd7 RDI: 0000000000000003 > RBP: 0000000000000000 R08: ffffffff8ac3c440 R09: ffffffff8829656f > R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000 > R13: ffff8880b9d2a880 R14: ffff8880b9d2a600 R15: ffffffff882964c0 > FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007f5c3133d1d8 CR3: 000000006b70d000 CR4: 00000000003506e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > __run_hrtimer kernel/time/hrtimer.c:1685 [inline] > __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 > hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766 > __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 > run_ksoftirqd kernel/softirq.c:921 [inline] > run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 > smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 > kthread+0x2e9/0x3a0 kernel/kthread.c:377 > ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 > > > > --- > 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