================================================================== BUG: KASAN: slab-use-after-free in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: slab-use-after-free in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: slab-use-after-free in mapping_unevictable include/linux/pagemap.h:270 [inline] BUG: KASAN: slab-use-after-free in folio_evictable+0x7b/0x270 mm/internal.h:478 Read of size 8 at addr ffff888055db53a0 by task kswapd0/83 CPU: 1 UID: 0 PID: 83 Comm: kswapd0 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x610 mm/kasan/report.c:480 kasan_report+0xe0/0x110 mm/kasan/report.c:593 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x100/0x1b0 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] mapping_unevictable include/linux/pagemap.h:270 [inline] folio_evictable+0x7b/0x270 mm/internal.h:478 sort_folio mm/vmscan.c:4469 [inline] scan_folios mm/vmscan.c:4595 [inline] isolate_folios+0x6c8/0x2f90 mm/vmscan.c:4690 evict_folios+0x188/0x1b60 mm/vmscan.c:4719 try_to_shrink_lruvec+0x5a3/0x990 mm/vmscan.c:4892 shrink_one+0x3e3/0x7a0 mm/vmscan.c:4937 shrink_many mm/vmscan.c:5000 [inline] lru_gen_shrink_node mm/vmscan.c:5078 [inline] shrink_node+0x26b5/0x3d50 mm/vmscan.c:6060 kswapd_shrink_node mm/vmscan.c:6911 [inline] balance_pgdat+0xbb8/0x1a70 mm/vmscan.c:7094 kswapd+0x590/0xb90 mm/vmscan.c:7359 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 6963: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4204 gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1183 gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135 gfs2_dir_search+0x22a/0x2e0 fs/gfs2/dir.c:1667 gfs2_lookupi+0x4b7/0x6e0 fs/gfs2/inode.c:340 gfs2_jindex_hold fs/gfs2/ops_fstype.c:574 [inline] init_journal fs/gfs2/ops_fstype.c:716 [inline] init_inodes+0x869/0x2eb0 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1c03/0x2d60 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 do_new_mount fs/namespace.c:3902 [inline] path_mount+0x1414/0x2020 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 6019: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2381 [inline] slab_free mm/slub.c:4643 [inline] kmem_cache_free+0x2d1/0x4d0 mm/slub.c:4745 gfs2_glock_dealloc+0xd0/0x150 fs/gfs2/glock.c:135 rcu_do_batch kernel/rcu/tree.c:2576 [inline] rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2832 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Last potentially related work creation: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:548 __call_rcu_common.constprop.0+0xa5/0xa10 kernel/rcu/tree.c:3094 gfs2_glock_free+0x35/0x90 fs/gfs2/glock.c:178 glock_work_func+0x396/0x4d0 fs/gfs2/glock.c:1108 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Second to last potentially related work creation: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:548 insert_work+0x36/0x230 kernel/workqueue.c:2183 __queue_work+0x97e/0x10f0 kernel/workqueue.c:2341 __queue_delayed_work+0x35b/0x460 kernel/workqueue.c:2509 queue_delayed_work_on+0x1b5/0x200 kernel/workqueue.c:2561 queue_delayed_work include/linux/workqueue.h:677 [inline] gfs2_glock_queue_work+0x75/0x120 fs/gfs2/glock.c:250 __gfs2_glock_dq fs/gfs2/glock.c:1644 [inline] gfs2_glock_dq+0x498/0xab0 fs/gfs2/glock.c:1701 gfs2_glock_dq_uninit+0x1a/0x100 fs/gfs2/glock.c:1722 check_journal_clean+0x174/0x350 fs/gfs2/util.c:92 init_journal fs/gfs2/ops_fstype.c:793 [inline] init_inodes+0x113b/0x2eb0 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1c03/0x2d60 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 do_new_mount fs/namespace.c:3902 [inline] path_mount+0x1414/0x2020 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888055db4fd8 which belongs to the cache gfs2_glock(aspace) of size 1224 The buggy address is located 968 bytes inside of freed 1224-byte region [ffff888055db4fd8, ffff888055db54a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888055db5fb0 pfn:0x55db4 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801f3c9a00 0000000000000000 0000000000000001 raw: ffff888055db5fb0 00000000000c0000 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801f3c9a00 0000000000000000 0000000000000001 head: ffff888055db5fb0 00000000000c0000 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea0001576d01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6963, tgid 6962 (syz.2.383), ts 167354843606, free_ts 124698794037 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419 alloc_slab_page mm/slub.c:2451 [inline] allocate_slab mm/slub.c:2619 [inline] new_slab+0x23b/0x330 mm/slub.c:2673 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3859 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3949 __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] kmem_cache_alloc_noprof+0xef/0x3b0 mm/slub.c:4204 gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1183 gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135 gfs2_lookup_root+0x57/0x130 fs/gfs2/ops_fstype.c:425 init_sb+0xae5/0x10d0 fs/gfs2/ops_fstype.c:494 gfs2_fill_super+0x1988/0x2d60 fs/gfs2/ops_fstype.c:1220 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 page last free pid 6128 tgid 6128 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4204 lsm_inode_alloc security/security.c:755 [inline] security_inode_alloc+0x3b/0x2b0 security/security.c:1697 inode_init_always_gfp+0xce4/0x1030 fs/inode.c:306 inode_init_always include/linux/fs.h:3281 [inline] alloc_inode+0x86/0x240 fs/inode.c:353 new_inode+0x22/0x1c0 fs/inode.c:1145 __shmem_get_inode mm/shmem.c:3049 [inline] shmem_get_inode+0x19a/0xfb0 mm/shmem.c:3123 shmem_symlink+0xf8/0x9f0 mm/shmem.c:4097 vfs_symlink fs/namei.c:4739 [inline] vfs_symlink+0x403/0x680 fs/namei.c:4723 do_symlinkat+0x261/0x310 fs/namei.c:4765 __do_sys_symlinkat fs/namei.c:4781 [inline] __se_sys_symlinkat fs/namei.c:4778 [inline] __x64_sys_symlinkat+0x93/0xc0 fs/namei.c:4778 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888055db5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055db5300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888055db5380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888055db5400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055db5480: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] BUG: KASAN: slab-use-after-free in arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] BUG: KASAN: slab-use-after-free in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] BUG: KASAN: slab-use-after-free in mapping_unevictable include/linux/pagemap.h:270 [inline] BUG: KASAN: slab-use-after-free in folio_evictable+0x24f/0x270 mm/internal.h:478 Read of size 8 at addr ffff888055db53a0 by task kswapd0/83 CPU: 1 UID: 0 PID: 83 Comm: kswapd0 Tainted: G B 6.16.0-rc7-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x610 mm/kasan/report.c:480 kasan_report+0xe0/0x110 mm/kasan/report.c:593 constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] mapping_unevictable include/linux/pagemap.h:270 [inline] folio_evictable+0x24f/0x270 mm/internal.h:478 sort_folio mm/vmscan.c:4469 [inline] scan_folios mm/vmscan.c:4595 [inline] isolate_folios+0x6c8/0x2f90 mm/vmscan.c:4690 evict_folios+0x188/0x1b60 mm/vmscan.c:4719 try_to_shrink_lruvec+0x5a3/0x990 mm/vmscan.c:4892 shrink_one+0x3e3/0x7a0 mm/vmscan.c:4937 shrink_many mm/vmscan.c:5000 [inline] lru_gen_shrink_node mm/vmscan.c:5078 [inline] shrink_node+0x26b5/0x3d50 mm/vmscan.c:6060 kswapd_shrink_node mm/vmscan.c:6911 [inline] balance_pgdat+0xbb8/0x1a70 mm/vmscan.c:7094 kswapd+0x590/0xb90 mm/vmscan.c:7359 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 6963: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4204 gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1183 gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135 gfs2_dir_search+0x22a/0x2e0 fs/gfs2/dir.c:1667 gfs2_lookupi+0x4b7/0x6e0 fs/gfs2/inode.c:340 gfs2_jindex_hold fs/gfs2/ops_fstype.c:574 [inline] init_journal fs/gfs2/ops_fstype.c:716 [inline] init_inodes+0x869/0x2eb0 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1c03/0x2d60 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 do_new_mount fs/namespace.c:3902 [inline] path_mount+0x1414/0x2020 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 6019: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2381 [inline] slab_free mm/slub.c:4643 [inline] kmem_cache_free+0x2d1/0x4d0 mm/slub.c:4745 gfs2_glock_dealloc+0xd0/0x150 fs/gfs2/glock.c:135 rcu_do_batch kernel/rcu/tree.c:2576 [inline] rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2832 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Last potentially related work creation: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:548 __call_rcu_common.constprop.0+0xa5/0xa10 kernel/rcu/tree.c:3094 gfs2_glock_free+0x35/0x90 fs/gfs2/glock.c:178 glock_work_func+0x396/0x4d0 fs/gfs2/glock.c:1108 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Second to last potentially related work creation: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:548 insert_work+0x36/0x230 kernel/workqueue.c:2183 __queue_work+0x97e/0x10f0 kernel/workqueue.c:2341 __queue_delayed_work+0x35b/0x460 kernel/workqueue.c:2509 queue_delayed_work_on+0x1b5/0x200 kernel/workqueue.c:2561 queue_delayed_work include/linux/workqueue.h:677 [inline] gfs2_glock_queue_work+0x75/0x120 fs/gfs2/glock.c:250 __gfs2_glock_dq fs/gfs2/glock.c:1644 [inline] gfs2_glock_dq+0x498/0xab0 fs/gfs2/glock.c:1701 gfs2_glock_dq_uninit+0x1a/0x100 fs/gfs2/glock.c:1722 check_journal_clean+0x174/0x350 fs/gfs2/util.c:92 init_journal fs/gfs2/ops_fstype.c:793 [inline] init_inodes+0x113b/0x2eb0 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1c03/0x2d60 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 do_new_mount fs/namespace.c:3902 [inline] path_mount+0x1414/0x2020 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888055db4fd8 which belongs to the cache gfs2_glock(aspace) of size 1224 The buggy address is located 968 bytes inside of freed 1224-byte region [ffff888055db4fd8, ffff888055db54a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888055db5fb0 pfn:0x55db4 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801f3c9a00 0000000000000000 0000000000000001 raw: ffff888055db5fb0 00000000000c0000 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801f3c9a00 0000000000000000 0000000000000001 head: ffff888055db5fb0 00000000000c0000 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea0001576d01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6963, tgid 6962 (syz.2.383), ts 167354843606, free_ts 124698794037 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419 alloc_slab_page mm/slub.c:2451 [inline] allocate_slab mm/slub.c:2619 [inline] new_slab+0x23b/0x330 mm/slub.c:2673 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3859 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3949 __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] kmem_cache_alloc_noprof+0xef/0x3b0 mm/slub.c:4204 gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1183 gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135 gfs2_lookup_root+0x57/0x130 fs/gfs2/ops_fstype.c:425 init_sb+0xae5/0x10d0 fs/gfs2/ops_fstype.c:494 gfs2_fill_super+0x1988/0x2d60 fs/gfs2/ops_fstype.c:1220 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 page last free pid 6128 tgid 6128 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4204 lsm_inode_alloc security/security.c:755 [inline] security_inode_alloc+0x3b/0x2b0 security/security.c:1697 inode_init_always_gfp+0xce4/0x1030 fs/inode.c:306 inode_init_always include/linux/fs.h:3281 [inline] alloc_inode+0x86/0x240 fs/inode.c:353 new_inode+0x22/0x1c0 fs/inode.c:1145 __shmem_get_inode mm/shmem.c:3049 [inline] shmem_get_inode+0x19a/0xfb0 mm/shmem.c:3123 shmem_symlink+0xf8/0x9f0 mm/shmem.c:4097 vfs_symlink fs/namei.c:4739 [inline] vfs_symlink+0x403/0x680 fs/namei.c:4723 do_symlinkat+0x261/0x310 fs/namei.c:4765 __do_sys_symlinkat fs/namei.c:4781 [inline] __se_sys_symlinkat fs/namei.c:4778 [inline] __x64_sys_symlinkat+0x93/0xc0 fs/namei.c:4778 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888055db5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055db5300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888055db5380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888055db5400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055db5480: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================