Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2774018lqo; Tue, 14 May 2024 08:44:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXnIOoIGJj99YaKvfftRYIjl2O1y1Du0UO6jcP9kfFuZ30dxGGn36k2PLCS//5wn7FeM3j3WHZCj4kzW59b0gU5537gWrdx02cTBRmldw== X-Google-Smtp-Source: AGHT+IFgZQb7Jy1I5eeDKVcBEICutGqzHsbhrxnyNjpmMkfXkQfPWIViBLFa3GoOA5r/ixUkSDl0 X-Received: by 2002:a50:d5de:0:b0:572:a167:65c6 with SMTP id 4fb4d7f45d1cf-5734d5eb9d6mr8133867a12.25.1715701495365; Tue, 14 May 2024 08:44:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715701495; cv=pass; d=google.com; s=arc-20160816; b=kncnISoYUaU0BmaeqCaeWuM1/XgmR5/I0JLj1BLXmetXPdE5hhjC3CxdfD5jt0ffMu F8CJPxfLfsHDwpqqCdhRdAIZOZ/a1mxa4nmuppUIwxL36zNqVFzdqhn2QLbSl/qHvm/T 0UFdoxYtqLOIjgxrs01xxPqCCMrmt8zCgzfZRk15oIqcr7+1uv0uFBmR6D43A88frqaM 6QsInYqk48eUOMxFQY51ebw9ChQE3GZ7mO2b5AzYNsKbNGDwN6PiExcj0Rr6SLd5ahXv zwp+r7hcKJ4P2sJOYexQp7xKkDAq68SXX4DLGr8+rr5LIBIke9vN+iRW49JLoyBrHVg8 Fk/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=84bc90QHt4ImGokmn/lScqXwBR18E3W9oI7qQt/YIG4=; fh=O6fv2J1Qe0RzofXKpG6knIbEqySynBKM4M4cRPjbd3w=; b=ugbU/BCPYmOGk+j5WtFN0QL3PmUr0nxwB1fuWXcERubYXs75nJuRS0KEPuzU4gJPL5 FenbpffTi518cBjxMfcNX01oN2TqgdncJJ51nwIPiTj82AdDJqOXDvHWyDS/M6QH1BjB Xom8ktvO+zMCgBhJHkgITzJaCo6tcD9X0IEI2hqBAwG/IVZcEYU62pdR+un4fPuV69ms Tm7IL4cjDkcowHr+PBJSyvDffAAFnn3fN1WkMmR5gQPIKKfYD/0k+Iv4IpXdUPsGL4Wz dDPMdMpWL67hNrXoGIKQ4AHjJmb0k57IRDvBFaF6fOxA/W/AYGalRIkS+5m3MeCAk6fg mrXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-178879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-574be6d3ef9si3321873a12.438.2024.05.14.08.44.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 08:44:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-178879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EF51D1F23375 for ; Tue, 14 May 2024 15:44:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D803A17EBB9; Tue, 14 May 2024 15:44:45 +0000 (UTC) Received: from mail-io1-f78.google.com (mail-io1-f78.google.com [209.85.166.78]) (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 EC8611E480 for ; Tue, 14 May 2024 15:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715701485; cv=none; b=UCrclGX7GiJNtd8Kz1NJttziJEkP3pXJxbvw7I+D55fNMX4SoYZgoimQiNjKXvSuoPPx5JYdDjKjFSbqiNwixUefYgl800kJLjXFDooLUJiQqbUQEg3yrZ9hsZ2XWgxTYUu1KWcnvPRlbHC49LDeaSUBCz+qnqNupHkULY9PSfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715701485; c=relaxed/simple; bh=Tzigt9y2Ubkzua+SFQ3VstVK5Sf+6jtdYihzu6CCgv0=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=iP0ZsIsSrZb2RnsteqogU6IO7GJa2FQw+PR33j8wc7xOUC8wvj0kXkUot9IhVAwY19MXFalVx3gnUNYEdYgIvDhu3rhP/UNaCsr6EAcWjdMftoulxjMsywp6vXhsrMRTv3SSynshot0+jgK6W2o0QbfU76LafMDtgEdtVjxmNL0= 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.78 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-io1-f78.google.com with SMTP id ca18e2360f4ac-7e1bbace584so519243539f.1 for ; Tue, 14 May 2024 08:44:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715701483; x=1716306283; 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=84bc90QHt4ImGokmn/lScqXwBR18E3W9oI7qQt/YIG4=; b=sPaRAbL4b01uBT+sob4ffDUTKeauhxOlXiEEp70RVRXDNwvM/DMLfqzBXfDdUxeUP1 6MwYQtMjzb6W9E0S9py1xeV6jAZaxbwzr8EYCq396jSzxPiySqqHYTip52DPGGpjoqc6 k0q1RvwBLLcU06UEVyfERw4xJHnj2GF7zJGLmasm4w83F9aiWZw6rabXVzajI9RPvxx0 ZNSP68/IduV4lJjpf1l4A1YIaPNIMu4gmMVIefFbxRDSW6sYqgaKYsyKmQ0928ijK8rf mYJ88wK7C8GA1iMNONBpLY62Uny0Ck/oSo9Vkh6nuFCmqGPINuDRbby3dmmQ5dJ6mBPA UzgQ== X-Forwarded-Encrypted: i=1; AJvYcCWqRL73kNhGTtbFFT9xtj7T3nzMxL+prpVAYFH6OzsxD2YgRymJNkEo+K+RPROSOX+PKbIR88NyRF2Q/ukTTKmOnAkegfdMLzE4Cnr/ X-Gm-Message-State: AOJu0YxUIve0DcjZkXG8snpFe0RkPvjqC2bKtgNJk6f+XTlE4mv/zy+a 7rYRTk4tG5aBg9Cb/WgV2F75UXjPSvNkCKEtJ6PJe2becHb/4a+luM4kax/evkgArmwOXp7aasv ExtSsOseVAiKQelgrzwrLog/xTGGNSXtl+E87FkOkpBhv/4kAuw1fO88= 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:6602:2b02:b0:7de:e172:3eb2 with SMTP id ca18e2360f4ac-7e1b51a0707mr72719339f.1.1715701483180; Tue, 14 May 2024 08:44:43 -0700 (PDT) Date: Tue, 14 May 2024 08:44:43 -0700 In-Reply-To: <000000000000b236c90617ef4e00@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007224f506186be18b@google.com> Subject: Re: [syzbot] [kernfs?] [usb?] WARNING in kernfs_get (5) From: syzbot To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com, tj@kernel.org Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: 26dd54d03cd9 Add linux-next specific files for 20240514 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1392596c980000 kernel config: https://syzkaller.appspot.com/x/.config?x=c8af44e051929224 dashboard link: https://syzkaller.appspot.com/bug?extid=2f44671e54488d20f0e6 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14b06900980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/dca5ce975d7a/disk-26dd54d0.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/24844585ee37/vmlinux-26dd54d0.xz kernel image: https://storage.googleapis.com/syzbot-assets/7ea82f6342f5/bzImage-26dd54d0.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2f44671e54488d20f0e6@syzkaller.appspotmail.com usb 2-1: Direct firmware load for ueagle-atm/eagleI.fw failed with error -2 usb 2-1: Falling back to sysfs fallback for: ueagle-atm/eagleI.fw ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5166 at fs/kernfs/dir.c:526 kernfs_get+0x71/0x90 fs/kernfs/dir.c:526 Modules linked in: CPU: 0 PID: 5166 Comm: kworker/0:4 Not tainted 6.9.0-next-20240514-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events request_firmware_work_func RIP: 0010:kernfs_get+0x71/0x90 fs/kernfs/dir.c:526 Code: 23 e8 63 b0 5e ff 48 89 df be 04 00 00 00 e8 96 6c c4 ff f0 ff 03 eb 05 e8 4c b0 5e ff 5b 5d c3 cc cc cc cc e8 40 b0 5e ff 90 <0f> 0b 90 eb d7 89 d9 80 e1 07 80 c1 03 38 c1 7c b7 48 89 df e8 96 RSP: 0018:ffffc90003bdf6e0 EFLAGS: 00010293 RAX: ffffffff82379c40 RBX: ffff8880770dff00 RCX: ffff88802729da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82379c14 R09: 1ffff1100ee1bfe0 R10: dffffc0000000000 R11: ffffed100ee1bfe1 R12: dffffc0000000000 R13: ffff88802a984008 R14: ffffffff8c4497f0 R15: ffff88802a984038 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55ba7ad988 CR3: 0000000024c16000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysfs_get include/linux/sysfs.h:786 [inline] create_dir lib/kobject.c:89 [inline] kobject_add_internal+0x4ba/0x8d0 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x152/0x220 lib/kobject.c:426 device_add+0x4e5/0xbf0 drivers/base/core.c:3659 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:86 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:162 [inline] firmware_fallback_sysfs+0x307/0x9e0 drivers/base/firmware_loader/fallback.c:238 _request_firmware+0xcf5/0x12b0 drivers/base/firmware_loader/main.c:914 request_firmware_work_func+0x12a/0x280 drivers/base/firmware_loader/main.c:1165 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.