general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 12004 Comm: syz-executor.3 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:inet_ehash_lockp include/net/inet_hashtables.h:189 [inline]
RIP: 0010:inet_twsk_kill+0x9a/0x3c0 net/ipv4/inet_timewait_sock.c:47
Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e b2 02 00 00 49 8d 7c 24 08 8b 5d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 cd 02 00 00 49 8d 7c 24 14 4d 8b 74 24 08 48 b8
RSP: 0018:ffffc90000007cf8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 00000000310f3bc6 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff87b22ffa RDI: 0000000000000008
RBP: ffff88804cfd8000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81674437 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88804cfd8060 R14: ffffffff87b233a0 R15: 0000000000000000
FS: 0000555556d9a400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5863245f64 CR3: 0000000049d89000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5607
Code: 33 a5 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90002b8f8e8 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000571f1f RCX: 00000000000012f7
RDX: 1ffff11009d2f4eb RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8ffd0a17
R10: fffffbfff1ffa142 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88807e437790 R15: 0000000000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
browse_rb mm/mmap.c:357 [inline]
validate_mm+0x438/0x800 mm/mmap.c:424
__vma_adjust+0x1097/0x24a0 mm/mmap.c:1022
vma_merge+0x3e5/0xd20 mm/mmap.c:1237
mmap_region+0x440/0x1630 mm/mmap.c:1763
do_mmap+0x869/0xfb0 mm/mmap.c:1582
vm_mmap_pgoff+0x1b7/0x290 mm/util.c:519
ksys_mmap_pgoff+0x79/0x5a0 mm/mmap.c:1630
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+0x44/0xae
RIP: 0033:0x7f58631330a2
Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 b8 ff ff ff 64
RSP: 002b:00007ffd488dcfa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 00007f58631330a2
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffd488dd1b0
R13: 00007f58622a9700 R14: 0000000000000000 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:inet_ehash_lockp include/net/inet_hashtables.h:189 [inline]
RIP: 0010:inet_twsk_kill+0x9a/0x3c0 net/ipv4/inet_timewait_sock.c:47
Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e b2 02 00 00 49 8d 7c 24 08 8b 5d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 cd 02 00 00 49 8d 7c 24 14 4d 8b 74 24 08 48 b8
RSP: 0018:ffffc90000007cf8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 00000000310f3bc6 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff87b22ffa RDI: 0000000000000008
RBP: ffff88804cfd8000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81674437 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88804cfd8060 R14: ffffffff87b233a0 R15: 0000000000000000
FS: 0000555556d9a400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5863245f64 CR3: 0000000049d89000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 03 0f add (%rdi),%ecx
2: b6 04 mov $0x4,%dh
4: 02 84 c0 74 08 3c 03 add 0x33c0874(%rax,%rax,8),%al
b: 0f 8e b2 02 00 00 jle 0x2c3
11: 49 8d 7c 24 08 lea 0x8(%r12),%rdi
16: 8b 5d 08 mov 0x8(%rbp),%ebx
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 cd 02 00 00 jne 0x301
34: 49 8d 7c 24 14 lea 0x14(%r12),%rdi
39: 4d 8b 74 24 08 mov 0x8(%r12),%r14
3e: 48 rex.W
3f: b8 .byte 0xb8