list_del corruption. prev->next should be ffff888079905048, but was ffff888024c6e5e8. (prev=ffff888024c71048) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8122 Comm: syz-executor.1 Not tainted 6.6.0-syzkaller-14263-gaea6bf908d73 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__list_del_entry_valid_or_report+0x11f/0x1b0 lib/list_debug.c:62 Code: 83 2e 8b e8 83 98 03 fd 0f 0b 48 89 ca 48 c7 c7 c0 83 2e 8b e8 72 98 03 fd 0f 0b 48 89 c2 48 c7 c7 20 84 2e 8b e8 61 98 03 fd <0f> 0b 48 89 d1 48 c7 c7 a0 84 2e 8b 48 89 c2 e8 4d 98 03 fd 0f 0b RSP: 0018:ffffc9000359fe08 EFLAGS: 00010086 RAX: 000000000000006d RBX: ffff888079904000 RCX: ffffffff816b6ea9 RDX: 0000000000000000 RSI: ffffffff816c0332 RDI: 0000000000000005 RBP: ffff888016f85140 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000001 R11: 00000000000091f8 R12: 0000000000000246 R13: ffff888079905048 R14: ffff888079905008 R15: ffff888079905050 FS: 0000555556dc8480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002013e000 CR3: 0000000019262000 CR4: 0000000000350ef0 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+0xc4/0x2b0 drivers/ptp/ptp_chardev.c:147 posix_clock_release+0xa4/0x160 kernel/time/posix-clock.c:157 __fput+0x270/0xbb0 fs/file_table.c:394 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1590 [inline] __se_sys_close fs/open.c:1575 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1575 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f868ae7b9da 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:00007ffc9faf4320 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f868ae7b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000032 R08: 0000001b30c60000 R09: 00007f868af9c12c R10: 00007ffc9faf4470 R11: 0000000000000293 R12: 00007f868aa09030 R13: ffffffffffffffff R14: 00007f868aa00000 R15: 0000000000264495 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x11f/0x1b0 lib/list_debug.c:62 Code: 83 2e 8b e8 83 98 03 fd 0f 0b 48 89 ca 48 c7 c7 c0 83 2e 8b e8 72 98 03 fd 0f 0b 48 89 c2 48 c7 c7 20 84 2e 8b e8 61 98 03 fd <0f> 0b 48 89 d1 48 c7 c7 a0 84 2e 8b 48 89 c2 e8 4d 98 03 fd 0f 0b RSP: 0018:ffffc9000359fe08 EFLAGS: 00010086 RAX: 000000000000006d RBX: ffff888079904000 RCX: ffffffff816b6ea9 RDX: 0000000000000000 RSI: ffffffff816c0332 RDI: 0000000000000005 RBP: ffff888016f85140 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000001 R11: 00000000000091f8 R12: 0000000000000246 R13: ffff888079905048 R14: ffff888079905008 R15: ffff888079905050 FS: 0000555556dc8480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002013e000 CR3: 0000000019262000 CR4: 0000000000350ef0