erofs (device loop1): cannot find valid erofs superblock
==================================================================
BUG: KASAN: slab-out-of-bounds in zpool_get_total_pages+0x46/0x70
Read of size 8 at addr ffff888023a2b0f0 by task syz.1.23/5974

CPU: 1 UID: 60929 PID: 5974 Comm: syz.1.23 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
 kasan_check_range+0x2b0/0x2c0
 zpool_get_total_pages+0x46/0x70
 zswap_total_pages+0xf6/0x1e0
 zswap_store+0x52f/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:0x7f5b9818ec29
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:00007f5b98f6c038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007f5b983d5fa0 RCX: 00007f5b9818ec29
RDX: 0000000000000015 RSI: 0000000000800000 RDI: 0000200000000000
RBP: 00007f5b98211e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5b983d6038 R14: 00007f5b983d5fa0 R15: 00007fff2382cc28
 </TASK>

Allocated by task 5846:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x3d5/0x6f0
 addr_event+0xc3/0x470
 inetaddr_event+0xe3/0x140
 notifier_call_chain+0x1b6/0x3e0
 blocking_notifier_call_chain+0x6a/0x90
 __inet_insert_ifa+0xa13/0xbf0
 inet_rtm_newaddr+0xf3a/0x18b0
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 5879:
 kasan_save_track+0x3e/0x80
 __kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5c/0x80
 kfree+0x19a/0x6d0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30

Last potentially related work creation:
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 insert_work+0x3d/0x330
 __queue_work+0xcd2/0xfb0
 queue_work_on+0x181/0x270
 inetaddr_event+0xe3/0x140
 notifier_call_chain+0x1b6/0x3e0
 blocking_notifier_call_chain+0x6a/0x90
 __inet_insert_ifa+0xa13/0xbf0
 inet_rtm_newaddr+0xf3a/0x18b0
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888023a2b000
 which belongs to the cache kmalloc-192 of size 192
The buggy address is located 48 bytes to the right of
 allocated 192-byte region [ffff888023a2b000, ffff888023a2b0c0)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888023a2ba00 pfn:0x23a2b
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801a8413c0 ffffea00008e5310 ffffea00008e75d0
raw: ffff888023a2ba00 0000000000100009 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 13141858421, free_ts 9445329778
 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
 __kmalloc_cache_noprof+0x411/0x6f0
 call_usermodehelper_setup+0x8e/0x270
 kobject_uevent_env+0x65c/0x8c0
 device_add+0x557/0xb50
 usb_set_configuration+0x1a87/0x20e0
 usb_generic_driver_probe+0x8d/0x150
 usb_probe_device+0x1c4/0x390
 really_probe+0x26d/0x9e0
 __driver_probe_device+0x18c/0x2f0
page last free pid 51 tgid 51 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 vfree+0x25a/0x400
 delayed_vfree_work+0x55/0x80
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30

Memory state around the buggy address:
 ffff888023a2af80: 06 fc fc fc 07 fc fc fc 00 fc fc fc 07 fc fc fc
 ffff888023a2b000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888023a2b080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
                                                             ^
 ffff888023a2b100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888023a2b180: 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
