list_del corruption, ffff888020f2c180->next is NULL ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:52! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 13525 Comm: GC for TOMOYO Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__list_del_entry_valid_or_report+0xea/0x1c0 lib/list_debug.c:52 Code: 0f 85 ae 00 00 00 48 8b 42 08 48 39 c6 75 5f b8 01 00 00 00 48 83 c4 18 c3 cc cc cc cc 48 c7 c7 20 6f b1 8b e8 d7 17 db fc 90 <0f> 0b 48 c7 c7 80 6f b1 8b e8 c8 17 db fc 90 0f 0b 48 c7 c7 e0 6f RSP: 0018:ffffc90003a87e00 EFLAGS: 00010282 RAX: 0000000000000033 RBX: ffff888020f2c180 RCX: ffffffff8178e1e9 RDX: 0000000000000000 RSI: ffffffff81798976 RDI: 0000000000000005 RBP: ffff888020f2c180 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888020f2c190 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3171eff8 CR3: 0000000079380000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] tomoyo_try_to_gc+0x21/0xcd0 security/tomoyo/gc.c:395 tomoyo_collect_entry security/tomoyo/gc.c:599 [inline] tomoyo_gc_thread security/tomoyo/gc.c:619 [inline] tomoyo_gc_thread+0xd3b/0x1390 security/tomoyo/gc.c:612 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0xea/0x1c0 lib/list_debug.c:52 Code: 0f 85 ae 00 00 00 48 8b 42 08 48 39 c6 75 5f b8 01 00 00 00 48 83 c4 18 c3 cc cc cc cc 48 c7 c7 20 6f b1 8b e8 d7 17 db fc 90 <0f> 0b 48 c7 c7 80 6f b1 8b e8 c8 17 db fc 90 0f 0b 48 c7 c7 e0 6f RSP: 0018:ffffc90003a87e00 EFLAGS: 00010282 RAX: 0000000000000033 RBX: ffff888020f2c180 RCX: ffffffff8178e1e9 RDX: 0000000000000000 RSI: ffffffff81798976 RDI: 0000000000000005 RBP: ffff888020f2c180 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888020f2c190 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc00548178 CR3: 0000000079aa8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400