------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: lib/refcount.c:25 at refcount_warn_saturate+0x9f/0x110, CPU#0: syz.1.25/5893
Modules linked in:
CPU: 0 UID: 0 PID: 5893 Comm: syz.1.25 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:refcount_warn_saturate+0x9f/0x110
Code: eb 66 85 db 74 3e 83 fb 01 75 4c e8 4b bc e8 fc 48 8d 3d 14 1e c7 0c 67 48 0f b9 3a eb 4a e8 38 bc e8 fc 48 8d 3d 11 1e c7 0c <67> 48 0f b9 3a eb 37 e8 25 bc e8 fc 48 8d 3d 0e 1e c7 0c 67 48 0f
RSP: 0018:ffffc90006847b78 EFLAGS: 00010293
RAX: ffffffff84ded908 RBX: 0000000000000002 RCX: ffff88816bfdda00
RDX: 0000000000000000 RSI: ffffffff90784b00 RDI: ffffffff91a5f720
RBP: 0000000000000000 R08: ffff88816bfdda00 R09: 0000000000000005
R10: 0000000000000004 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffffffff2220f72 R14: ffff88811df3e128 R15: dffffc0000000000
FS:  00007faf37b9b6c0(0000) GS:ffff88818c0bd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf34ff5ff8 CR3: 0000000112a9c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 kobject_get+0xfa/0x120
 sysfs_break_active_protection+0x28/0xa0
 md_attr_store+0x28f/0x640
 kernfs_fop_write_iter+0x3a4/0x540
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faf36d9fb19
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:00007faf37b9b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007faf37026090 RCX: 00007faf36d9fb19
RDX: 0000000000000005 RSI: 0000200000000500 RDI: 0000000000000009
RBP: 00007faf36e37b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faf37026128 R14: 00007faf37026090 R15: 00007ffde9fbb408
 </TASK>
