RBP: 00007f2dae768090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f2dadbb5fa0 R15: 00007ffe925c2458 CFI failure at __traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 (target: tp_stub_func+0x0/0x10; expected type: 0xee1f7a69) invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1219 Comm: syz.0.7787 Not tainted 6.1.141-syzkaller-00039-g145c7fad733f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 04 57 69 00 49 8b 7d 08 44 89 e6 48 8b 55 c8 48 8b 4d c0 44 8b 45 d4 41 ba 97 85 e0 11 45 03 57 fc 74 02 <0f> 0b 41 ff d7 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 RSP: 0018:ffffc9000acb7650 EFLAGS: 00010096 RAX: 1ffff11026429d0c RBX: ffff88813214e858 RCX: ffff88811b888000 RDX: ffff888115fc9440 RSI: 0000000000000001 RDI: ffffc9000acab000 RBP: ffffc9000acb7690 R08: 0000000000000000 R09: 0000000000000003 R10: 00000000b720eca3 R11: 1ffff92001596e84 R12: 0000000000000001 R13: ffff88813214e858 R14: dffffc0000000000 R15: ffffffff817113c0 FS: 00007f2dae7686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001600 CR3: 0000000131705000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x1263/0x14e0 kernel/sched/core.c:6747 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:6919 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6943 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x6f/0x80 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:141 [inline] __wake_up_sync_key+0x166/0x280 kernel/sched/wait.c:212 unix_write_space+0x130/0x230 net/unix/af_unix.c:529 sock_wfree+0x1d1/0x500 net/core/sock.c:2453 unix_destruct_scm+0x142/0x180 net/unix/af_unix.c:1789 skb_release_head_state+0x10e/0x250 net/core/skbuff.c:846 skb_release_all net/core/skbuff.c:857 [inline] __kfree_skb net/core/skbuff.c:873 [inline] kfree_skb_reason+0xa4/0x230 net/core/skbuff.c:896 kfree_skb include/linux/skbuff.h:1239 [inline] unix_release_sock+0xa51/0xd90 net/unix/af_unix.c:640 unix_release+0x9d/0xd0 net/unix/af_unix.c:1026 __sock_release net/socket.c:652 [inline] sock_close+0xf1/0x290 net/socket.c:1390 __fput+0x1fc/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1db/0x240 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2dad98e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2dae768038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f2dadbb5fa0 RCX: 00007f2dad98e9a9 RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000000000004 RBP: 00007f2dae768090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f2dadbb5fa0 R15: 00007ffe925c2458 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 04 57 69 00 49 8b 7d 08 44 89 e6 48 8b 55 c8 48 8b 4d c0 44 8b 45 d4 41 ba 97 85 e0 11 45 03 57 fc 74 02 <0f> 0b 41 ff d7 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 RSP: 0018:ffffc9000acb7650 EFLAGS: 00010096 RAX: 1ffff11026429d0c RBX: ffff88813214e858 RCX: ffff88811b888000 RDX: ffff888115fc9440 RSI: 0000000000000001 RDI: ffffc9000acab000 RBP: ffffc9000acb7690 R08: 0000000000000000 R09: 0000000000000003 R10: 00000000b720eca3 R11: 1ffff92001596e84 R12: 0000000000000001 R13: ffff88813214e858 R14: dffffc0000000000 R15: ffffffff817113c0 FS: 00007f2dae7686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001600 CR3: 0000000131705000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400