================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x106/0x7d10 kernel/locking/lockdep.c:4882 Read of size 8 at addr ffff8880594f4bb0 by task gfs2_quotad/4338 CPU: 1 PID: 4338 Comm: gfs2_quotad Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 __lock_acquire+0x106/0x7d10 kernel/locking/lockdep.c:4882 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 finish_wait+0xb5/0x1d0 kernel/sched/wait.c:407 gfs2_quotad+0x710/0x890 fs/gfs2/quota.c:1605 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Allocated by task 4612: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xb5/0xf0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] cryptomgr_schedule_probe crypto/algboss.c:85 [inline] cryptomgr_notify+0x18a/0x940 crypto/algboss.c:238 notifier_call_chain kernel/notifier.c:83 [inline] blocking_notifier_call_chain+0x103/0x1b0 kernel/notifier.c:318 crypto_probing_notify crypto/api.c:254 [inline] crypto_alg_mod_lookup+0x4d2/0x6d0 crypto/api.c:281 crypto_has_alg+0x20/0x110 crypto/api.c:581 crypto_has_comp include/linux/crypto.h:756 [inline] xfrm_probe_algs+0x2ad/0x350 net/xfrm/xfrm_algo.c:795 pfkey_register+0x10f/0x880 net/key/af_key.c:1701 pfkey_process net/key/af_key.c:2848 [inline] pfkey_sendmsg+0xbeb/0x1080 net/key/af_key.c:3704 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499 __sys_sendmsg net/socket.c:2528 [inline] __do_sys_sendmsg net/socket.c:2537 [inline] __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff8880594f4000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 2992 bytes inside of 8192-byte region [ffff8880594f4000, ffff8880594f6000) The buggy address belongs to the page: page:ffffea0001653c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8880594f4000 pfn:0x594f0 head:ffffea0001653c00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea0001f96008 ffffea0001f84808 ffff888016c42280 raw: ffff8880594f4000 0000000000020001 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x152a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 4324, ts 76635658089, free_ts 20484994358 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x80a/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] __kmalloc+0x1cd/0x330 mm/slub.c:4408 kmalloc include/linux/slab.h:612 [inline] kzalloc include/linux/slab.h:738 [inline] sta_info_alloc+0x84/0x1d10 net/mac80211/sta_info.c:344 ieee80211_ibss_rx_no_sta+0x3f9/0x770 net/mac80211/ibss.c:1236 ieee80211_accept_frame net/mac80211/rx.c:4162 [inline] ieee80211_prepare_and_rx_handle+0x3407/0x52f0 net/mac80211/rx.c:4692 __ieee80211_rx_handle_packet net/mac80211/rx.c:4868 [inline] ieee80211_rx_list+0x1c78/0x2790 net/mac80211/rx.c:4995 ieee80211_rx_napi+0x178/0x390 net/mac80211/rx.c:5018 ieee80211_rx include/net/mac80211.h:4573 [inline] ieee80211_handle_queued_frames+0x105/0x1b0 net/mac80211/main.c:237 tasklet_action_common+0x2ad/0x410 kernel/softirq.c:806 handle_softirqs+0x339/0x830 kernel/softirq.c:576 do_softirq+0x142/0x210 kernel/softirq.c:477 __local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:401 rcu_read_unlock_bh include/linux/rcupdate.h:810 [inline] __dev_queue_xmit+0x1cbf/0x2f80 net/core/dev.c:4341 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_contig_range+0x96/0xf0 mm/page_alloc.c:9428 destroy_args+0xf0/0xa00 mm/debug_vm_pgtable.c:1018 debug_vm_pgtable+0x321/0x380 mm/debug_vm_pgtable.c:1336 do_one_initcall+0x272/0x730 init/main.c:1316 do_initcall_level+0x137/0x1f0 init/main.c:1389 do_initcalls+0x4b/0x90 init/main.c:1405 kernel_init_freeable+0x3e9/0x570 init/main.c:1629 kernel_init+0x19/0x1b0 init/main.c:1520 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff8880594f4a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880594f4b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880594f4b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880594f4c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880594f4c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================