BUG: Bad rss-counter state mm:00000000d901bd9c type:MM_FILEPAGES val:33
BUG: Bad rss-counter state mm:00000000d901bd9c type:MM_ANONPAGES val:22
BUG: Bad rss-counter state mm:00000000844e9feb type:MM_FILEPAGES val:33
BUG: Bad rss-counter state mm:00000000844e9feb type:MM_ANONPAGES val:22
BUG: Bad rss-counter state mm:00000000a0f09196 type:MM_FILEPAGES val:33
BUG: Bad rss-counter state mm:00000000a0f09196 type:MM_ANONPAGES val:22
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 247 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_erase_color+0x23b/0xe80
Code: ff 48 89 ef 48 89 14 24 e8 12 e2 33 fd 48 8b 14 24 e9 e6 fe ff ff 4c 89 f1 4c 89 75 08 48 8d 45 01 48 c1 e9 03 49 89 6c 24 10 <80> 3c 19 00 0f 85 21 08 00 00 49 89 06 48 89 e8 48 c1 e8 03 80 3c
RSP: 0018:ffff888018107af8 EFLAGS: 00010256
RAX: ffff8880183e4699 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffffff816e6340 RSI: 0000000000000008 RDI: ffff88800e6b44d8
RBP: ffff8880183e4698 R08: ffff8880183e46a0 R09: 000042e7788f0447
R10: 000042e7788f0447 R11: 00000000000b6a61 R12: ffff88800e6b44c8
R13: ffffed10032491f7 R14: 0000000000000000 R15: ffff888019248fb8
FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbf1bbde180 CR3: 0000000015cf4000 CR4: 0000000000350ee0
Call Trace:
vma_interval_tree_remove+0x698/0xec0
unlink_file_vma+0xc7/0x120
free_pgtables+0x31c/0x820
exit_mmap+0x2b4/0x940
mmput+0xd5/0x390
do_exit+0x99f/0x2780
do_group_exit+0xd4/0x2a0
__x64_sys_exit_group+0x3e/0x50
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7fbf1c0a4699
Code: Unable to access opcode bytes at 0x7fbf1c0a466f.
RSP: 002b:00007ffded278398 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fbf1c199610 RCX: 00007fbf1c0a4699
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: fffffffffffffdf8 R09: 0000000000000000
R10: 00007fbf1bc636f9 R11: 0000000000000246 R12: 00007fbf1c199610
R13: 0000000000000003 R14: 00007fbf1c199ae8 R15: 0000000000000000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__rb_erase_color+0x23b/0xe80
Code: ff 48 89 ef 48 89 14 24 e8 12 e2 33 fd 48 8b 14 24 e9 e6 fe ff ff 4c 89 f1 4c 89 75 08 48 8d 45 01 48 c1 e9 03 49 89 6c 24 10 <80> 3c 19 00 0f 85 21 08 00 00 49 89 06 48 89 e8 48 c1 e8 03 80 3c
RSP: 0018:ffff888018107af8 EFLAGS: 00010256
RAX: ffff8880183e4699 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffffff816e6340 RSI: 0000000000000008 RDI: ffff88800e6b44d8
RBP: ffff8880183e4698 R08: ffff8880183e46a0 R09: 000042e7788f0447
R10: 000042e7788f0447 R11: 00000000000b6a61 R12: ffff88800e6b44c8
R13: ffffed10032491f7 R14: 0000000000000000 R15: ffff888019248fb8
FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbf1bbde180 CR3: 0000000015cf4000 CR4: 0000000000350ee0
Fixing recursive fault but reboot is needed!
BUG: scheduling while atomic: sshd/247/0x00000000
INFO: lockdep is turned off.
Modules linked in:
CPU: 1 PID: 247 Comm: sshd Tainted: G B D 6.4.0-rc7-next-20230620 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xc1/0xf0
__schedule_bug+0xb9/0x100
__schedule+0x1d51/0x2b00
do_task_dead+0xd5/0x100
make_task_dead+0x36e/0x3b0
rewind_stack_and_make_dead+0x17/0x20
RIP: 0033:0x7fbf1c0a4699
Code: Unable to access opcode bytes at 0x7fbf1c0a466f.
RSP: 002b:00007ffded278398 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fbf1c199610 RCX: 00007fbf1c0a4699
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: fffffffffffffdf8 R09: 0000000000000000
R10: 00007fbf1bc636f9 R11: 0000000000000246 R12: 00007fbf1c199610
R13: 0000000000000003 R14: 00007fbf1c199ae8 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: ff 48 89 decl -0x77(%rax)
3: ef out %eax,(%dx)
4: 48 89 14 24 mov %rdx,(%rsp)
8: e8 12 e2 33 fd callq 0xfd33e21f
d: 48 8b 14 24 mov (%rsp),%rdx
11: e9 e6 fe ff ff jmpq 0xfffffefc
16: 4c 89 f1 mov %r14,%rcx
19: 4c 89 75 08 mov %r14,0x8(%rbp)
1d: 48 8d 45 01 lea 0x1(%rbp),%rax
21: 48 c1 e9 03 shr $0x3,%rcx
25: 49 89 6c 24 10 mov %rbp,0x10(%r12)
* 2a: 80 3c 19 00 cmpb $0x0,(%rcx,%rbx,1) <-- trapping instruction
2e: 0f 85 21 08 00 00 jne 0x855
34: 49 89 06 mov %rax,(%r14)
37: 48 89 e8 mov %rbp,%rax
3a: 48 c1 e8 03 shr $0x3,%rax
3e: 80 .byte 0x80
3f: 3c .byte 0x3c