BUG: Bad rss-counter state mm:0000000027140e31 type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:0000000027140e31 type:MM_ANONPAGES val:22 BUG: Bad rss-counter state mm:00000000e08fbd14 type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:00000000e08fbd14 type:MM_ANONPAGES val:22 BUG: Bad rss-counter state mm:0000000076b8e54a type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:0000000076b8e54a type:MM_ANONPAGES val:22 general protection fault, probably for non-canonical address 0xe098fc2700000014: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x04c80138000000a0-0x04c80138000000a7] CPU: 0 PID: 242 Comm: sshd Tainted: G B 6.4.0-rc7-next-20230620 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__rb_insert_augmented+0x9d/0x8b0 Code: c2 48 c1 ea 03 42 80 3c 2a 00 0f 85 55 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 77 01 00 00 4d 85 f6 74 1c 4c 89 f2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 61 05 00 00 41 f6 06 01 0f 84 7a 04 00 00 48 RSP: 0018:ffff88800c67f948 EFLAGS: 00010217 RAX: ffff888019ac4b28 RBX: ffff88800e21f780 RCX: ffffffff844d49f9 RDX: 0099002700000014 RSI: 0000000000000008 RDI: ffff888019b72530 RBP: ffff888017c40000 R08: ffff888019b72530 R09: 0000000000000000 R10: 0000000000000004 R11: 00000000000b6a61 R12: ffff888019b72528 R13: dffffc0000000000 R14: 04c80138000000a4 R15: ffffffff816e6340 FS: 00007f1345a2b900(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d266c21c0 CR3: 000000000c5ae000 CR4: 0000000000350ef0 Call Trace: dup_mmap+0xc45/0x1770 copy_process+0x3e68/0x7320 kernel_clone+0xeb/0x7d0 __do_sys_clone+0xba/0x100 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f1345eea4bb Code: ed 0f 85 f8 00 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 41 89 c5 85 c0 0f 85 9e 00 00 RSP: 002b:00007fff40ddd170 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000000a476 RCX: 00007f1345eea4bb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f1345a2b900 R10: 00007f1345a2bbd0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000557d266cfec0 R14: 0000557d266e02e0 R15: 00007fff40ddd1f0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__rb_insert_augmented+0x9d/0x8b0 Code: c2 48 c1 ea 03 42 80 3c 2a 00 0f 85 55 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 77 01 00 00 4d 85 f6 74 1c 4c 89 f2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 61 05 00 00 41 f6 06 01 0f 84 7a 04 00 00 48 RSP: 0018:ffff88800c67f948 EFLAGS: 00010217 RAX: ffff888019ac4b28 RBX: ffff88800e21f780 RCX: ffffffff844d49f9 RDX: 0099002700000014 RSI: 0000000000000008 RDI: ffff888019b72530 RBP: ffff888017c40000 R08: ffff888019b72530 R09: 0000000000000000 R10: 0000000000000004 R11: 00000000000b6a61 R12: ffff888019b72528 R13: dffffc0000000000 R14: 04c80138000000a4 R15: ffffffff816e6340 FS: 00007f1345a2b900(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d266c21c0 CR3: 000000000c5ae000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 42 80 3c 2a 00 cmpb $0x0,(%rdx,%r13,1) 9: 0f 85 55 05 00 00 jne 0x564 f: 4d 8b 74 24 08 mov 0x8(%r12),%r14 14: 49 39 ee cmp %rbp,%r14 17: 0f 84 77 01 00 00 je 0x194 1d: 4d 85 f6 test %r14,%r14 20: 74 1c je 0x3e 22: 4c 89 f2 mov %r14,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 42 80 3c 2a 00 cmpb $0x0,(%rdx,%r13,1) <-- trapping instruction 2e: 0f 85 61 05 00 00 jne 0x595 34: 41 f6 06 01 testb $0x1,(%r14) 38: 0f 84 7a 04 00 00 je 0x4b8 3e: 48 rex.W