==================================================================
BUG: KASAN: slab-out-of-bounds in should_failslab+0xd6/0x100
Read of size 4 at addr ffff88801bb1bfb4 by task syz.2.290/6618

CPU: 1 UID: 0 PID: 6618 Comm: syz.2.290 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 should_failslab+0xd6/0x100
 kmem_cache_alloc_noprof+0x74/0x6e0
 zs_malloc+0x88/0x720
 zswap_store+0x1062/0x1f40
 swap_writeout+0x710/0xd70
 shrink_folio_list+0x3011/0x4c70
 reclaim_folio_list+0xeb/0x500
 reclaim_pages+0x454/0x520
 madvise_cold_or_pageout_pte_range+0x1974/0x1d00
 walk_pgd_range+0xfe9/0x1d40
 __walk_page_range+0x14c/0x710
 walk_page_range_vma+0x393/0x440
 madvise_vma_behavior+0x311f/0x3a10
 madvise_walk_vmas+0x51c/0xa30
 madvise_do_behavior+0x38e/0x550
 do_madvise+0x1bc/0x270
 __x64_sys_madvise+0xa7/0xc0
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fec3898ec29
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:00007fec39788038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fec38bd5fa0 RCX: 00007fec3898ec29
RDX: 0000000000000015 RSI: 0000000000600003 RDI: 0000200000000000
RBP: 00007fec38a11e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fec38bd6038 R14: 00007fec38bd5fa0 R15: 00007ffcf6386ec8
 </TASK>

Allocated by task 1:
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x367/0x6e0
 acpi_ns_create_node+0xc5/0x170
 acpi_ns_search_and_enter+0x53a/0x720
 acpi_ns_lookup+0x67e/0xca0
 acpi_ds_load2_begin_op+0x8cf/0xd90
 acpi_ds_exec_begin_op+0x143/0x580
 acpi_ps_build_named_op+0x268/0x510
 acpi_ps_create_op+0x43f/0xb30
 acpi_ps_parse_loop+0x5ea/0x1ab0
 acpi_ps_parse_aml+0x22d/0x9b0
 acpi_ps_execute_table+0x335/0x410
 acpi_ns_execute_table+0x397/0x570
 acpi_ns_load_table+0x62/0x130
 acpi_tb_load_namespace+0x27c/0x6c0
 acpi_load_tables+0x31/0xb0
 acpi_bus_init+0x8e/0x550
 acpi_init+0xa1/0x1f0
 do_one_initcall+0x236/0x820
 do_initcall_level+0x104/0x190
 do_initcalls+0x59/0xa0
 kernel_init_freeable+0x334/0x4b0
 kernel_init+0x1d/0x1d0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30

The buggy address belongs to the object at ffff88801bb1bf80
 which belongs to the cache Acpi-Namespace of size 48
The buggy address is located 4 bytes to the right of
 allocated 48-byte region [ffff88801bb1bf80, ffff88801bb1bfb0)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1bb1b
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000000 ffff88801a8948c0 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000400040 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 1, tgid 1 (swapper/0), ts 2929297610, free_ts 0
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x96/0x3a0
 ___slab_alloc+0xe94/0x1920
 __slab_alloc+0x65/0x100
 kmem_cache_alloc_noprof+0x3f9/0x6e0
 acpi_ns_create_node+0xc5/0x170
 acpi_ns_search_and_enter+0x53a/0x720
 acpi_ns_lookup+0x67e/0xca0
 acpi_ds_load2_begin_op+0x8cf/0xd90
 acpi_ds_exec_begin_op+0x143/0x580
 acpi_ps_build_named_op+0x268/0x510
 acpi_ps_create_op+0x43f/0xb30
 acpi_ps_parse_loop+0x5ea/0x1ab0
page_owner free stack trace missing

Memory state around the buggy address:
 ffff88801bb1be80: 00 00 00 00 00 00 fc fc 00 00 00 00 00 00 fc fc
 ffff88801bb1bf00: 00 00 00 00 00 00 fc fc 00 00 00 00 00 00 fc fc
>ffff88801bb1bf80: 00 00 00 00 00 00 fc fc 00 00 00 00 00 00 fc fc
                                     ^
 ffff88801bb1c000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88801bb1c080: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc 00 00
==================================================================
