BUG: Bad rss-counter state mm:00000000267b2703 type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:00000000267b2703 type:MM_ANONPAGES val:22 BUG: Bad rss-counter state mm:00000000038dacc0 type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:00000000038dacc0 type:MM_ANONPAGES val:22 BUG: Bad rss-counter state mm:00000000603150cd type:MM_FILEPAGES val:33 BUG: Bad rss-counter state mm:00000000603150cd type:MM_ANONPAGES val:22 general protection fault, probably for non-canonical address 0xe0bc5c206000000a: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x05e3010300000050-0x05e3010300000057] CPU: 1 PID: 244 Comm: sshd Tainted: G B 6.4.0-rc7-next-20230619 #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:ffff888015e3f948 EFLAGS: 00010217 RAX: ffff8880191dc140 RBX: ffff88800dee4950 RCX: ffffffff844ce9f9 RDX: 00bc60206000000a RSI: 0000000000000008 RDI: ffff8880169a0008 RBP: ffff888015eb2500 R08: ffff8880169a0008 R09: 0000000000000000 R10: 0000000000000003 R11: 00000000000b6996 R12: ffff8880169a0000 R13: dffffc0000000000 R14: 05e3010300000057 R15: ffffffff816e61c0 FS: 00007fd6366ad900(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055750c5261c0 CR3: 000000000fd22000 CR4: 0000000000350ee0 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:0x7fd636b6c4bb 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:00007ffe3b235180 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000000b6ea RCX: 00007fd636b6c4bb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fd6366ad900 R10: 00007fd6366adbd0 R11: 0000000000000246 R12: 0000000000000000 R13: 000055750c533ec0 R14: 000055750c5442e0 R15: 00007ffe3b235200 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:ffff888015e3f948 EFLAGS: 00010217 RAX: ffff8880191dc140 RBX: ffff88800dee4950 RCX: ffffffff844ce9f9 RDX: 00bc60206000000a RSI: 0000000000000008 RDI: ffff8880169a0008 RBP: ffff888015eb2500 R08: ffff8880169a0008 R09: 0000000000000000 R10: 0000000000000003 R11: 00000000000b6996 R12: ffff8880169a0000 R13: dffffc0000000000 R14: 05e3010300000057 R15: ffffffff816e61c0 FS: 00007fd6366ad900(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055750c5261c0 CR3: 000000000fd22000 CR4: 0000000000350ee0 general protection fault, probably for non-canonical address 0xe0953c28e000000a: 0000 [#2] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x04aa014700000050-0x04aa014700000057] CPU: 1 PID: 204 Comm: sshd Tainted: G B D 6.4.0-rc7-next-20230619 #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:ffff88800fd57948 EFLAGS: 00010217 RAX: ffff88801933c140 RBX: ffff88800d5a12f8 RCX: ffffffff844ce9f9 RDX: 00954028e000000a RSI: 0000000000000008 RDI: ffff888015eb2508 RBP: ffff88800dee4950 R08: ffff888015eb2508 R09: 0000000000000003 R10: 000000000000000d R11: 00000000000b6996 R12: ffff888015eb2500 R13: dffffc0000000000 R14: 04aa014700000057 R15: ffffffff816e61c0 FS: 00007f2f2896d900(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055750c5261c0 CR3: 000000000c420000 CR4: 0000000000350ee0 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:0x7f2f28e2c4bb 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:00007ffe022e3c10 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2f28e2c4bb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f2f2896d900 R10: 00007f2f2896dbd0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000005 R15: 0000000000000000 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:ffff888015e3f948 EFLAGS: 00010217 RAX: ffff8880191dc140 RBX: ffff88800dee4950 RCX: ffffffff844ce9f9 RDX: 00bc60206000000a RSI: 0000000000000008 RDI: ffff8880169a0008 RBP: ffff888015eb2500 R08: ffff8880169a0008 R09: 0000000000000000 R10: 0000000000000003 R11: 00000000000b6996 R12: ffff8880169a0000 R13: dffffc0000000000 R14: 05e3010300000057 R15: ffffffff816e61c0 FS: 00007f2f2896d900(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055750c5261c0 CR3: 000000000c420000 CR4: 0000000000350ee0 ---------------- 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