------------[ cut here ]------------
kernel BUG at mm/swap_cgroup.c:78!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 3678 Comm: syz.1.6347 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:swap_cgroup_record+0x19c/0x1c0
Code: 02 e9 6d ff ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 35 ff ff ff 4c 89 f7 e8 cf 77 f6 ff e9 28 ff ff ff e8 75 1a 8f ff 90 <0f> 0b e8 6d 1a 8f ff 4c 89 f7 48 c7 c6 00 f5 98 8b e8 5e a6 f4 fe
RSP: 0018:ffffc90004c4e6e0 EFLAGS: 00010093
RAX: ffffffff8233620b RBX: 0000000000004d2b RCX: ffff88816e388000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000989ccc R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc90021529000 R15: 0000000000000002
FS:  00007f80e39eb6c0(0000) GS:ffff88818e409000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80e39eaff8 CR3: 000000010b53c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 memcg1_swapout+0x2ee/0x820
 __remove_mapping+0xac5/0xe30
 shrink_folio_list+0x314f/0x53f0
 reclaim_folio_list+0x100/0x4f0
 reclaim_pages+0x45b/0x530
 madvise_cold_or_pageout_pte_range+0x19b9/0x1d00
 walk_pgd_range+0x1032/0x1d30
 __walk_page_range+0x14c/0x710
 walk_page_range_vma_unsafe+0x309/0x410
 madvise_vma_behavior+0x2946/0x4680
 madvise_walk_vmas+0x57a/0xaf0
 madvise_do_behavior+0x386/0x540
 do_madvise+0x1fa/0x2e0
 __x64_sys_madvise+0xa6/0xc0
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f80e2b9acb9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f80e39eb028 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007f80e2e16090 RCX: 00007f80e2b9acb9
RDX: 0000000000000015 RSI: 0000000000800000 RDI: 0000200000000000
RBP: 00007f80e2c08bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f80e2e16128 R14: 00007f80e2e16090 R15: 00007fff43d81de8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:swap_cgroup_record+0x19c/0x1c0
Code: 02 e9 6d ff ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 35 ff ff ff 4c 89 f7 e8 cf 77 f6 ff e9 28 ff ff ff e8 75 1a 8f ff 90 <0f> 0b e8 6d 1a 8f ff 4c 89 f7 48 c7 c6 00 f5 98 8b e8 5e a6 f4 fe
RSP: 0018:ffffc90004c4e6e0 EFLAGS: 00010093
RAX: ffffffff8233620b RBX: 0000000000004d2b RCX: ffff88816e388000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000989ccc R12: dffffc0000000000
R13: 0000000000000000 R14: ffffc90021529000 R15: 0000000000000002
FS:  00007f80e39eb6c0(0000) GS:ffff88818e409000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80e39eaff8 CR3: 000000010b53c000 CR4: 00000000000006f0
