syzbot


WARNING in kernfs_get (5)

Status: upstream: reported syz repro on 2024/05/08 11:07
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+2f44671e54488d20f0e6@syzkaller.appspotmail.com
First crash: 335d, last: 16h43m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: SYZFAIL: NL802154_CMD_SET_SHORT_ADDR failed (log)
Repro: syz .config
  
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] Monthly kernfs report (Mar 2025) 0 (1) 2025/03/19 21:29
[syzbot] Monthly kernfs report (Feb 2025) 0 (1) 2025/02/16 21:54
[syzbot] Monthly kernfs report (Jan 2025) 0 (1) 2025/01/16 10:12
[syzbot] Monthly kernfs report (Dec 2024) 0 (1) 2024/12/16 09:45
[syzbot] Monthly kernfs report (Nov 2024) 0 (1) 2024/11/15 11:25
[syzbot] Monthly kernfs report (Oct 2024) 0 (1) 2024/10/15 10:07
[syzbot] Monthly kernfs report (Jul 2024) 0 (1) 2024/07/09 14:10
[syzbot] [kernfs?] WARNING in kernfs_get (5) 3 (8) 2024/05/16 14:52
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in kernfs_get C done 14 2031d 2171d 1/1 fixed on 2019/12/05 23:59
upstream WARNING in kernfs_get (2) kernfs 2 1650d 1669d 0/28 auto-closed as invalid on 2021/01/25 03:55
linux-4.14 WARNING in kernfs_get C done 17 2055d 2175d 1/1 fixed on 2019/12/07 19:24
upstream WARNING in kernfs_get (4) kernfs syz error 3 787d 790d 0/28 auto-obsoleted due to no activity on 2023/06/07 19:32
upstream WARNING in kernfs_get C done 316 2070d 2398d 13/28 fixed on 2019/11/20 22:01
upstream WARNING in kernfs_get (3) kernfs 3 1215d 1219d 0/28 auto-closed as invalid on 2022/02/04 06:25
android-414 WARNING in kernfs_get syz 69 2033d 2186d 0/1 public: reported syz repro on 2019/04/10 15:44
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/05/29 02:18 19m retest repro linux-next report log
2024/05/16 14:28 21m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 26dd54d03cd9 OK log
2024/05/15 10:33 2h32m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 26dd54d03cd9 OK log
2024/05/14 23:23 1h04m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 26dd54d03cd9 report log

Sample crash report:
usb 4-1: Direct firmware load for ueagle-atm/eagleII.fw failed with error -2
usb 4-1: Falling back to sysfs fallback for: ueagle-atm/eagleII.fw
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6216 at fs/kernfs/dir.c:526 kernfs_get+0x71/0x90 fs/kernfs/dir.c:526
Modules linked in:
CPU: 0 UID: 0 PID: 6216 Comm: kworker/0:14 Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events request_firmware_work_func
RIP: 0010:kernfs_get+0x71/0x90 fs/kernfs/dir.c:526
Code: 23 e8 13 ed 5c ff 48 89 df be 04 00 00 00 e8 56 57 c3 ff f0 ff 03 eb 05 e8 fc ec 5c ff 5b 5d c3 cc cc cc cc e8 f0 ec 5c ff 90 <0f> 0b 90 eb d7 89 d9 80 e1 07 80 c1 03 38 c1 7c b7 48 89 df e8 56
RSP: 0018:ffffc90003d1f6a0 EFLAGS: 00010293
RAX: ffffffff82428740 RBX: ffff88803493a4b0 RCX: ffff88802a480000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff82428714 R09: 1ffff11006927496
R10: dffffc0000000000 R11: ffffed1006927497 R12: dffffc0000000000
R13: ffff88814c987780 R14: ffffffff8c856b50 R15: ffff88814c9877b0
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556c7e0808 CR3: 0000000029cc8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sysfs_get include/linux/sysfs.h:816 [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
 class_dir_create_and_add drivers/base/core.c:3208 [inline]
 get_device_parent+0x391/0x410 drivers/base/core.c:3259
 device_add+0x325/0xbf0 drivers/base/core.c:3589
 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+0xdf7/0x13b0 drivers/base/firmware_loader/main.c:941
 request_firmware_work_func+0x12a/0x280 drivers/base/firmware_loader/main.c:1194
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 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
 </TASK>

Crashes (315):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/24 10:41 upstream f07044dd0df0 444551c4 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2024/05/14 15:44 linux-next 26dd54d03cd9 fdb4c10c .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kernfs_get
2025/04/04 09:20 upstream a2cc6ff5ec8f d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/04/02 21:10 upstream 92b71befc349 c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/30 03:53 upstream 7f2ff7b62617 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kernfs_get
2025/03/29 05:20 upstream eff5f16bfd87 cf25e2c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/28 20:40 upstream acb4f33713b9 49900278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kernfs_get
2025/03/26 10:21 upstream 2df0c02dab82 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/25 17:02 upstream 3ba7dfb8da62 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/17 09:18 upstream 4701f33a1070 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/10 04:23 upstream 80e54e84911a 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/10 00:57 upstream 1110ce6a1e34 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/09 04:53 upstream b7c90e3e717a 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kernfs_get
2025/03/08 16:51 upstream 2a520073e74f 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kernfs_get
2025/03/08 07:53 upstream 21e4543a2e2f 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in kernfs_get
2025/03/07 23:50 upstream 00a7d39898c8 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kernfs_get
2025/03/01 16:46 upstream 03d38806a902 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/01 11:39 upstream 7a5668899f54 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/01 08:45 upstream 7a5668899f54 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/01 07:30 upstream 7a5668899f54 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/28 18:41 upstream 76544811c850 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/28 10:01 upstream 1e15510b71c9 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/28 07:00 upstream 1e15510b71c9 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/27 21:25 upstream dd83757f6e68 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/27 19:56 upstream dd83757f6e68 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/26 21:54 upstream ac9c34d1e45a 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/26 13:57 upstream ac9c34d1e45a d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/25 03:13 upstream d082ecbc71e9 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/24 13:13 upstream d082ecbc71e9 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/21 05:16 upstream 27eddbf34490 0808a665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/21 00:49 upstream 27eddbf34490 50668798 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/19 20:05 upstream 6537cfb395f3 cbd8edab .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/19 14:26 upstream 6537cfb395f3 cbd8edab .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/19 08:15 upstream 6537cfb395f3 9a14138f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/15 13:38 upstream 7ff71e6d9239 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/14 10:32 upstream ab68d7eb7b1a d9a046cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/12 13:15 upstream 09fbf3d50205 f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/10 20:39 upstream a64dcfb451e2 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/07 20:28 upstream bb066fe812d6 a4f327c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/05 09:22 upstream 5c8c229261f1 5896748e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kernfs_get
2025/02/04 00:51 upstream 2014c95afece a21a8419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/03 10:22 upstream 69e858e0b8b2 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/02/01 18:39 upstream 69e858e0b8b2 0dff8567 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kernfs_get
2025/01/31 18:04 upstream 69e858e0b8b2 aa47157c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kernfs_get
2025/01/30 14:03 upstream 72deda0abee6 9c8ab845 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kernfs_get
2024/05/04 10:57 upstream 3d25a941ea50 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kernfs_get
2025/03/31 13:11 upstream 4e82c87058f4 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/03/26 20:55 upstream 2df0c02dab82 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/03/23 16:54 upstream 586de92313fc 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/03/22 18:56 upstream 88d324e69ea9 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/03/17 15:32 upstream 4701f33a1070 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/03/08 15:11 upstream 2a520073e74f 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/02/02 03:58 upstream 69e858e0b8b2 0dff8567 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kernfs_get
2025/04/03 07:09 upstream a1b5bd45d4ee 996a9618 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kernfs_get
2025/01/07 06:59 upstream fbfd64d25c7a f3558dbf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kernfs_get
2025/01/03 11:33 upstream 0bc21e701a6f 96d578a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in kernfs_get
2025/02/18 22:13 net-next 4991b88c2514 c37c7249 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kernfs_get
2025/02/10 04:09 linux-next ed58d103e6da ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kernfs_get
* Struck through repros no longer work on HEAD.