================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x104/0x6800 kernel/locking/lockdep.c:4919 Read of size 8 at addr ffff0000fe920bb0 by task gfs2_quotad/10313 CPU: 0 PID: 10313 Comm: gfs2_quotad Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Call trace: dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:351 __lock_acquire+0x104/0x6800 kernel/locking/lockdep.c:4919 lock_acquire+0x20c/0x63c kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb0 kernel/locking/spinlock.c:162 finish_wait+0xc8/0x1ac kernel/sched/wait.c:410 gfs2_quotad+0x390/0x500 fs/gfs2/quota.c:1579 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Allocated by task 10386: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x70/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x430 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x22c/0x308 mm/slub.c:3383 getname_flags+0xb8/0x45c fs/namei.c:139 user_path_at_empty+0x40/0x84 fs/namei.c:2912 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1829 [inline] __do_sys_umount fs/namespace.c:1837 [inline] __se_sys_umount fs/namespace.c:1835 [inline] __arm64_sys_umount+0xf8/0x184 fs/namespace.c:1835 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Freed by task 10386: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x148/0x1b0 mm/kasan/common.c:237 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:245 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1729 [inline] slab_free_freelist_hook+0x16c/0x1e8 mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] kmem_cache_free+0x118/0x314 mm/slub.c:3709 putname+0x118/0x17c fs/namei.c:273 user_path_at_empty+0x68/0x84 fs/namei.c:2915 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1829 [inline] __do_sys_umount fs/namespace.c:1837 [inline] __se_sys_umount fs/namespace.c:1835 [inline] __arm64_sys_umount+0xf8/0x184 fs/namespace.c:1835 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000fe920000 which belongs to the cache names_cache of size 4096 The buggy address is located 2992 bytes inside of 4096-byte region [ffff0000fe920000, ffff0000fe921000) The buggy address belongs to the physical page: page:0000000033e69159 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13e920 head:0000000033e69159 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003475c00 dead000000000002 ffff0000c03dc300 raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000fe920a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000fe920b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000fe920b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000fe920c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000fe920c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 10313 Comm: gfs2_quotad Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Call trace: dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 assign_lock_key+0x230/0x264 kernel/locking/lockdep.c:974 register_lock_class+0x1ac/0x694 kernel/locking/lockdep.c:1287 __lock_acquire+0x164/0x6800 kernel/locking/lockdep.c:4928 lock_acquire+0x20c/0x63c kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb0 kernel/locking/spinlock.c:162 finish_wait+0xc8/0x1ac kernel/sched/wait.c:410 gfs2_quotad+0x390/0x500 fs/gfs2/quota.c:1579 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 list_del corruption. prev->next should be ffff800021b67d98, but was 0000000000000000. (prev=ffff0000fe920bd8) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:61! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 10313 Comm: gfs2_quotad Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 pstate: 624000c5 (nZCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59 lr : __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59 sp : ffff800021b67c70 x29: ffff800021b67c70 x28: 0000000000000000 x27: 0000000000000bb8 x26: 0000000000001770 x25: dfff800000000000 x24: dfff800000000000 x23: ffff0000fe9207c0 x22: dfff800000000000 x21: ffff0000fe920bd8 x20: ffff0000fe920bd8 x19: ffff800021b67d98 x18: ffff800011b8bf60 x17: 20747562202c3839 x16: ffff8000082eee68 x15: 0000000000000000 x14: 0000000000000001 x13: 1fffe00033ea87a3 x12: 0000000000ff0100 x11: ff00800008311550 x10: 0000000000000000 x9 : 43ea0862bd9bbf00 x8 : 43ea0862bd9bbf00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021b67738 x4 : ffff8000152f4cc0 x3 : ffff80000853854c x2 : 0000000000000001 x1 : 0000000100000001 x0 : 000000000000006d Call trace: __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59 __list_del_entry include/linux/list.h:134 [inline] list_del_init include/linux/list.h:206 [inline] finish_wait+0xd4/0x1ac kernel/sched/wait.c:411 gfs2_quotad+0x390/0x500 fs/gfs2/quota.c:1579 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: 91340000 aa1303e1 aa1503e3 95c1c904 (d4210000) ---[ end trace 0000000000000000 ]---