general protection fault, probably for non-canonical address 0xdffffc00000000cd: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000668-0x000000000000066f]
CPU: 0 PID: 3622 Comm: syz-executor.5 Not tainted 5.18.0-rc2-next-20220414-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ip6_rcv_core+0x12e8/0x1dd0 net/ipv6/ip6_input.c:169
Code: c1 ea 03 80 3c 02 00 0f 85 39 09 00 00 4c 89 f2 49 8b 85 b0 02 00 00 48 c1 ea 03 65 48 ff 40 68 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f6
RSP: 0018:ffffc90000007c38 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: 00000000000000cd RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff888018d24140 R08: 0000000000000001 R09: ffff888018d2421f
R10: ffffffff87fd936e R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807c908000 R14: 000000000000066c R15: 0000000000000001
FS: 0000555556689400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9671b9d090 CR3: 0000000026262000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ipv6_rcv+0x75/0x3b0 net/ipv6/ip6_input.c:303
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522
process_backlog+0x3a0/0x7c0 net/core/dev.c:5850
__napi_poll+0xb3/0x6e0 net/core/dev.c:6416
napi_poll net/core/dev.c:6483 [inline]
net_rx_action+0x8ec/0xc60 net/core/dev.c:6570
__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:649
RIP: 0010:lock_is_held_type+0xff/0x140 kernel/locking/lockdep.c:5713
Code: 00 00 b8 ff ff ff ff 65 0f c1 05 a4 02 9f 76 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48
RSP: 0018:ffffc90003c7fc28 EFLAGS: 00000286
RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8bd83c60 R08: 0000000000000000 R09: ffff88801c178007
R10: ffffffff896657f4 R11: 0000000000000001 R12: ffff88801c178000
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801c178000
lock_is_held include/linux/lockdep.h:279 [inline]
__might_resched+0x3a/0x2c0 kernel/sched/core.c:9747
try_to_freeze_unsafe include/linux/freezer.h:57 [inline]
try_to_freeze include/linux/freezer.h:67 [inline]
freezer_count include/linux/freezer.h:128 [inline]
freezable_schedule include/linux/freezer.h:173 [inline]
do_nanosleep+0x2e3/0x690 kernel/time/hrtimer.c:2044
hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:2097
common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline]
__x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245
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:0x7f9671aade11
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007ffde959b680 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00000000000001a3 RCX: 00007f9671aade11
RDX: 00007ffde959b6c0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffde959b74c R08: 0000000000000000 R09: 00007ffde95d9080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 0000000000067856 R14: 0000000000000002 R15: 00007ffde959b7b0
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ip6_rcv_core+0x12e8/0x1dd0 net/ipv6/ip6_input.c:169
Code: c1 ea 03 80 3c 02 00 0f 85 39 09 00 00 4c 89 f2 49 8b 85 b0 02 00 00 48 c1 ea 03 65 48 ff 40 68 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f6
RSP: 0018:ffffc90000007c38 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: 00000000000000cd RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff888018d24140 R08: 0000000000000001 R09: ffff888018d2421f
R10: ffffffff87fd936e R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807c908000 R14: 000000000000066c R15: 0000000000000001
FS: 0000555556689400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9671b9d090 CR3: 0000000026262000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: c1 ea 03 shr $0x3,%edx
3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
7: 0f 85 39 09 00 00 jne 0x946
d: 4c 89 f2 mov %r14,%rdx
10: 49 8b 85 b0 02 00 00 mov 0x2b0(%r13),%rax
17: 48 c1 ea 03 shr $0x3,%rdx
1b: 65 48 ff 40 68 incq %gs:0x68(%rax)
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction
2e: 4c 89 f0 mov %r14,%rax
31: 83 e0 07 and $0x7,%eax
34: 83 c0 03 add $0x3,%eax
37: 38 d0 cmp %dl,%al
39: 7c 08 jl 0x43
3b: 84 d2 test %dl,%dl
3d: 0f .byte 0xf
3e: 85 f6 test %esi,%esi