------------[ cut here ]------------ WARNING: CPU: 0 PID: 4167 at mm/damon/dbgfs.c:928 dbgfs_rm_context mm/damon/dbgfs.c:928 [inline] WARNING: CPU: 0 PID: 4167 at mm/damon/dbgfs.c:928 dbgfs_rm_context_write+0x40a/0x4d0 mm/damon/dbgfs.c:972 Modules linked in: CPU: 0 PID: 4167 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller-00078-g98555239e4c3-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:dbgfs_rm_context mm/damon/dbgfs.c:928 [inline] RIP: 0010:dbgfs_rm_context_write+0x40a/0x4d0 mm/damon/dbgfs.c:972 Code: 03 42 80 3c 30 00 0f 85 d6 00 00 00 48 8b 3b e8 4c 19 ff ff 48 8b 05 a5 83 52 0f 48 89 44 24 08 e9 40 ff ff ff e8 f6 c1 a7 ff <0f> 0b e9 d0 fe ff ff e8 ea c1 a7 ff 48 8b 3c 24 49 c7 c5 f4 ff ff RSP: 0018:ffffc900049bfcb0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880745d0000 RSI: ffffffff81d4da8a RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888144cb2000 FS: 00007f5b5b5ac700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000f000 CR3: 000000006f407000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: full_proxy_write+0x118/0x180 fs/debugfs/file.c:236 vfs_write+0x2d7/0xdd0 fs/read_write.c:582 ksys_write+0x127/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5b5a88b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5b5b5ac168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5b5a9abf80 RCX: 00007f5b5a88b5a9 RDX: 000000000000fe6c RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f5b5a8e67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe981eb0df R14: 00007f5b5b5ac300 R15: 0000000000022000