================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x104/0x6634 kernel/locking/lockdep.c:4933 Read of size 8 at addr ffff0000d1a80bb0 by task gfs2_quotad/4837 CPU: 1 PID: 4837 Comm: gfs2_quotad Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 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/0x6634 kernel/locking/lockdep.c:4933 lock_acquire+0x20c/0x638 kernel/locking/lockdep.c:5676 __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+0x3c4/0x520 fs/gfs2/quota.c:1579 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Allocated by task 5651: 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_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] kmalloc_trace+0x7c/0x94 mm/slab_common.c:1031 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] cryptomgr_schedule_probe crypto/algboss.c:85 [inline] cryptomgr_notify+0x164/0x960 crypto/algboss.c:238 notifier_call_chain kernel/notifier.c:87 [inline] blocking_notifier_call_chain+0xf4/0x19c kernel/notifier.c:382 crypto_probing_notify crypto/api.c:306 [inline] crypto_alg_mod_lookup+0x194/0x500 crypto/api.c:336 crypto_find_alg crypto/api.c:588 [inline] crypto_alloc_tfm_node+0x120/0x304 crypto/api.c:625 crypto_alloc_tfm crypto/internal.h:109 [inline] crypto_alloc_shash+0x40/0x54 crypto/shash.c:520 fscrypt_init_hkdf+0xbc/0x280 fs/crypto/hkdf.c:75 fscrypt_get_test_dummy_key_identifier+0xe4/0x1f8 fs/crypto/keyring.c:769 fscrypt_parse_test_dummy_encryption+0x3ac/0x5a0 fs/crypto/policy.c:789 ext4_parse_test_dummy_encryption+0x28/0xc8 fs/ext4/super.c:2065 ext4_parse_param+0xb00/0x1c00 fs/ext4/super.c:2322 vfs_parse_fs_param+0x1b8/0x3fc fs/fs_context.c:146 vfs_parse_fs_string fs/fs_context.c:184 [inline] generic_parse_monolithic+0x238/0x2e8 fs/fs_context.c:224 parse_monolithic_mount_data+0x78/0x8c fs/fs_context.c:689 do_new_mount+0x1f4/0x804 fs/namespace.c:3074 path_mount+0x5ac/0xe6c fs/namespace.c:3408 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x4a0/0x5a0 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 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 5667: 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+0xbc/0x21c mm/slub.c:3700 kfree+0xd0/0x1a8 mm/slab_common.c:988 cryptomgr_probe+0x148/0x168 crypto/algboss.c:69 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 insert_work+0x64/0x37c kernel/workqueue.c:1361 __queue_work+0xd00/0x1280 kernel/workqueue.c:1520 __queue_delayed_work kernel/workqueue.c:1668 [inline] queue_delayed_work_on+0x208/0x30c kernel/workqueue.c:1704 queue_delayed_work include/linux/workqueue.h:527 [inline] queue_con_delay+0xc8/0x220 net/ceph/messenger.c:1374 queue_con net/ceph/messenger.c:1385 [inline] con_fault net/ceph/messenger.c:1584 [inline] ceph_con_workfn+0x8bc/0xdcc net/ceph/messenger.c:1530 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Second to last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 insert_work+0x64/0x37c kernel/workqueue.c:1361 __queue_work+0xd00/0x1280 kernel/workqueue.c:1520 __queue_delayed_work kernel/workqueue.c:1668 [inline] queue_delayed_work_on+0x208/0x30c kernel/workqueue.c:1704 queue_delayed_work include/linux/workqueue.h:527 [inline] queue_con_delay+0xc8/0x220 net/ceph/messenger.c:1374 queue_con net/ceph/messenger.c:1385 [inline] ceph_con_open+0x100/0x1e0 net/ceph/messenger.c:608 __open_session+0x234/0x6dc net/ceph/mon_client.c:258 ceph_monc_open_session+0x16c/0x418 net/ceph/mon_client.c:534 __ceph_open_session+0x120/0x480 net/ceph/ceph_common.c:799 ceph_real_mount fs/ceph/super.c:1083 [inline] ceph_get_tree+0x904/0x1134 fs/ceph/super.c:1262 vfs_get_tree+0x90/0x278 fs/super.c:1573 vfs_fsconfig_locked+0x1e0/0x374 fs/fsopen.c:238 __do_sys_fsconfig fs/fsopen.c:445 [inline] __se_sys_fsconfig fs/fsopen.c:320 [inline] __arm64_sys_fsconfig+0x640/0x790 fs/fsopen.c:320 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 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 ffff0000d1a80000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 2992 bytes inside of 8192-byte region [ffff0000d1a80000, ffff0000d1a82000) The buggy address belongs to the physical page: page:000000008e496a4a refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x111a80 head:000000008e496a4a order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc00036c1000 dead000000000002 ffff0000c0002c00 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d1a80a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d1a80b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000d1a80b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d1a80c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d1a80c80: 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: 1 PID: 4837 Comm: gfs2_quotad Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 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/0x690 kernel/locking/lockdep.c:1287 __lock_acquire+0x164/0x6634 kernel/locking/lockdep.c:4942 lock_acquire+0x20c/0x638 kernel/locking/lockdep.c:5676 __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+0x3c4/0x520 fs/gfs2/quota.c:1579 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 list_del corruption. prev->next should be ffff800021d17d98, but was 0000000000000000. (prev=ffff0000d1a80bd8) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:61! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4837 Comm: gfs2_quotad Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 pstate: 624000c5 (nZCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __list_del_entry_valid+0x140/0x15c lib/list_debug.c:59 lr : __list_del_entry_valid+0x140/0x15c lib/list_debug.c:59 sp : ffff800021d17c70 x29: ffff800021d17c70 x28: 0000000000000000 x27: 0000000000000bb8 x26: 0000000000000bb8 x25: 0000000000001770 x24: ffff800021d17d98 x23: dfff800000000000 x22: dfff800000000000 x21: ffff0000d1a80bd8 x20: ffff0000d1a80bd8 x19: ffff800021d17d98 x18: 1fffe00033e7697e x17: 20747562202c3839 x16: ffff800011b8ee98 x15: 3038666666662065 x14: 0000000000000001 x13: 1fffe00033e769a3 x12: 0000000000000000 x11: ff00800008315174 x10: 0000000000000000 x9 : 780cf7b5b3c98d00 x8 : 780cf7b5b3c98d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021d17738 x4 : ffff800015464e60 x3 : ffff800008540378 x2 : 0000000000000001 x1 : 0000000100000001 x0 : 000000000000006d Call trace: __list_del_entry_valid+0x140/0x15c 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+0x3c4/0x520 fs/gfs2/quota.c:1579 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: 911c0000 aa1303e1 aa1503e3 95c505ca (d4210000) ---[ end trace 0000000000000000 ]---