================================================================== BUG: KASAN: use-after-free in get_fuse_conn_super fs/fuse/fuse_i.h:844 [inline] BUG: KASAN: use-after-free in fuse_test_super+0x42/0x58 fs/fuse/inode.c:1633 Read of size 8 at addr ffffffe00a012040 by task syz-executor.1/5411 CPU: 1 PID: 5411 Comm: syz-executor.1 Not tainted 5.15.0-rc1-syzkaller-00001-g64a19591a293 #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:112 Allocated by task 5406: (stack is not available) Freed by task 5406: (stack is not available) The buggy address belongs to the object at ffffffe00a012040 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of 32-byte region [ffffffe00a012040, ffffffe00a012060) The buggy address belongs to the page: page:ffffffcf02288480 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8a212 flags: 0xffe000000000200(slab|node=0|zone=0|lastcpupid=0x7ff) raw: 0ffe000000000200 ffffffcf022bdf80 0000000a0000000a ffffffe005601500 raw: 0000000000000000 0000000000400040 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 25012079900, free_ts 0 page_owner allocation stack trace missing page_owner free stack trace missing Memory state around the buggy address: ffffffe00a011f00: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc ffffffe00a011f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffffffe00a012000: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc ^ ffffffe00a012080: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ffffffe00a012100: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ==================================================================