Skip to content
Permalink
Browse files

pkg/report: add new format of kernel page faults

  • Loading branch information...
dvyukov committed May 9, 2019
1 parent 1ab4c99 commit 6fc130d3610b8b90ea16c27dd10eb758ae7267a3
Showing with 67 additions and 2 deletions.
  1. +2 −2 pkg/report/linux.go
  2. +65 −0 pkg/report/testdata/linux/report/382
@@ -849,7 +849,7 @@ var linuxOopses = []*oops{
},
},
{
title: compile("BUG: unable to handle kernel paging request"),
title: compile("BUG: (?:unable to handle kernel paging request|unable to handle page fault for address)"),
fmt: "BUG: unable to handle kernel paging request in %[1]v",
stack: &stackFmt{
parts: []*regexp.Regexp{
@@ -860,7 +860,7 @@ var linuxOopses = []*oops{
},
},
{
title: compile("BUG: unable to handle kernel NULL pointer dereference"),
title: compile("BUG: (?:unable to handle kernel NULL pointer dereference|kernel NULL pointer dereference)"),
fmt: "BUG: unable to handle kernel NULL pointer dereference in %[1]v",
stack: &stackFmt{
parts: []*regexp.Regexp{
@@ -0,0 +1,65 @@
TITLE: BUG: unable to handle kernel paging request in iptunnel_xmit

[ 2494.421785][T17591] BUG: unable to handle page fault for address: ffffde202758ca0b
[ 2494.429575][T17591] #PF: supervisor read access in kernel mode
[ 2494.435573][T17591] #PF: error_code(0x0000) - not-present page
[ 2494.441561][T17591] PGD 0 P4D 0
[ 2494.444949][T17591] Oops: 0000 [#1] PREEMPT SMP KASAN
[ 2494.450168][T17591] CPU: 0 PID: 17591 Comm: syz-executor.3 Not tainted 5.1.0+ #3
[ 2494.457708][T17591] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[ 2494.467790][T17591] RIP: 0010:iptunnel_xmit+0x6e5/0x970
[ 2494.473174][T17591] Code: c1 e9 03 80 3c 11 00 0f 85 72 02 00 00 48 03 1c c5 60 70 6e 88 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5d 02 00 00 48 8d 7b 10 4d 63 e4 48 b8 00 00 00
[ 2494.492790][T17591] RSP: 0018:ffff8880a0fb7008 EFLAGS: 00010a02
[ 2494.498867][T17591] RAX: dffffc0000000000 RBX: ffff11013ac65040 RCX: 1ffffffff10dce0c
[ 2494.506846][T17591] RDX: 1fffe2202758ca0b RSI: ffffffff83344b4c RDI: ffff11013ac65058
[ 2494.514823][T17591] RBP: ffff8880a0fb7068 R08: ffff888059df8140 R09: ffffed1015d06be0
[ 2494.522800][T17591] R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 00000000000000fc
[ 2494.530775][T17591] R13: ffff88806bbfec40 R14: ffff88806a6a3714 R15: ffff8880a097a8c0
[ 2494.538757][T17591] FS: 00007fcf84ffc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
[ 2494.547691][T17591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2494.554275][T17591] CR2: ffffde202758ca0b CR3: 00000000970bb000 CR4: 00000000001406f0
[ 2494.562250][T17591] Call Trace:
[ 2494.565583][T17591] udp_tunnel_xmit_skb+0x236/0x310
[ 2494.570817][T17591] tipc_udp_xmit.isra.0+0x805/0xcc0
[ 2494.591259][T17591] tipc_udp_send_msg+0x295/0x4a0
[ 2494.596286][T17591] tipc_bearer_xmit_skb+0x172/0x360
[ 2494.601676][T17591] tipc_enable_bearer+0xac4/0xd20
[ 2494.622461][T17591] __tipc_nl_bearer_enable+0x2de/0x3a0
[ 2494.653780][T17591] tipc_nl_bearer_enable+0x23/0x40
[ 2494.659064][T17591] genl_family_rcv_msg+0x753/0xf90
[ 2494.684409][T17591] genl_rcv_msg+0xca/0x16c
[ 2494.688836][T17591] netlink_rcv_skb+0x17a/0x460
[ 2494.713244][T17591] genl_rcv+0x29/0x40
[ 2494.717222][T17591] netlink_unicast+0x536/0x720
[ 2494.743385][T17591] netlink_sendmsg+0x8ae/0xd70
[ 2494.781009][T17591] sock_sendmsg+0x12e/0x170
[ 2494.785514][T17591] ___sys_sendmsg+0x81d/0x960
[ 2494.829017][T17591] __sys_sendmsg+0x105/0x1d0
[ 2494.859695][T17591] __x64_sys_sendmsg+0x78/0xb0
[ 2494.864472][T17591] do_syscall_64+0x103/0x670
[ 2494.869080][T17591] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 2494.874975][T17591] RIP: 0033:0x458da9
[ 2494.878870][T17591] Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
[ 2494.898476][T17591] RSP: 002b:00007fcf84ffbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 2494.906917][T17591] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9
[ 2494.914918][T17591] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003
[ 2494.922918][T17591] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
[ 2494.930912][T17591] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fcf84ffc6d4
[ 2494.938887][T17591] R13: 00000000004c6449 R14: 00000000004dad18 R15: 00000000ffffffff
[ 2494.946869][T17591] Modules linked in:
[ 2494.950765][T17591] CR2: ffffde202758ca0b
[ 2494.954927][T17591] ---[ end trace 7b8973c639719d58 ]---
[ 2494.960390][T17591] RIP: 0010:iptunnel_xmit+0x6e5/0x970
[ 2494.965758][T17591] Code: c1 e9 03 80 3c 11 00 0f 85 72 02 00 00 48 03 1c c5 60 70 6e 88 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5d 02 00 00 48 8d 7b 10 4d 63 e4 48 b8 00 00 00
[ 2494.985571][T17591] RSP: 0018:ffff8880a0fb7008 EFLAGS: 00010a02
[ 2494.991643][T17591] RAX: dffffc0000000000 RBX: ffff11013ac65040 RCX: 1ffffffff10dce0c
[ 2494.999619][T17591] RDX: 1fffe2202758ca0b RSI: ffffffff83344b4c RDI: ffff11013ac65058
[ 2495.007598][T17591] RBP: ffff8880a0fb7068 R08: ffff888059df8140 R09: ffffed1015d06be0
[ 2495.015585][T17591] R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 00000000000000fc
[ 2495.023576][T17591] R13: ffff88806bbfec40 R14: ffff88806a6a3714 R15: ffff8880a097a8c0
[ 2495.031561][T17591] FS: 00007fcf84ffc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
[ 2495.040490][T17591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2495.047079][T17591] CR2: ffffde202758ca0b CR3: 00000000970bb000 CR4: 00000000001406f0
[ 2495.055060][T17591] Kernel panic - not syncing: Fatal exception
[ 2495.062214][T17591] Kernel Offset: disabled
[ 2495.066656][T17591] Rebooting in 86400 seconds..

0 comments on commit 6fc130d

Please sign in to comment.
You can’t perform that action at this time.