do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 ================================================================== BUG: KASAN: slab-use-after-free in ecryptfs_destroy_mount_crypt_stat+0x28c/0x290 fs/ecryptfs/crypto.c:137 Read of size 4 at addr ffff0000d14d4f10 by task syz.7.1198/9721 CPU: 1 UID: 0 PID: 9721 Comm: syz.7.1198 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/2026 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 __asan_report_load4_noabort+0x20/0x2c mm/kasan/report_generic.c:380 ecryptfs_destroy_mount_crypt_stat+0x28c/0x290 fs/ecryptfs/crypto.c:137 ecryptfs_get_tree+0xd88/0x1044 fs/ecryptfs/main.c:566 vfs_get_tree+0x90/0x28c fs/super.c:1932 fc_mount+0x24/0xac fs/namespace.c:1198 do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x2a4/0x538 fs/namespace.c:3848 path_mount+0x5f0/0xa88 fs/namespace.c:4168 do_mount+0xe8/0x148 fs/namespace.c:4181 __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount fs/namespace.c:4374 [inline] __arm64_sys_mount+0x33c/0x388 fs/namespace.c:4374 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Allocated by task 9721: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:570 unpoison_slab_object mm/kasan/common.c:351 [inline] __kasan_slab_alloc+0x70/0x88 mm/kasan/common.c:377 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4683 [inline] slab_alloc_node mm/slub.c:4996 [inline] kmem_cache_alloc_noprof+0x268/0x5d4 mm/slub.c:5010 ecryptfs_init_fs_context+0x74/0x1a8 fs/ecryptfs/main.c:617 alloc_fs_context+0x7d8/0xba4 fs/fs_context.c:295 fs_context_for_mount+0x34/0x44 fs/fs_context.c:309 do_new_mount+0x158/0x538 fs/namespace.c:3828 path_mount+0x5f0/0xa88 fs/namespace.c:4168 do_mount+0xe8/0x148 fs/namespace.c:4181 __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount fs/namespace.c:4374 [inline] __arm64_sys_mount+0x33c/0x388 fs/namespace.c:4374 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Freed by task 9721: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2748 [inline] slab_free mm/slub.c:6509 [inline] kmem_cache_free+0x184/0x680 mm/slub.c:6636 ecryptfs_kill_block_super+0x88/0xa4 fs/ecryptfs/main.c:586 deactivate_locked_super+0xcc/0x128 fs/super.c:586 ecryptfs_get_tree+0xd24/0x1044 fs/ecryptfs/main.c:563 vfs_get_tree+0x90/0x28c fs/super.c:1932 fc_mount+0x24/0xac fs/namespace.c:1198 do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x2a4/0x538 fs/namespace.c:3848 path_mount+0x5f0/0xa88 fs/namespace.c:4168 do_mount+0xe8/0x148 fs/namespace.c:4181 __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount fs/namespace.c:4374 [inline] __arm64_sys_mount+0x33c/0x388 fs/namespace.c:4374 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 The buggy address belongs to the object at ffff0000d14d4f00 which belongs to the cache ecryptfs_sb_cache of size 280 The buggy address is located 16 bytes inside of freed 280-byte region [ffff0000d14d4f00, ffff0000d14d5018) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff0000d14d5200 pfn:0x1114d4 head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000240(workingset|head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000240 ffff0000c4c9a280 ffff0000c4c97888 fffffdffc3453590 raw: ffff0000d14d5200 000000020015000c 00000000f5000000 0000000000000000 head: 05ffc00000000240 ffff0000c4c9a280 ffff0000c4c97888 fffffdffc3453590 head: ffff0000d14d5200 000000020015000c 00000000f5000000 0000000000000000 head: 05ffc00000000001 fffffdffc3453501 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d14d4e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d14d4e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d14d4f00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d14d4f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d14d5000: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== Getting sb failed; rc = [-12]