==================================================================
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 ffff88807698ee08 by task kswapd0/84
CPU: 0 UID: 0 PID: 84 Comm: kswapd0 Not tainted 6.16.0-syzkaller-06699-ge8d780dcd957 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
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:4477 [inline]
scan_folios mm/vmscan.c:4603 [inline]
isolate_folios+0x6c8/0x2f90 mm/vmscan.c:4698
evict_folios+0x188/0x1b60 mm/vmscan.c:4727
try_to_shrink_lruvec+0x5a3/0x990 mm/vmscan.c:4900
shrink_one+0x3e3/0x7a0 mm/vmscan.c:4945
shrink_many mm/vmscan.c:5008 [inline]
lru_gen_shrink_node mm/vmscan.c:5086 [inline]
shrink_node+0x26b5/0x3d50 mm/vmscan.c:6070
kswapd_shrink_node mm/vmscan.c:6921 [inline]
balance_pgdat+0xbb8/0x1a70 mm/vmscan.c:7104
kswapd+0x590/0xb90 mm/vmscan.c:7369
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 23783:
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:4179 [inline]
slab_alloc_node mm/slub.c:4228 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4235
gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1182
gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135
gfs2_dir_search+0x22a/0x2e0 fs/gfs2/dir.c:1665
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+0x1be2/0x2d30 fs/gfs2/ops_fstype.c:1253
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
do_new_mount fs/namespace.c:3805 [inline]
path_mount+0x1482/0x1fd0 fs/namespace.c:4120
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount fs/namespace.c:4321 [inline]
__x64_sys_mount+0x28d/0x310 fs/namespace.c:4321
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 23783:
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:2416 [inline]
slab_free mm/slub.c:4679 [inline]
kmem_cache_free+0x2d1/0x4d0 mm/slub.c:4781
gfs2_glock_dealloc+0xd0/0x150 fs/gfs2/glock.c:135
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2861
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:3123
gfs2_glock_free+0x35/0x90 fs/gfs2/glock.c:178
glock_work_func+0x396/0x4d0 fs/gfs2/glock.c:1107
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
clear_glock+0xa7/0xe0 fs/gfs2/glock.c:2153
glock_hash_walk+0x12c/0x1c0 fs/gfs2/glock.c:2083
gfs2_gl_hash_clear+0x103/0x780 fs/gfs2/glock.c:2209
gfs2_fill_super+0x2524/0x2d30 fs/gfs2/ops_fstype.c:1306
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
do_new_mount fs/namespace.c:3805 [inline]
path_mount+0x1482/0x1fd0 fs/namespace.c:4120
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount fs/namespace.c:4321 [inline]
__x64_sys_mount+0x28d/0x310 fs/namespace.c:4321
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 ffff88807698ea40
which belongs to the cache gfs2_glock(aspace) of size 1224
The buggy address is located 968 bytes inside of
freed 1224-byte region [ffff88807698ea40, ffff88807698ef08)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807698dfb0 pfn:0x7698c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801ef2ab40 dead000000000122 0000000000000000
raw: ffff88807698dfb0 00000000800c0007 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801ef2ab40 dead000000000122 0000000000000000
head: ffff88807698dfb0 00000000800c0007 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001da6301 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 21820, tgid 21819 (syz.3.6509), ts 744015292506, free_ts 740547873637
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:2486 [inline]
allocate_slab mm/slub.c:2654 [inline]
new_slab+0x247/0x330 mm/slub.c:2708
___slab_alloc+0xd1e/0x1780 mm/slub.c:3890
__slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3980
__slab_alloc_node mm/slub.c:4055 [inline]
slab_alloc_node mm/slub.c:4216 [inline]
kmem_cache_alloc_noprof+0xef/0x3b0 mm/slub.c:4235
gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1182
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+0x1967/0x2d30 fs/gfs2/ops_fstype.c:1220
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
page last free pid 6146 tgid 6146 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:4179 [inline]
slab_alloc_node mm/slub.c:4228 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4235
getname_flags.part.0+0x4c/0x550 fs/namei.c:146
getname_flags+0x93/0xf0 include/linux/audit.h:322
user_path_at+0x24/0x60 fs/namei.c:3126
do_faccessat+0x139/0xba0 fs/open.c:493
__do_sys_faccessat2 fs/open.c:547 [inline]
__se_sys_faccessat2 fs/open.c:544 [inline]
__x64_sys_faccessat2+0x96/0x100 fs/open.c:544
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:
ffff88807698ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807698ed80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff88807698ee00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88807698ee80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807698ef00: fb fc fc fc 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 ffff88807698ee08 by task kswapd0/84
CPU: 0 UID: 0 PID: 84 Comm: kswapd0 Tainted: G B 6.16.0-syzkaller-06699-ge8d780dcd957 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
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:4477 [inline]
scan_folios mm/vmscan.c:4603 [inline]
isolate_folios+0x6c8/0x2f90 mm/vmscan.c:4698
evict_folios+0x188/0x1b60 mm/vmscan.c:4727
try_to_shrink_lruvec+0x5a3/0x990 mm/vmscan.c:4900
shrink_one+0x3e3/0x7a0 mm/vmscan.c:4945
shrink_many mm/vmscan.c:5008 [inline]
lru_gen_shrink_node mm/vmscan.c:5086 [inline]
shrink_node+0x26b5/0x3d50 mm/vmscan.c:6070
kswapd_shrink_node mm/vmscan.c:6921 [inline]
balance_pgdat+0xbb8/0x1a70 mm/vmscan.c:7104
kswapd+0x590/0xb90 mm/vmscan.c:7369
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 23783:
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:4179 [inline]
slab_alloc_node mm/slub.c:4228 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4235
gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1182
gfs2_inode_lookup+0x277/0x8a0 fs/gfs2/inode.c:135
gfs2_dir_search+0x22a/0x2e0 fs/gfs2/dir.c:1665
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+0x1be2/0x2d30 fs/gfs2/ops_fstype.c:1253
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
do_new_mount fs/namespace.c:3805 [inline]
path_mount+0x1482/0x1fd0 fs/namespace.c:4120
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount fs/namespace.c:4321 [inline]
__x64_sys_mount+0x28d/0x310 fs/namespace.c:4321
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 23783:
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:2416 [inline]
slab_free mm/slub.c:4679 [inline]
kmem_cache_free+0x2d1/0x4d0 mm/slub.c:4781
gfs2_glock_dealloc+0xd0/0x150 fs/gfs2/glock.c:135
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2861
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:3123
gfs2_glock_free+0x35/0x90 fs/gfs2/glock.c:178
glock_work_func+0x396/0x4d0 fs/gfs2/glock.c:1107
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
clear_glock+0xa7/0xe0 fs/gfs2/glock.c:2153
glock_hash_walk+0x12c/0x1c0 fs/gfs2/glock.c:2083
gfs2_gl_hash_clear+0x103/0x780 fs/gfs2/glock.c:2209
gfs2_fill_super+0x2524/0x2d30 fs/gfs2/ops_fstype.c:1306
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
do_new_mount fs/namespace.c:3805 [inline]
path_mount+0x1482/0x1fd0 fs/namespace.c:4120
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount fs/namespace.c:4321 [inline]
__x64_sys_mount+0x28d/0x310 fs/namespace.c:4321
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 ffff88807698ea40
which belongs to the cache gfs2_glock(aspace) of size 1224
The buggy address is located 968 bytes inside of
freed 1224-byte region [ffff88807698ea40, ffff88807698ef08)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807698dfb0 pfn:0x7698c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801ef2ab40 dead000000000122 0000000000000000
raw: ffff88807698dfb0 00000000800c0007 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801ef2ab40 dead000000000122 0000000000000000
head: ffff88807698dfb0 00000000800c0007 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001da6301 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 21820, tgid 21819 (syz.3.6509), ts 744015292506, free_ts 740547873637
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:2486 [inline]
allocate_slab mm/slub.c:2654 [inline]
new_slab+0x247/0x330 mm/slub.c:2708
___slab_alloc+0xd1e/0x1780 mm/slub.c:3890
__slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3980
__slab_alloc_node mm/slub.c:4055 [inline]
slab_alloc_node mm/slub.c:4216 [inline]
kmem_cache_alloc_noprof+0xef/0x3b0 mm/slub.c:4235
gfs2_glock_get+0x1e5/0x1230 fs/gfs2/glock.c:1182
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+0x1967/0x2d30 fs/gfs2/ops_fstype.c:1220
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335
vfs_get_tree+0x8e/0x340 fs/super.c:1815
page last free pid 6146 tgid 6146 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:4179 [inline]
slab_alloc_node mm/slub.c:4228 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4235
getname_flags.part.0+0x4c/0x550 fs/namei.c:146
getname_flags+0x93/0xf0 include/linux/audit.h:322
user_path_at+0x24/0x60 fs/namei.c:3126
do_faccessat+0x139/0xba0 fs/open.c:493
__do_sys_faccessat2 fs/open.c:547 [inline]
__se_sys_faccessat2 fs/open.c:544 [inline]
__x64_sys_faccessat2+0x96/0x100 fs/open.c:544
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:
ffff88807698ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807698ed80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff88807698ee00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88807698ee80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807698ef00: fb fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================