BUG: unable to handle kernel paging request in sysvec_apic_timer_interrupt

11 views
Skip to first unread message

syzbot

unread,
Jun 3, 2021, 7:00:21 PM6/3/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d3f2c48d Merge branch 'npc-kpu-updates'
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=140a984dd00000
kernel config: https://syzkaller.appspot.com/x/.config?x=52fb5f4163b9aa88
dashboard link: https://syzkaller.appspot.com/bug?extid=958bd1d4008d381ff1df
CC: [b...@alien8.de dw...@amazon.co.uk h...@zytor.com linux-...@vger.kernel.org lu...@kernel.org mi...@redhat.com tg...@linutronix.de x...@kernel.org net...@vger.kernel.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+958bd1...@syzkaller.appspotmail.com

------------[ 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 11000067 P4D 11000067 PUD 111b4067 PMD 111b5067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12097 Comm: syz-executor.4 Not tainted 5.13.0-rc3-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:1100
Code: 00 00 48 c7 c7 60 43 68 89 e8 b1 19 00 00 48 c7 c7 60 4b 68 89 65 c6 05 c6 18 eb 76 01 e8 9d 19 00 00 65 4c 8b 1d bd 18 eb 76 <49> 89 23 4c 89 dc e8 8a fe 2e f8 48 89 ef e8 22 1a 1a f8 e8 6d ff
RSP: 0018:ffffc90002127030 EFLAGS: 00010002
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900122b3000
RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002127048 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff817aef15 R11: ffffc90000007ff8 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f30302ef700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000007ff8 CR3: 000000001bea7000 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:647
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: f0 4d 89 03 e9 f2 fc 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 40 00 <65> 8b 05 39 13 8d 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc900021270f8 EFLAGS: 00000212
RAX: 000000000000502d RBX: 0000000000000000 RCX: ffffc900122b3000
RDX: 0000000000040000 RSI: ffffffff815cb113 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff902408a7
R10: ffffffff815cb109 R11: 0000000000000000 R12: ffffffff84bbfdb0
R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc90002127158
console_unlock+0x7c9/0xc40 kernel/printk/printk.c:2653
vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2174
vprintk+0x8d/0x260 kernel/printk/printk_safe.c:392
printk+0xba/0xed kernel/printk/printk.c:2216
__warn_printk+0x9b/0xf3 kernel/panic.c:644
__vunmap+0x150/0xb60 mm/vmalloc.c:2546
__vfree+0x3c/0xd0 mm/vmalloc.c:2613
vfree+0x5a/0x90 mm/vmalloc.c:2644
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+0x9c8/0x15b0 net/xfrm/xfrm_state.c:2606
xfrm_init_state+0x1a/0x70 net/xfrm/xfrm_state.c:2633
pfkey_msg2xfrm_state net/key/af_key.c:1291 [inline]
pfkey_add+0x1a64/0x2cd0 net/key/af_key.c:1508
pfkey_process+0x685/0x7e0 net/key/af_key.c:2841
pfkey_sendmsg+0x42d/0x800 net/key/af_key.c:3680
sock_sendmsg_nosec net/socket.c:654 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:674
____sys_sendmsg+0x331/0x810 net/socket.c:2350
___sys_sendmsg+0xf3/0x170 net/socket.c:2404
__sys_sendmmsg+0x195/0x470 net/socket.c:2490
__do_sys_sendmmsg net/socket.c:2519 [inline]
__se_sys_sendmmsg net/socket.c:2516 [inline]
__x64_sys_sendmmsg+0x99/0x100 net/socket.c:2516
do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
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:00007f30302ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000393 RSI: 0000000020000180 RDI: 0000000000000003
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004402 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffee612b0bf R14: 00007f30302ef300 R15: 0000000000022000
Modules linked in:
CR2: ffffc90000007ff8
---[ end trace 8d8929678e390e20 ]---
RIP: 0010:sysvec_apic_timer_interrupt+0x7b/0xc0 arch/x86/kernel/apic/apic.c:1100
Code: 00 00 48 c7 c7 60 43 68 89 e8 b1 19 00 00 48 c7 c7 60 4b 68 89 65 c6 05 c6 18 eb 76 01 e8 9d 19 00 00 65 4c 8b 1d bd 18 eb 76 <49> 89 23 4c 89 dc e8 8a fe 2e f8 48 89 ef e8 22 1a 1a f8 e8 6d ff
RSP: 0018:ffffc90002127030 EFLAGS: 00010002
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900122b3000
RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002127048 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff817aef15 R11: ffffc90000007ff8 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f30302ef700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000007ff8 CR3: 000000001bea7000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 12, 2021, 11:26:12 AM12/12/21
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages