list_del corruption. prev->next should be ffff88801d1d9048, but was ffff88801f23d048. (prev=ffff8881433b5048) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 26461 Comm: syz-executor.3 Not tainted 6.6.0-syzkaller-05843-g89ed67ef126c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__list_del_entry_valid_or_report+0x10e/0x130 lib/list_debug.c:62 Code: e8 77 db 85 06 0f 0b 48 c7 c7 c0 5e 9d 8b 4c 89 fe e8 66 db 85 06 0f 0b 48 c7 c7 20 5f 9d 8b 4c 89 fe 48 89 d9 e8 52 db 85 06 <0f> 0b 48 c7 c7 a0 5f 9d 8b 4c 89 fe 4c 89 f1 e8 3e db 85 06 0f 0b RSP: 0018:ffffc9000a47fad0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff8881433b5048 RCX: 934541ac63331c00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff88801d1d9008 R08: ffffffff81717aac R09: 1ffff9200148fef8 R10: dffffc0000000000 R11: fffff5200148fef9 R12: dffffc0000000000 R13: ffff88801d1d8000 R14: ffff8880258b65e8 R15: ffff88801d1d9048 FS: 00007f82f36996c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82f29980c0 CR3: 00000000553d6000 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 ptp_read+0x17f/0x820 drivers/ptp/ptp_chardev.c:589 posix_clock_read+0x12f/0x190 kernel/time/posix-clock.c:51 vfs_read+0x289/0xb00 fs/read_write.c:468 ksys_read+0x1a0/0x2c0 fs/read_write.c:613 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:0x7f82f287cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82f36990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f82f299bf80 RCX: 00007f82f287cae9 RDX: 00000000000000b1 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f82f28c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f82f299bf80 R15: 00007ffea26ee938 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x10e/0x130 lib/list_debug.c:62 Code: e8 77 db 85 06 0f 0b 48 c7 c7 c0 5e 9d 8b 4c 89 fe e8 66 db 85 06 0f 0b 48 c7 c7 20 5f 9d 8b 4c 89 fe 48 89 d9 e8 52 db 85 06 <0f> 0b 48 c7 c7 a0 5f 9d 8b 4c 89 fe 4c 89 f1 e8 3e db 85 06 0f 0b RSP: 0018:ffffc9000a47fad0 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffff8881433b5048 RCX: 934541ac63331c00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffff88801d1d9008 R08: ffffffff81717aac R09: 1ffff9200148fef8 R10: dffffc0000000000 R11: fffff5200148fef9 R12: dffffc0000000000 R13: ffff88801d1d8000 R14: ffff8880258b65e8 R15: ffff88801d1d9048 FS: 00007f82f36996c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82f29980c0 CR3: 00000000553d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400