WARNING in sysfs_create_file_ns

Status: upstream: reported on 2026/11/26 13:34
Reported-by: syzbot+5b306e35ff7b63ac89ad@syzkaller.appspotmail.com
First crash: 3d12h, last: 3d12h
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sysfs_create_file_ns usb -1 syz, C 41 1649d 2677d 0/30 auto-obsoleted due to no activity on 2022/09/22 09:09

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6786 at fs/sysfs/file.c:343 sysfs_create_file_ns+0x135/0x1b0 fs/sysfs/file.c:343
Modules linked in:
CPU: 0 PID: 6786 Comm: syz.0.498 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:sysfs_create_file_ns+0x135/0x1b0 fs/sysfs/file.c:343
Code: 0c 19 84 c9 75 74 0f b7 4e 08 44 8b 44 24 40 44 8b 4c 24 50 31 d2 ff 74 24 18 e8 46 fb ff ff 48 83 c4 08 eb 0c e8 8b e6 8a ff <0f> 0b b8 ea ff ff ff 41 c6 44 1d 06 f8 41 c6 44 1d 04 f8 48 c7 44
RSP: 0018:ffffc9000343fa80 EFLAGS: 00010287
RAX: ffffffff81ee712e RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90004e39000 RSI: 0000000000026f58 RDI: 0000000000026f59
RBP: ffffc9000343fb30 R08: ffff88802413596b R09: 1ffff11004826b2d
R10: dffffc0000000000 R11: ffffed1004826b2e R12: 1ffff1100c4b3c06
R13: 1ffff92000687f54 R14: ffff88806259e030 R15: ffff88806259e000
FS:  00007fde5b1556c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fde8ad4d000 CR3: 000000001f609000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rfcomm_dev_add net/bluetooth/rfcomm/tty.c:346 [inline]
 __rfcomm_create_dev net/bluetooth/rfcomm/tty.c:425 [inline]
 rfcomm_create_dev net/bluetooth/rfcomm/tty.c:481 [inline]
 rfcomm_dev_ioctl+0x191d/0x1d20 net/bluetooth/rfcomm/tty.c:583
 sock_do_ioctl+0xfb/0x320 net/socket.c:1148
 sock_ioctl+0x48a/0x700 net/socket.c:1267
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fde5cf08a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fde5b155028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fde5d194fa0 RCX: 00007fde5cf08a99
RDX: 0000200000000000 RSI: 00000000400452c8 RDI: 0000000000000006

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/26 13:33 linux-5.15.y 4f2df9a01754 1c78e8c0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in sysfs_create_file_ns
* Struck through repros no longer work on HEAD.