syzbot


BUG: unable to handle kernel paging request in sysvec_apic_timer_interrupt

Status: auto-closed as invalid on 2021/12/12 16:26
Reported-by: syzbot+958bd1d4008d381ff1df@syzkaller.appspotmail.com
First crash: 549d, last: 443d

Sample crash report:
------------[ cut here ]------------
BUG: unable to handle page fault for address: ffffc90000007ff8
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 10c00067 P4D 10c00067 PUD 10dbb067 PMD 10dbc067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 23563 Comm: syz-executor.0 Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sysvec_apic_timer_interrupt+0x7b/0xc0 arch/x86/kernel/apic/apic.c:1097
Code: 00 00 48 c7 c7 00 81 88 89 e8 f1 18 00 00 48 c7 c7 00 89 88 89 65 c6 05 f6 59 cd 76 01 e8 dd 18 00 00 65 4c 8b 1d ed 59 cd 76 <49> 89 23 4c 89 dc e8 aa ce 11 f8 48 89 ef e8 02 d1 fc f7 e8 8d cf
RSP: 0018:ffffc9000181ee90 EFLAGS: 00010002
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000adba000
RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000181eea8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff817c3c8c R11: ffffc90000007ff8 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f3afd37e700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000007ff8 CR3: 000000007be9f000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 99 de 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc9000181ef58 EFLAGS: 00000216
RAX: 0000000000007fb3 RBX: 0000000000000000 RCX: ffffc9000adba000
RDX: 0000000000040000 RSI: ffffffff815d870c RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fcfd8e7
R10: ffffffff815d8702 R11: 0000000000000000 R12: ffffffff84c8dd80
R13: 0000000000000200 R14: ffffc9000181efb8 R15: dffffc0000000000
 console_unlock+0x6c2/0xb70 kernel/printk/printk.c:2715
 vprintk_emit+0x198/0x4f0 kernel/printk/printk.c:2244
 vprintk+0x80/0x90 kernel/printk/printk_safe.c:50
 _printk+0xba/0xed kernel/printk/printk.c:2265
 __warn_printk+0x9b/0xf3 kernel/panic.c:642
 __vunmap+0x150/0xb70 mm/vmalloc.c:2589
 __vfree+0x3c/0xd0 mm/vmalloc.c:2657
 vfree+0x5a/0x90 mm/vmalloc.c:2688
 ipcomp_free_scratches+0xc4/0x160 net/xfrm/xfrm_ipcomp.c:203
 ipcomp_free_data net/xfrm/xfrm_ipcomp.c:312 [inline]
 ipcomp_init_state+0x77c/0xa40 net/xfrm/xfrm_ipcomp.c:364
 ipcomp6_init_state+0xc2/0x700 net/ipv6/ipcomp6.c:154
 __xfrm_init_state+0x995/0x15c0 net/xfrm/xfrm_state.c:2648
 xfrm_state_construct net/xfrm/xfrm_user.c:627 [inline]
 xfrm_add_sa+0x1ef1/0x35f0 net/xfrm/xfrm_user.c:684
 xfrm_user_rcv_msg+0x430/0xa20 net/xfrm/xfrm_user.c:2869
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2891
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492
 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:0x4665f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3afd37e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fffca50354f R14: 00007f3afd37e300 R15: 0000000000022000
Modules linked in:
CR2: ffffc90000007ff8
---[ end trace 794beacc9e777641 ]---
RIP: 0010:sysvec_apic_timer_interrupt+0x7b/0xc0 arch/x86/kernel/apic/apic.c:1097
Code: 00 00 48 c7 c7 00 81 88 89 e8 f1 18 00 00 48 c7 c7 00 89 88 89 65 c6 05 f6 59 cd 76 01 e8 dd 18 00 00 65 4c 8b 1d ed 59 cd 76 <49> 89 23 4c 89 dc e8 aa ce 11 f8 48 89 ef e8 02 d1 fc f7 e8 8d cf
RSP: 0018:ffffc9000181ee90 EFLAGS: 00010002
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000adba000
RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000181eea8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff817c3c8c R11: ffffc90000007ff8 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f3afd37e700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000007ff8 CR3: 000000007be9f000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	48 c7 c7 00 81 88 89 	mov    $0xffffffff89888100,%rdi
   9:	e8 f1 18 00 00       	callq  0x18ff
   e:	48 c7 c7 00 89 88 89 	mov    $0xffffffff89888900,%rdi
  15:	65 c6 05 f6 59 cd 76 	movb   $0x1,%gs:0x76cd59f6(%rip)        # 0x76cd5a13
  1c:	01
  1d:	e8 dd 18 00 00       	callq  0x18ff
  22:	65 4c 8b 1d ed 59 cd 	mov    %gs:0x76cd59ed(%rip),%r11        # 0x76cd5a17
  29:	76
* 2a:	49 89 23             	mov    %rsp,(%r11) <-- trapping instruction
  2d:	4c 89 dc             	mov    %r11,%rsp
  30:	e8 aa ce 11 f8       	callq  0xf811cedf
  35:	48 89 ef             	mov    %rbp,%rdi
  38:	e8 02 d1 fc f7       	callq  0xf7fcd13f
  3d:	e8                   	.byte 0xe8
  3e:	8d                   	(bad)
  3f:	cf                   	iret

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2021/09/13 16:25 net f4bb62e64c88 3ce60af8 .config log report info BUG: unable to handle kernel paging request in sysvec_apic_timer_interrupt
ci-upstream-net-kasan-gce 2021/08/18 01:55 net-next 752be2976405 a2fe1cb5 .config log report info BUG: unable to handle kernel paging request in sysvec_apic_timer_interrupt
ci-upstream-net-kasan-gce 2021/05/30 22:58 net-next d3f2c48de7b8 325a8dab .config log report info BUG: unable to handle kernel paging request in sysvec_apic_timer_interrupt
* Struck through repros no longer work on HEAD.