From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (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 C4CD41E9B11 for ; Mon, 20 Jan 2025 16:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737389705; cv=none; b=MOOS2+fixXAYkOTQCyzkBS8U3uZM+yS3Q0r6xK/5evHG48s3QClYAqgiQBlL+wRZToXUi2E63EPUTS0PeJUAmEbtkAAryv/n6QKAj+yoc0MAJwh0kBe9JHao36kdpKg5eCsduourjdap/WnIyK9Rjr4EB8NQ0eLvx31xVZbCVsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737389705; c=relaxed/simple; bh=Dzp1t25C6njXFyg2tn+UYkJ+tCrYLDj+tG5NB2lgNe0=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=a1++DfaeDp6jnCd7cGuCwP/+uZGDqyBgqsTEQZKj0jnMa8cPxDHmAp2rY7QF8iFwv+I2C1rG+s0i+4eyj+CXIRxC1ejafGIwBImLuN2tZqeIEDRBtwp5ooy+BOjHCZw+CM+MzEyVPrILVOR6WOjfJD9bxu+QSo0qgQlPbUlYwZk= 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.198 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-f198.google.com with SMTP id e9e14a558f8ab-3a9d4ea9e0cso32679435ab.0 for ; Mon, 20 Jan 2025 08:15:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737389703; x=1737994503; 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=uit0bhadkRmrKCRL9G2WTNrauk9H09zqo7JtJf/P7Wg=; b=lCTHViWMXM/pOU90CQlVxKjVsA1rmUvMJxXefc9qpatt9Dc45Fqolv0FskUHY2m4M5 vMWH8rKR5ZSFbH3RIY4hXZCB+fMD9wv9LtUh5/ZSNwZZjMkX5Rf8dvgE1VZ0MWhrUgol NnWK4JpIZDwAkEE/V1GUZ7NhBdIxVOyTn6DRFY2SxvMIb9/HJax22Mv+NUsTeQUOhuMR 52Ci4h9w8bXzEa7i3Mj5mFMx+wAetnKQidHfTJlPAGjKk1UI5vjk1w4aEcsKk8SGLG+s m1/dX4j7Od7us1xSxUiZb2kkOS0eswJ7k7bbuHSiPcViffU2xzEAXGoajdhPUBpm8AVK UL9Q== X-Gm-Message-State: AOJu0Yx9b9NB81ipjQlh9qfjtIaksQvCxQriWXG8wiGUk6GhUHqTsVbd t/rnmtu8mVyGO5lCtDx2KhvD/zwm4B/ZNegfAuXAMVdhGveY0v5TJH0DaGl8YwLoYnT45o/gnVF 2uf2g4w1c2V7SaRsFILc407Lnldihb0s+1ijXkwYPR4BhYae51PJnCAc= X-Google-Smtp-Source: AGHT+IHxEi2B911eQVpAjLcbfwanNjGpYlQg3k+R5yqCjcGpM9gcrvlaD1jHVz+GnVzE5Fk9SC/OstW1XNdg2nG5LUcOkQa4V0WZ Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:ca47:0:b0:3cf:6d33:d407 with SMTP id e9e14a558f8ab-3cf743aee15mr111251575ab.3.1737389702859; Mon, 20 Jan 2025 08:15:02 -0800 (PST) Date: Mon, 20 Jan 2025 08:15:02 -0800 In-Reply-To: <20250120135154.40511-1-n.zhandarovich@fintech.ru> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <678e7686.050a0220.303755.007b.GAE@google.com> Subject: Re: [syzbot] [usb?] WARNING in rtl8150_open/usb_submit_urb From: syzbot To: linux-kernel@vger.kernel.org, n.zhandarovich@fintech.ru, 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 rtl8150_open/usb_submit_urb ------------[ cut here ]------------ usb 1-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 1 PID: 2570 at drivers/usb/core/urb.c:503 usb_submit_urb+0xe4b/0x1730 drivers/usb/core/urb.c:503 Modules linked in: CPU: 1 UID: 0 PID: 2570 Comm: dhcpcd Not tainted 6.13.0-syzkaller-gffd294d346d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:usb_submit_urb+0xe4b/0x1730 drivers/usb/core/urb.c:503 Code: 84 3c 02 00 00 e8 b5 dc f1 fc 4c 89 ef e8 1d b7 d5 fe 45 89 e0 89 e9 4c 89 f2 48 89 c6 48 c7 c7 00 ea a1 87 e8 86 d8 b5 fc 90 <0f> 0b 90 90 e9 e9 f8 ff ff e8 87 dc f1 fc 49 81 c4 b8 05 00 00 e9 RSP: 0018:ffffc9000154f740 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88810a78cd00 RCX: ffffffff811f67b9 RDX: ffff88810e7d3a80 RSI: ffffffff811f67c6 RDI: 0000000000000001 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff8881240640a8 R14: ffff88811a2f5be0 R15: ffff88810a78cd7c FS: 00007f72f9fff740(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f40287f068 CR3: 000000010df6e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtl8150_open+0x300/0xe30 drivers/net/usb/rtl8150.c:733 __dev_open+0x2d4/0x4e0 net/core/dev.c:1506 __dev_change_flags+0x561/0x720 net/core/dev.c:8968 dev_change_flags+0x8f/0x160 net/core/dev.c:9040 devinet_ioctl+0x11d9/0x1f50 net/ipv4/devinet.c:1208 inet_ioctl+0x3aa/0x3f0 net/ipv4/af_inet.c:1001 sock_do_ioctl+0x116/0x280 net/socket.c:1209 sock_ioctl+0x41c/0x690 net/socket.c:1328 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 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:0x7f72fa0cdd49 Code: 5c c3 48 8d 44 24 08 48 89 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 b8 10 00 00 00 c7 44 24 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 76 10 48 8b 15 ae 60 0d 00 f7 d8 41 83 c8 RSP: 002b:00007fff0282c468 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f72f9fff6c0 RCX: 00007f72fa0cdd49 RDX: 00007fff0283c658 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 00007fff0284c818 R08: 00007fff0283c618 R09: 00007fff0283c5c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0283c658 R14: 0000000000000028 R15: 0000000000008914 Tested on: commit: ffd294d3 Linux 6.13 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master console output: https://syzkaller.appspot.com/x/log.txt?x=11e539df980000 kernel config: https://syzkaller.appspot.com/x/.config?x=169f362a4628fd81 dashboard link: https://syzkaller.appspot.com/bug?extid=d7e968426f644b567e31 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 Note: no patches were applied.