From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E88A23C509 for ; Tue, 3 Jun 2025 15:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748964981; cv=none; b=TjXAT8UiE3qLWhC8vIzCfHMTjsIpgiIovUX1/RvZ9EQ/2iVAKc1rEQLwpNhL4ZYNYLAmK0eVLTN1w1mxRzK/dP0Q93dlXFgfJVA5jCUxPqr9AsdLl1n4JKy2ruoVNT/HjXeAA0fgcI1X8IEqosxqAc4OLd5IKjk0zakerXjbqKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748964981; c=relaxed/simple; bh=so5Cd5VO/ohDqiSM1PiA8yaYZigYUNqPmXEXIixW9MQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=kT60+2M2NI6W46JMdRD5QBEHNH63FctXZnJCy2F0so/LBvN9iFayXFMldJIu8ZBG3+tRQ5I+MCpyvhxqETLwrTQCEjcAIbjyTPpaC/lwoRqb7U0MU5z/F9qC/LrjpaU9TP9415JVPTufH0Cj54wb9nNOOGMwYC+RO84G56JQnwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=aBKuWkrR; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="aBKuWkrR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1748964978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/LvaDhDxbF96xKIaUKjht39c2AE1OP7X/UE1kJNGLGU=; b=aBKuWkrRqQnFNkvgTP2nR7URLgZ0gB0MQrPcYKR4zblwxqlnkrkaKTCYTwzf/ZPJOnMkbH gLosQhbk/13YYJn5VvNuBLBb8m2xfigyRJZTe18IyBDE3kEBlbZ99532o9L7T7y8/deBkX +sw5KvEIjJmuhIACmWvIwiR570CZ6Tc= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-584-2ci2Tx5JOXGfpuBdKpCb9A-1; Tue, 03 Jun 2025 11:36:17 -0400 X-MC-Unique: 2ci2Tx5JOXGfpuBdKpCb9A-1 X-Mimecast-MFC-AGG-ID: 2ci2Tx5JOXGfpuBdKpCb9A_1748964975 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-451dda846a0so15922285e9.2 for ; Tue, 03 Jun 2025 08:36:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748964974; x=1749569774; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/LvaDhDxbF96xKIaUKjht39c2AE1OP7X/UE1kJNGLGU=; b=ZtMwlS9ln6MdsqUjWpiJkMCGK2xnm1M/LAK2XXockpMlofu/Mc0cMfmetOo9I36fA/ W6BKaXw+1PO4zCwC4iPkCalQBCJRP4S0VvGHlmgdwz/9m5mPDjiraVEPkXv2cLnKv+1O c/KKrSLg2BX58iNNzXmBQqJkVDnRovUHimZc0YVqxgg1O2IX94iRyi6su3B0Bs1x93Eq Exj1PITGTJL4sbo/TKBatmYZr9O6FkmugcujVLI48CwvtU0IDNlXGBv6+VANZsi/LSGb c+7KVJhLx5bq2ZDxSGwOdEFZGwMbqMvO/9WUCX23Jg9SEQwRiJ2uo4yDYhGXwjeV9ROZ L1IA== X-Forwarded-Encrypted: i=1; AJvYcCVxbiGpNuyLjsz4/W6MSBnDQM6kMZm9M20HMOKKJGBVKblY96WEjwET7mu/fZaX/yt6KKw7M6GVO7v51XE=@vger.kernel.org X-Gm-Message-State: AOJu0Yxa9s90GLLEUPLBzrGqhkYLXqnGzOok8P4i97mRk6w3DPVISXMt qVJm6gLijonqb/Jqqik06r4yS73rU741TpCTl9fOLDXZ39Bi+ZRPjtC0fJz8tiaCehOU159shSI /7wFTWc5+fGp+HhTIBmALDufgoTggtpeOoZBGfubuWjywJ2CxGZSq6sTW0vMCojBbnAWfKIQ3Bw == X-Gm-Gg: ASbGncuTw1FmhoCQQshzo5WF66Dqoo0wswuoflrNIfvNBxBGtMy4PDUubfyB0sBJrug BjMDgpXs6Lv+B9Fy26UKRTOShotnAb76HZTy0D4lQDCybWX5x5OvdJ+yeJhXqGaMhlz+p09bAqT /asat4HJS92cqL96X4a7wt1TV/qHMTJ1iwppWXM274PaWIPUGLJ4HaYU1uxOZbCZqShXE7FWxjw 8AuR0JHEwOYSmMp/Nqlh0wQ1IFFiYZ6YGu2usQ1hufEhVIFd8Y2LQsYJFQBopaGiPjHX8J72t2Z YB4bHU1yBsSyN3mr/iY= X-Received: by 2002:a05:6000:2c0f:b0:3a4:e6e7:3acd with SMTP id ffacd0b85a97d-3a4fe16a68cmr10464436f8f.18.1748964974410; Tue, 03 Jun 2025 08:36:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IElEymzG/EMNgRgbugoUUsqwa+rCR/+NQMtZ2sPmIuqTSEPZMFYrzKmWz2URs19s4oUNJJ5cQ== X-Received: by 2002:a05:6000:2c0f:b0:3a4:e6e7:3acd with SMTP id ffacd0b85a97d-3a4fe16a68cmr10464410f8f.18.1748964973922; Tue, 03 Jun 2025 08:36:13 -0700 (PDT) Received: from ?IPV6:2a0d:3341:cc2d:3210::f39? ([2a0d:3341:cc2d:3210::f39]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe6c842sm18390715f8f.29.2025.06.03.08.36.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jun 2025 08:36:13 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2025 17:36:11 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [syzbot] [net?] WARNING in ipmr_rules_exit (2) To: syzbot , davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, horms@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <683f1551.050a0220.55ceb.0016.GAE@google.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <683f1551.050a0220.55ceb.0016.GAE@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/3/25 5:31 PM, syzbot wrote: > syzbot found the following issue on: > > HEAD commit: 342e4955a1f1 usb: usbtmc: Fix timeout value in get_stb > git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing > console output: https://syzkaller.appspot.com/x/log.txt?x=135a19f4580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=cc73a376913a3005 > dashboard link: https://syzkaller.appspot.com/bug?extid=a25af2d6c990a65eca95 > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 > > Unfortunately, I don't have any reproducer for this issue yet. > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/3d4486b9330e/disk-342e4955.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/b0b416348409/vmlinux-342e4955.xz > kernel image: https://storage.googleapis.com/syzbot-assets/053a330bcf59/bzImage-342e4955.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+a25af2d6c990a65eca95@syzkaller.appspotmail.com > > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 13600 at net/ipv4/ipmr.c:440 ipmr_free_table net/ipv4/ipmr.c:440 [inline] > WARNING: CPU: 0 PID: 13600 at net/ipv4/ipmr.c:440 ipmr_rules_exit+0x13a/0x1c0 net/ipv4/ipmr.c:361 > Modules linked in: > > CPU: 0 UID: 0 PID: 13600 Comm: syz-executor Not tainted 6.15.0-rc6-syzkaller-00166-g342e4955a1f1 #0 PREEMPT(voluntary) > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 > RIP: 0010:ipmr_free_table net/ipv4/ipmr.c:440 [inline] > RIP: 0010:ipmr_rules_exit+0x13a/0x1c0 net/ipv4/ipmr.c:361 > Code: ff df 48 c1 ea 03 80 3c 02 00 75 7c 48 c7 85 58 09 00 00 00 00 00 00 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d7 79 16 fb 90 <0f> 0b 90 eb 93 e8 cc 79 16 fb 0f b6 1d 73 37 05 04 31 ff 89 de e8 > RSP: 0018:ffffc90014e2fc10 EFLAGS: 00010293 > > RAX: 0000000000000000 RBX: ffff88812c1dc000 RCX: ffffffff8665f0fd > RDX: ffff8881222c9d40 RSI: ffffffff8665f169 RDI: 0000000000000005 > RBP: ffff88812ea70000 R08: 0000000000000005 R09: 0000000000000000 > R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 > R13: ffff88812ea70958 R14: ffff88812ea70000 R15: fffffbfff148e04c > FS: 000055558afcb500(0000) GS:ffff8882691c2000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007fc07c1d33d0 CR3: 000000014620e000 CR4: 00000000003506f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > ipmr_net_exit_batch+0x53/0xa0 net/ipv4/ipmr.c:3160 > ops_exit_list+0x128/0x180 net/core/net_namespace.c:177 > setup_net+0x4e8/0x850 net/core/net_namespace.c:396 > copy_net_ns+0x2a6/0x5f0 net/core/net_namespace.c:518 > create_new_namespaces+0x3ea/0xad0 kernel/nsproxy.c:110 > unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:228 > ksys_unshare+0x45b/0xa40 kernel/fork.c:3375 > __do_sys_unshare kernel/fork.c:3446 [inline] > __se_sys_unshare kernel/fork.c:3444 [inline] > __x64_sys_unshare+0x31/0x40 kernel/fork.c:3444 > do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] > do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 > entry_SYSCALL_64_after_hwframe+0x77/0x7f > RIP: 0033:0x7f31d7a50167 > Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 > RSP: 002b:00007ffe9bbc8f18 EFLAGS: 00000206 > ORIG_RAX: 0000000000000110 > RAX: ffffffffffffffda RBX: 00007f31d7c75f40 RCX: 00007f31d7a50167 > RDX: 0000000000000005 RSI: 00007ffe9bbc8de0 RDI: 0000000040000000 > RBP: 00007f31d7c76738 R08: 00007f31d87a7d60 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008 > R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 > > > > --- > 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 report is already addressed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want to overwrite report's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the report is a duplicate of another one, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup #syz fix: mr: consolidate the ipmr_can_free_table() checks.