loop7: detected capacity change from 0 to 256
FAT-fs (loop7): Unrecognized mount option "ÿÿÿÿÿÿÿÿ%" or missing value
------------[ cut here ]------------
kernfs_put: syz1/memory.events: released with incorrect active_ref 0
WARNING: CPU: 1 PID: 84 at fs/kernfs/dir.c:531 kernfs_put.part.0+0x433/0x540
Modules linked in:
CPU: 1 PID: 84 Comm: kworker/1:3 Not tainted 5.19.0-rc5-next-20220705 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Workqueue: events kernfs_notify_workfn
RIP: 0010:kernfs_put.part.0+0x433/0x540
Code: 03 80 3c 18 00 0f 85 ea 00 00 00 4d 8b 7d 38 e8 73 0b a7 ff 48 8b 14 24 44 89 f1 4c 89 fe 48 c7 c7 e0 58 72 84 e8 93 ac 6c 02 <0f> 0b e9 b9 fc ff ff 48 89 ef e8 0e b3 d9 ff e9 c1 fd ff ff e8 04
RSP: 0018:ffff88800fa4fbd8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff88800f973580 RSI: ffffffff812bd348 RDI: ffffed1001f49f6d
RBP: ffff888008650038 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffff888008650000
R13: ffff88803f12a000 R14: 0000000000000000 R15: ffff88801563e758
FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5d947bcea0 CR3: 0000000032e12000 CR4: 0000000000350ee0
Call Trace:
kernfs_put+0x42/0x50
kernfs_notify_workfn+0x417/0x560
process_one_work+0xa0f/0x1690
worker_thread+0x637/0x1250
kthread+0x2ed/0x3a0
ret_from_fork+0x22/0x30
irq event stamp: 115873
hardirqs last enabled at (115879): [] vprintk_emit+0x4fe/0x550
hardirqs last disabled at (115884): [] vprintk_emit+0x495/0x550
softirqs last enabled at (115548): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (115485): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
==================================================================
BUG: KASAN: use-after-free in llist_del_first+0x89/0xa0
Read of size 8 at addr ffff88802021f338 by task kworker/1:3/84
CPU: 1 PID: 84 Comm: kworker/1:3 Tainted: G W 5.19.0-rc5-next-20220705 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Workqueue: events kernfs_notify_workfn
Call Trace:
dump_stack_lvl+0x8b/0xb3
print_report.cold+0x5e/0x5e1
kasan_report+0xb1/0x1b0
llist_del_first+0x89/0xa0
kernfs_notify_workfn+0x78/0x560
process_one_work+0xa0f/0x1690
worker_thread+0x637/0x1250
kthread+0x2ed/0x3a0
ret_from_fork+0x22/0x30
Allocated by task 296:
kasan_save_stack+0x1e/0x40
__kasan_slab_alloc+0x66/0x80
kmem_cache_alloc+0x1b1/0x490
__kernfs_new_node+0xd4/0x8b0
kernfs_new_node+0x93/0x120
__kernfs_create_file+0x51/0x350
cgroup_addrm_files+0x3e2/0x9d0
css_populate_dir+0x19b/0x450
cgroup_apply_control_enable+0x3ae/0xa40
cgroup_mkdir+0x824/0x11f0
kernfs_iop_mkdir+0x149/0x1d0
vfs_mkdir+0x417/0x6a0
do_mkdirat+0x17b/0x2e0
__x64_sys_mkdir+0xf2/0x140
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
Freed by task 84:
kasan_save_stack+0x1e/0x40
kasan_set_track+0x21/0x30
kasan_set_free_info+0x20/0x30
__kasan_slab_free+0x108/0x190
kmem_cache_free+0xfb/0x600
kernfs_put.part.0+0x2c7/0x540
kernfs_put+0x42/0x50
kernfs_notify_workfn+0x417/0x560
process_one_work+0xa0f/0x1690
worker_thread+0x637/0x1250
kthread+0x2ed/0x3a0
ret_from_fork+0x22/0x30
The buggy address belongs to the object at ffff88802021f2b8
which belongs to the cache kernfs_node_cache of size 168
The buggy address is located 128 bytes inside of
168-byte region [ffff88802021f2b8, ffff88802021f360)
The buggy address belongs to the physical page:
page:00000000013cb4ef refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2021f
flags: 0x100000000000200(slab|node=0|zone=1)
raw: 0100000000000200 0000000000000000 dead000000000122 ffff8880080358c0
raw: 0000000000000000 0000000000110011 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88802021f200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
ffff88802021f280: fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb
>ffff88802021f300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
^
ffff88802021f380: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00
ffff88802021f400: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
==================================================================
program syz-executor.7 is using a deprecated SCSI ioctl, please convert it to SG_IO
loop7: detected capacity change from 0 to 256
FAT-fs (loop7): Unrecognized mount option "ÿÿÿÿÿÿÿÿ%" or missing value
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3790 at mm/kasan/shadow.c:134 kasan_unpoison+0x42/0x50
Modules linked in:
CPU: 1 PID: 3790 Comm: systemd-udevd Tainted: G B W 5.19.0-rc5-next-20220705 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:kasan_unpoison+0x42/0x50
Code: 89 fb 48 83 c6 01 e8 7d fe ff ff 48 89 e8 83 e0 07 74 14 48 ba 00 00 00 00 00 fc ff df 48 01 eb 48 c1 eb 03 88 04 13 5b 5d c3 <0f> 0b c3 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 48 89 f8 41 56 48
RSP: 0018:ffff8880423ffbf0 EFLAGS: 00010202
RAX: 0000000003113600 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000170 RDI: ffff8880185d59f1
RBP: ffff88800784f780 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880185d59f1
R13: 0000000000092cc0 R14: 0000000000092cc0 R15: 0000000000092cc0
FS: 00007fedb37588c0(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d9cae0ef10 CR3: 000000003da24000 CR4: 0000000000350ee0
Call Trace:
__kasan_slab_alloc+0x2c/0x80
kmem_cache_alloc+0x1b1/0x490
__create_object.isra.0+0x3d/0xc10
kmem_cache_alloc+0x247/0x490
getname_flags.part.0+0x50/0x4f0
getname_flags+0x9a/0xe0
user_path_at_empty+0x2b/0x60
do_utimes_path+0xd9/0x1a0
do_utimes+0x31/0xf0
__x64_sys_utimensat+0x190/0x250
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fedb3c0cb2f
Code: 44 00 00 48 8b 15 61 a3 0c 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 41 89 ca 48 85 f6 74 2a b8 18 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 09 c3 0f 1f 84 00 00 00 00 00 48 8b 15 29 a3
RSP: 002b:00007ffd6f3a7b08 EFLAGS: 00000202 ORIG_RAX: 0000000000000118
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fedb3c0cb2f
RDX: 0000000000000000 RSI: 00007ffd6f3a7bb0 RDI: 00000000ffffff9c
RBP: 00007ffd6f3a7bb0 R08: 0000000000000000 R09: 00007ffd6f3a79a0
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000ffffffff
R13: 00000000ffffffff R14: 0000000000000010 R15: 0000555c859ec040
irq event stamp: 19756
hardirqs last enabled at (19755): [] _raw_write_unlock_irq+0x1f/0x40
hardirqs last disabled at (19756): [] __schedule+0x11d9/0x24a0
softirqs last enabled at (19512): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (19503): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
general protection fault, probably for non-canonical address 0xfff10c02ebf0791f: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: maybe wild-memory-access in range [0xff8880175f83c8f8-0xff8880175f83c8ff]
CPU: 0 PID: 128 Comm: systemd-udevd Tainted: G B W 5.19.0-rc5-next-20220705 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:rb_erase+0x3ad/0x1130
Code: 89 ee 48 89 c5 e9 01 ff ff ff 48 8d 7d 10 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 aa 0c 00 00 4c 8b 65 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 9f 0c 00 00 49 8d 7c 24 08 49 8b 04 24 48 89 fa
RSP: 0018:ffff888018f47d18 EFLAGS: 00010013
RAX: 1ff11002ebf0791f RBX: dffffc0000000000 RCX: ffffffff821b6081
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880185d5a68
RBP: ffff8880185d5a58 R08: 0000000000000001 R09: ffff888018f47cdb
R10: ffffed10031e8f9b R11: 0000000000000001 R12: ff8880175f83c8ff
R13: fffffbfff0dc1408 R14: 0000000000000000 R15: ffffffff86e0a040
FS: 00007fedb37588c0(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555c85332ff0 CR3: 000000000eaee000 CR4: 0000000000350ef0
Call Trace:
find_and_remove_object+0x81/0x160
kmemleak_free+0x21/0x30
kmem_cache_free+0xc1/0x600
putname+0xfe/0x140
user_path_at_empty+0x4d/0x60
do_readlinkat+0xcd/0x2f0
__x64_sys_readlinkat+0x93/0xf0
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fedb3c09b2a
Code: 48 8b 0d 69 d3 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 0b 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 36 d3 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffd6f3a7eb8 EFLAGS: 00000206 ORIG_RAX: 000000000000010b
RAX: ffffffffffffffda RBX: 0000000000001001 RCX: 00007fedb3c09b2a
RDX: 0000555c85a2ea30 RSI: 00007ffd6f3a7f70 RDI: 00000000ffffff9c
RBP: 0000555c85a2ea30 R08: 0000555c85a2ea30 R09: 00007fedb3cd7be0
R10: 0000000000001000 R11: 0000000000000206 R12: 00007ffd6f3a7f70
R13: 00000000ffffff9c R14: 0000000000000001 R15: 0000000000001000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rb_erase+0x3ad/0x1130
Code: 89 ee 48 89 c5 e9 01 ff ff ff 48 8d 7d 10 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 aa 0c 00 00 4c 8b 65 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 9f 0c 00 00 49 8d 7c 24 08 49 8b 04 24 48 89 fa
RSP: 0018:ffff888018f47d18 EFLAGS: 00010013
RAX: 1ff11002ebf0791f RBX: dffffc0000000000 RCX: ffffffff821b6081
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880185d5a68
RBP: ffff8880185d5a58 R08: 0000000000000001 R09: ffff888018f47cdb
R10: ffffed10031e8f9b R11: 0000000000000001 R12: ff8880175f83c8ff
R13: fffffbfff0dc1408 R14: 0000000000000000 R15: ffffffff86e0a040
FS: 00007fedb37588c0(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555c85332ff0 CR3: 000000000eaee000 CR4: 0000000000350ef0
note: systemd-udevd[128] exited with preempt_count 1
----------------
Code disassembly (best guess):
0: 89 ee mov %ebp,%esi
2: 48 89 c5 mov %rax,%rbp
5: e9 01 ff ff ff jmpq 0xffffff0b
a: 48 8d 7d 10 lea 0x10(%rbp),%rdi
e: 48 89 f8 mov %rdi,%rax
11: 48 c1 e8 03 shr $0x3,%rax
15: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
19: 0f 85 aa 0c 00 00 jne 0xcc9
1f: 4c 8b 65 10 mov 0x10(%rbp),%r12
23: 4c 89 e0 mov %r12,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction
2e: 0f 85 9f 0c 00 00 jne 0xcd3
34: 49 8d 7c 24 08 lea 0x8(%r12),%rdi
39: 49 8b 04 24 mov (%r12),%rax
3d: 48 89 fa mov %rdi,%rdx