==================================================================
BUG: KASAN: slab-use-after-free in __list_add_valid_or_report+0x151/0x190 lib/list_debug.c:32
Read of size 8 at addr ffff88807e6e7078 by task syz.3.551/7912
CPU: 1 UID: 0 PID: 7912 Comm: syz.3.551 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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
__list_add_valid_or_report+0x151/0x190 lib/list_debug.c:32
__list_add_valid include/linux/list.h:96 [inline]
__list_add include/linux/list.h:158 [inline]
list_add_tail include/linux/list.h:191 [inline]
list_lru_add+0xf6/0x2e0 mm/list_lru.c:171
list_lru_add_obj+0x1ad/0x320 mm/list_lru.c:193
qd_put+0x119/0x190 fs/gfs2/quota.c:342
qdsb_put fs/gfs2/quota.c:500 [inline]
gfs2_quota_unhold+0x1be/0x370 fs/gfs2/quota.c:653
gfs2_ea_dealloc+0x32c/0x13d0 fs/gfs2/xattr.c:1470
evict_unlinked_inode fs/gfs2/super.c:1294 [inline]
gfs2_evict_inode+0x1086/0x1a30 fs/gfs2/super.c:1414
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
do_unlinkat+0x3d2/0x660 fs/namei.c:5443
__do_sys_unlinkat fs/namei.c:5469 [inline]
__se_sys_unlinkat fs/namei.c:5462 [inline]
__x64_sys_unlinkat+0xbf/0x130 fs/namei.c:5462
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2ae598f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2ae6887038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f2ae5be5fa0 RCX: 00007f2ae598f749
RDX: 0000000000000000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f2ae5a13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2ae5be6038 R14: 00007f2ae5be5fa0 R15: 00007ffeefc6bc58
Allocated by task 7099:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_noprof+0x25e/0x770 mm/slub.c:5270
qd_alloc+0x4e/0x2f0 fs/gfs2/quota.c:234
gfs2_quota_init+0x67a/0x13c0 fs/gfs2/quota.c:1448
gfs2_make_fs_rw+0x180/0x2d0 fs/gfs2/super.c:149
gfs2_fill_super+0x2bbd/0x2f90 fs/gfs2/ops_fstype.c:1275
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 49:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6670 [inline]
kmem_cache_free+0x2d8/0x770 mm/slub.c:6781
gfs2_qd_dealloc+0x69/0xf0 fs/gfs2/quota.c:111
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0x79c/0x15f0 kernel/rcu/tree.c:2857
handle_softirqs+0x219/0x950 kernel/softirq.c:622
do_softirq kernel/softirq.c:523 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:510
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:450
spin_unlock_bh include/linux/spinlock.h:396 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:890 [inline]
nsim_dev_trap_report_work+0x8b5/0xcf0 drivers/net/netdevsim/dev.c:921
process_one_work+0x9ba/0x1b20 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3421
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Last potentially related work creation:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
__call_rcu_common.constprop.0+0xa5/0xa10 kernel/rcu/tree.c:3119
qd_put+0x153/0x190 fs/gfs2/quota.c:337
qd_ungrab_sync fs/gfs2/quota.c:493 [inline]
gfs2_quota_sync+0x417/0x570 fs/gfs2/quota.c:1351
gfs2_sync_fs+0x44/0xb0 fs/gfs2/super.c:658
sync_filesystem fs/sync.c:56 [inline]
sync_filesystem+0x111/0x290 fs/sync.c:30
generic_shutdown_super+0x74/0x390 fs/super.c:622
kill_block_super+0x3b/0x90 fs/super.c:1722
gfs2_kill_sb+0x4ab/0x590 fs/gfs2/ops_fstype.c:1797
deactivate_locked_super+0xc1/0x1a0 fs/super.c:474
deactivate_super fs/super.c:507 [inline]
deactivate_super+0xde/0x100 fs/super.c:503
cleanup_mnt+0x225/0x450 fs/namespace.c:1318
task_work_run+0x150/0x240 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
exit_to_user_mode_loop+0xfb/0x540 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4ee/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88807e6e7000
which belongs to the cache gfs2_quotad of size 272
The buggy address is located 120 bytes inside of
freed 272-byte region [ffff88807e6e7000, ffff88807e6e7110)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807e6e7000 pfn:0x7e6e7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000000 ffff888143ae63c0 dead000000000122 0000000000000000
raw: ffff88807e6e7000 00000000800c000b 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x52c50(GFP_NOFS|__GFP_RECLAIMABLE|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 7099, tgid 7097 (syz.5.332), ts 180546489286, free_ts 146877605072
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1857
prep_new_page mm/page_alloc.c:1865 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c3/0x430 mm/slub.c:3302
___slab_alloc+0xe18/0x1c90 mm/slub.c:4656
__slab_alloc.constprop.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_noprof+0x44d/0x770 mm/slub.c:5270
qd_alloc+0x4e/0x2f0 fs/gfs2/quota.c:234
gfs2_quota_init+0x67a/0x13c0 fs/gfs2/quota.c:1448
gfs2_make_fs_rw+0x180/0x2d0 fs/gfs2/super.c:149
gfs2_fill_super+0x2bbd/0x2f90 fs/gfs2/ops_fstype.c:1275
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
page last free pid 6621 tgid 6621 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x7df/0x1170 mm/page_alloc.c:2943
discard_slab mm/slub.c:3346 [inline]
__put_partials+0x130/0x170 mm/slub.c:3886
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4c/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_noprof+0x25e/0x770 mm/slub.c:5270
vm_area_dup+0x27/0x8d0 mm/vma_init.c:123
__split_vma+0x18e/0x1050 mm/vma.c:508
split_vma mm/vma.c:591 [inline]
vma_modify+0x189d/0x2310 mm/vma.c:1626
vma_modify_flags+0x235/0x3a0 mm/vma.c:1654
mprotect_fixup+0x3a1/0xb80 mm/mprotect.c:756
do_mprotect_pkey+0x9bc/0xd40 mm/mprotect.c:930
__do_sys_mprotect mm/mprotect.c:951 [inline]
__se_sys_mprotect mm/mprotect.c:948 [inline]
__x64_sys_mprotect+0x78/0xc0 mm/mprotect.c:948
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88807e6e6f00: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc
ffff88807e6e6f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88807e6e7000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88807e6e7080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807e6e7100: fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in __list_add include/linux/list.h:164 [inline]
BUG: KASAN: slab-use-after-free in list_add_tail include/linux/list.h:191 [inline]
BUG: KASAN: slab-use-after-free in list_lru_add+0x284/0x2e0 mm/list_lru.c:171
Write of size 8 at addr ffff88807e6e7078 by task syz.3.551/7912
CPU: 1 UID: 0 PID: 7912 Comm: syz.3.551 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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
__list_add include/linux/list.h:164 [inline]
list_add_tail include/linux/list.h:191 [inline]
list_lru_add+0x284/0x2e0 mm/list_lru.c:171
list_lru_add_obj+0x1ad/0x320 mm/list_lru.c:193
qd_put+0x119/0x190 fs/gfs2/quota.c:342
qdsb_put fs/gfs2/quota.c:500 [inline]
gfs2_quota_unhold+0x1be/0x370 fs/gfs2/quota.c:653
gfs2_ea_dealloc+0x32c/0x13d0 fs/gfs2/xattr.c:1470
evict_unlinked_inode fs/gfs2/super.c:1294 [inline]
gfs2_evict_inode+0x1086/0x1a30 fs/gfs2/super.c:1414
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
do_unlinkat+0x3d2/0x660 fs/namei.c:5443
__do_sys_unlinkat fs/namei.c:5469 [inline]
__se_sys_unlinkat fs/namei.c:5462 [inline]
__x64_sys_unlinkat+0xbf/0x130 fs/namei.c:5462
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2ae598f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2ae6887038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f2ae5be5fa0 RCX: 00007f2ae598f749
RDX: 0000000000000000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f2ae5a13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2ae5be6038 R14: 00007f2ae5be5fa0 R15: 00007ffeefc6bc58
Allocated by task 7099:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_noprof+0x25e/0x770 mm/slub.c:5270
qd_alloc+0x4e/0x2f0 fs/gfs2/quota.c:234
gfs2_quota_init+0x67a/0x13c0 fs/gfs2/quota.c:1448
gfs2_make_fs_rw+0x180/0x2d0 fs/gfs2/super.c:149
gfs2_fill_super+0x2bbd/0x2f90 fs/gfs2/ops_fstype.c:1275
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 49:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6670 [inline]
kmem_cache_free+0x2d8/0x770 mm/slub.c:6781
gfs2_qd_dealloc+0x69/0xf0 fs/gfs2/quota.c:111
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0x79c/0x15f0 kernel/rcu/tree.c:2857
handle_softirqs+0x219/0x950 kernel/softirq.c:622
do_softirq kernel/softirq.c:523 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:510
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:450
spin_unlock_bh include/linux/spinlock.h:396 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:890 [inline]
nsim_dev_trap_report_work+0x8b5/0xcf0 drivers/net/netdevsim/dev.c:921
process_one_work+0x9ba/0x1b20 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3421
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Last potentially related work creation:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:57
kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556
__call_rcu_common.constprop.0+0xa5/0xa10 kernel/rcu/tree.c:3119
qd_put+0x153/0x190 fs/gfs2/quota.c:337
qd_ungrab_sync fs/gfs2/quota.c:493 [inline]
gfs2_quota_sync+0x417/0x570 fs/gfs2/quota.c:1351
gfs2_sync_fs+0x44/0xb0 fs/gfs2/super.c:658
sync_filesystem fs/sync.c:56 [inline]
sync_filesystem+0x111/0x290 fs/sync.c:30
generic_shutdown_super+0x74/0x390 fs/super.c:622
kill_block_super+0x3b/0x90 fs/super.c:1722
gfs2_kill_sb+0x4ab/0x590 fs/gfs2/ops_fstype.c:1797
deactivate_locked_super+0xc1/0x1a0 fs/super.c:474
deactivate_super fs/super.c:507 [inline]
deactivate_super+0xde/0x100 fs/super.c:503
cleanup_mnt+0x225/0x450 fs/namespace.c:1318
task_work_run+0x150/0x240 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
exit_to_user_mode_loop+0xfb/0x540 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4ee/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88807e6e7000
which belongs to the cache gfs2_quotad of size 272
The buggy address is located 120 bytes inside of
freed 272-byte region [ffff88807e6e7000, ffff88807e6e7110)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807e6e7000 pfn:0x7e6e7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000000 ffff888143ae63c0 dead000000000122 0000000000000000
raw: ffff88807e6e7000 00000000800c000b 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x52c50(GFP_NOFS|__GFP_RECLAIMABLE|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 7099, tgid 7097 (syz.5.332), ts 180546489286, free_ts 146877605072
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1857
prep_new_page mm/page_alloc.c:1865 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c3/0x430 mm/slub.c:3302
___slab_alloc+0xe18/0x1c90 mm/slub.c:4656
__slab_alloc.constprop.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_noprof+0x44d/0x770 mm/slub.c:5270
qd_alloc+0x4e/0x2f0 fs/gfs2/quota.c:234
gfs2_quota_init+0x67a/0x13c0 fs/gfs2/quota.c:1448
gfs2_make_fs_rw+0x180/0x2d0 fs/gfs2/super.c:149
gfs2_fill_super+0x2bbd/0x2f90 fs/gfs2/ops_fstype.c:1275
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
page last free pid 6621 tgid 6621 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x7df/0x1170 mm/page_alloc.c:2943
discard_slab mm/slub.c:3346 [inline]
__put_partials+0x130/0x170 mm/slub.c:3886
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4c/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_noprof+0x25e/0x770 mm/slub.c:5270
vm_area_dup+0x27/0x8d0 mm/vma_init.c:123
__split_vma+0x18e/0x1050 mm/vma.c:508
split_vma mm/vma.c:591 [inline]
vma_modify+0x189d/0x2310 mm/vma.c:1626
vma_modify_flags+0x235/0x3a0 mm/vma.c:1654
mprotect_fixup+0x3a1/0xb80 mm/mprotect.c:756
do_mprotect_pkey+0x9bc/0xd40 mm/mprotect.c:930
__do_sys_mprotect mm/mprotect.c:951 [inline]
__se_sys_mprotect mm/mprotect.c:948 [inline]
__x64_sys_mprotect+0x78/0xc0 mm/mprotect.c:948
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88807e6e6f00: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc
ffff88807e6e6f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88807e6e7000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88807e6e7080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88807e6e7100: fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================