audit: type=1804 audit(1642409776.418:33143): pid=5291 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir633967317/syzkaller.Oe3fTF/1699/bus" dev="sda1" ino=14839 res=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5201 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rb_first+0x3e/0x80 lib/rbtree.c:509
Code: ec 08 80 3c 02 00 75 46 48 bb 00 00 00 00 00 fc ff df 48 8b 07 48 85 c0 75 05 eb 1d 48 89 d0 48 8d 78 10 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 75 0f 48 8b 50 10 48 85 d2 75 e3 48 83 c4 08 5b c3 48
RSP: 0018:ffff8880ba007ce0 EFLAGS: 00010207
RAX: 0000000077777777 RBX: dffffc0000000000 RCX: ffffffff814bdebb
RDX: 000000000eeeeef0 RSI: 0000000000000004 RDI: 0000000077777787
RBP: 0000000000000100 R08: 0000000000000001 R09: ffffed10040107b4
R10: ffff888020083da3 R11: 0000000000000000 R12: ffff888020083d00
R13: ffff888020083da0 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fd36b82d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc015c201b8 CR3: 0000000009e6d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
mrp_mad_event net/802/mrp.c:586 [inline]
mrp_join_timer+0x2f/0xc0 net/802/mrp.c:607
call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
__run_timers kernel/time/timer.c:1696 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:PageSwapBacked include/linux/page-flags.h:295 [inline]
RIP: 0010:PageSwapCache include/linux/page-flags.h:340 [inline]
RIP: 0010:free_swap_cache mm/swap_state.c:291 [inline]
RIP: 0010:free_pages_and_swap_cache+0x4d/0x3a0 mm/swap_state.c:319
Code: 31 ff 44 89 fe e8 93 98 d0 ff 45 85 ff 0f 8e c1 02 00 00 48 bb 00 00 00 00 00 fc ff df 45 31 f6 e9 e5 01 00 00 e8 03 97 d0 ff <48> 8d 7d 08 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 f2 02 00 00 48
RSP: 0018:ffff8880727bf718 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff88800ffd0380 RBX: dffffc0000000000 RCX: ffffffff8191f09d
RDX: 0000000000000000 RSI: ffffffff8191ee6d RDI: 0000000000000007
RBP: ffffea00025a2a40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea00025a2a40
R13: ffff88802e9453a0 R14: 0000000000000072 R15: 00000000000001fe
tlb_flush_mmu_free mm/memory.c:261 [inline]
zap_pte_range mm/memory.c:1417 [inline]
zap_pmd_range mm/memory.c:1463 [inline]
zap_pud_range mm/memory.c:1492 [inline]
zap_p4d_range mm/memory.c:1513 [inline]
unmap_page_range+0x221f/0x2c50 mm/memory.c:1534
unmap_single_vma+0x198/0x300 mm/memory.c:1579
unmap_vmas+0xa9/0x180 mm/memory.c:1609
exit_mmap+0x2b9/0x530 mm/mmap.c:3093
__mmput kernel/fork.c:1016 [inline]
mmput+0x14e/0x4a0 kernel/fork.c:1037
exit_mm kernel/exit.c:549 [inline]
do_exit+0xaec/0x2be0 kernel/exit.c:857
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd36ceb7fe9
Code: Bad RIP value.
RSP: 002b:00007fd36b82d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: 00000000000001b7 RBX: 00007fd36cfcaf60 RCX: 00007fd36ceb7fe9
RDX: 00000000000001b7 RSI: 0000000020001040 RDI: 0000000000000014
RBP: 00007fd36cf1208d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff2e2a9b1f R14: 00007fd36b82d300 R15: 0000000000022000
Modules linked in:
---[ end trace 056ee4b2dcc38067 ]---
RIP: 0010:rb_first+0x3e/0x80 lib/rbtree.c:509
Code: ec 08 80 3c 02 00 75 46 48 bb 00 00 00 00 00 fc ff df 48 8b 07 48 85 c0 75 05 eb 1d 48 89 d0 48 8d 78 10 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 75 0f 48 8b 50 10 48 85 d2 75 e3 48 83 c4 08 5b c3 48
RSP: 0018:ffff8880ba007ce0 EFLAGS: 00010207
RAX: 0000000077777777 RBX: dffffc0000000000 RCX: ffffffff814bdebb
RDX: 000000000eeeeef0 RSI: 0000000000000004 RDI: 0000000077777787
RBP: 0000000000000100 R08: 0000000000000001 R09: ffffed10040107b4
R10: ffff888020083da3 R11: 0000000000000000 R12: ffff888020083d00
R13: ffff888020083da0 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fd36b82d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd36ceb7fbf CR3: 0000000009e6d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: ec in (%dx),%al
1: 08 80 3c 02 00 75 or %al,0x7500023c(%rax)
7: 46 rex.RX
8: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx
f: fc ff df
12: 48 8b 07 mov (%rdi),%rax
15: 48 85 c0 test %rax,%rax
18: 75 05 jne 0x1f
1a: eb 1d jmp 0x39
1c: 48 89 d0 mov %rdx,%rax
1f: 48 8d 78 10 lea 0x10(%rax),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) <-- trapping instruction
2e: 75 0f jne 0x3f
30: 48 8b 50 10 mov 0x10(%rax),%rdx
34: 48 85 d2 test %rdx,%rdx
37: 75 e3 jne 0x1c
39: 48 83 c4 08 add $0x8,%rsp
3d: 5b pop %rbx
3e: c3 retq
3f: 48 rex.W