list_del corruption. next->prev should be ffff8880729b9048, but was ffff88805a0c5048. (next=ffff8880253a05e8) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:67! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 18886 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-14500-g1c41041124bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__list_del_entry_valid_or_report+0x122/0x130 lib/list_debug.c:65 Code: 8a 06 0f 0b 48 c7 c7 60 65 bd 8b 4c 89 fe 48 89 d9 e8 82 92 8a 06 0f 0b 48 c7 c7 e0 65 bd 8b 4c 89 fe 4c 89 f1 e8 6e 92 8a 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 80 3d 89 a4 RSP: 0018:ffffc90009b57db0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff8880253a05f0 RCX: b3d6ffb5ed4a5f00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff8880729b9008 R08: ffffffff8171771c R09: 1ffff11017305172 R10: dffffc0000000000 R11: ffffed1017305173 R12: dffffc0000000000 R13: ffff8880729b8000 R14: ffff8880253a05e8 R15: ffff8880729b9048 FS: 000055555620d480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed21d07f78 CR3: 00000000167ca000 CR4: 00000000003506f0 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] list_del include/linux/list.h:229 [inline] ptp_release+0xa8/0x1e0 drivers/ptp/ptp_chardev.c:147 posix_clock_release+0x8c/0x100 kernel/time/posix-clock.c:157 __fput+0x3cc/0xa10 fs/file_table.c:394 __do_sys_close fs/open.c:1590 [inline] __se_sys_close+0x15f/0x220 fs/open.c:1575 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fed2107b9da Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffcbb7b8f50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fed2107b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fed2119d980 R08: 0000001b31760000 R09: 00007ffcbb7f90b0 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000a5666 R13: ffffffffffffffff R14: 00007fed20c00000 R15: 00000000000a5325 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x122/0x130 lib/list_debug.c:65 Code: 8a 06 0f 0b 48 c7 c7 60 65 bd 8b 4c 89 fe 48 89 d9 e8 82 92 8a 06 0f 0b 48 c7 c7 e0 65 bd 8b 4c 89 fe 4c 89 f1 e8 6e 92 8a 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 80 3d 89 a4 RSP: 0018:ffffc90009b57db0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff8880253a05f0 RCX: b3d6ffb5ed4a5f00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff8880729b9008 R08: ffffffff8171771c R09: 1ffff11017305172 R10: dffffc0000000000 R11: ffffed1017305173 R12: dffffc0000000000 R13: ffff8880729b8000 R14: ffff8880253a05e8 R15: ffff8880729b9048 FS: 000055555620d480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed21d07f78 CR3: 00000000167ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400