From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB79A1369B4 for ; Wed, 22 Jan 2025 17:11:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737565864; cv=none; b=th2eeXY/TP/CB9zhQ5ItsuGkSRcL+zjTk51B6LKyeZ/Ih+Pqksm2qxyNfLP6JA75fV7vOJZHWuqZvXTYyw1TJst/1avT1hoQD+68ewEyfCWYQn/PniKTFbFRvcSDfwTtrRkaSudLDX93JuCVsACkGW+EA9KUfQMatAQGhjrmd3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737565864; c=relaxed/simple; bh=yKEVvLoOfqdJHfbON/QxJzrmUUSu6VHhn9kPX9Xzqeg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=QVLvB4xadnxN0qVETSSlIgdxRdd3dqulrp3z6wW+UNz1DMPnJI0/38JYvcqxCJ6OqUP8ILMepNV+Vr0oNiCSjGsgvHxexTWMCcTUfYTJUDgvA1nbpiQCZxhLNbDMXgQcWS93Ash03vcv9+lMvpsNn5ItQ2iZr5TEbAw6+A4Zydg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f199.google.com with SMTP id e9e14a558f8ab-3cfb11f46a5so18180525ab.2 for ; Wed, 22 Jan 2025 09:11:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737565862; x=1738170662; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Lt3X0dMrwWKua0sdZyB9gTLJEWCJfksWca0BofreYl0=; b=iFPW5Elkkv9zXDhgtsR+BrrwpDj/W2rtoHeieHEZmYCM92b/RrX5nrqv12IOKtVdWf 6hQPH7FolSrBHtIoE5JSYdSZUbtHgR83H0SGD79gO6hLC8q4rlE/D/IeNeuXHqiFAmHP v9OMnqQZ2V773GI4PGruNwV9CzLdv3Eq6iAAyZFnKdKwAS5kcLEQGb5ggoslpulKwbOG R7O+SePhQZ2VKAAX2N2AIdhEalOeRSJO0LQDLhmr4I2QKsaHMAApGjFDQVNf9my5pOJ0 zoYrL5gBBMWqx3WvyDzQ6Y3TL8bFZPFxLS5k5jRAfhT81lGLI2F92+EjQmEOeEwCbw87 fXNQ== X-Forwarded-Encrypted: i=1; AJvYcCVGFdgIjNob2BNNbdA6W5V63qDB4AhUPEc5+7TpHEbYuks6OqnmiHzl/ZUKfXXamYlwc76LkVgorgrW7BY=@vger.kernel.org X-Gm-Message-State: AOJu0Yzl5kz3CMf+QE2upQSN0Tf/7Ok6reveAGsFnYsevQEIRYU57nZv LpzSGKfdORcqjY/ymg3QFs0w1FaM+VWiRSBSeR+cXQyqL8Y/FeUd1ywyJ8hHT1htAVykInh+XJH 7VGaydHKRlRA+E0lEHQKK0gc0yRauSYrUWYlYbBWHxFqIhjoI1vlfmP0= X-Google-Smtp-Source: AGHT+IEmFw41HbGDQJxtp0C/HAu44QRYfsTygJ22hThMIndXvPX9tRtTsX02XA7S64irAQS7XfZWRldkFZiYMZ4NoV1dfl02ku5U Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:2402:b0:3a7:e0c0:5f27 with SMTP id e9e14a558f8ab-3cf743df906mr218482625ab.2.1737565862059; Wed, 22 Jan 2025 09:11:02 -0800 (PST) Date: Wed, 22 Jan 2025 09:11:02 -0800 In-Reply-To: <20250122085643.278fdac3@kernel.org> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <679126a6.050a0220.194594.0018.GAE@google.com> Subject: Re: [syzbot] [net?] WARNING in nsim_udp_tunnel_set_port From: syzbot To: kuba@kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in nsim_udp_tunnel_set_port ------------[ cut here ]------------ entry already in use WARNING: CPU: 0 PID: 6740 at drivers/net/netdevsim/udp_tunnels.c:26 nsim_udp_tunnel_set_port+0x2d3/0x390 drivers/net/netdevsim/udp_tunnels.c:26 Modules linked in: CPU: 0 UID: 0 PID: 6740 Comm: syz.2.25 Not tainted 6.13.0-rc7-syzkaller-gcf33d96f5090 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:nsim_udp_tunnel_set_port+0x2d3/0x390 drivers/net/netdevsim/udp_tunnels.c:26 Code: c3 cc cc cc cc e8 dd ed c9 fa 44 89 f7 e8 95 88 b7 fa e9 ee fd ff ff e8 cb ed c9 fa 90 48 c7 c7 80 96 2a 8c e8 ae b5 8a fa 90 <0f> 0b 90 90 4c 8d 73 04 41 bf f0 ff ff ff e9 fa fe ff ff e8 15 5e RSP: 0018:ffffc90003117ab8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffc90003117bb0 RCX: ffffffff815a17c9 RDX: ffff8880273a9e00 RSI: ffffffff815a17d6 RDI: 0000000000000001 RBP: ffff88802508c000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000017c10002 R15: 0000000000000000 FS: 00007fd6e91046c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70aa746d38 CR3: 000000003328e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udp_tunnel_nic_device_sync_one net/ipv4/udp_tunnel_nic.c:225 [inline] udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline] __udp_tunnel_nic_device_sync.part.0+0x935/0xed0 net/ipv4/udp_tunnel_nic.c:289 __udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:283 [inline] __udp_tunnel_nic_reset_ntf+0x3c1/0x520 net/ipv4/udp_tunnel_nic.c:581 udp_tunnel_nic_reset_ntf include/net/udp_tunnel.h:377 [inline] nsim_udp_tunnels_info_reset_write+0xc2/0x110 drivers/net/netdevsim/udp_tunnels.c:117 full_proxy_write+0xfd/0x1b0 fs/debugfs/file.c:369 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x12b/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd6e8385d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fd6e9104038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd6e8575fa0 RCX: 00007fd6e8385d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fd6e8401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd6e8575fa0 R15: 00007ffd899920e8 Tested on: commit: cf33d96f Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main console output: https://syzkaller.appspot.com/x/log.txt?x=142f3618580000 kernel config: https://syzkaller.appspot.com/x/.config?x=3eff53fbe4c843d4 dashboard link: https://syzkaller.appspot.com/bug?extid=2e5de9e3ab986b71d2bf compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 Note: no patches were applied.