diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-26 14:46:16 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-26 14:46:16 +0200 |
| commit | d0b7645387ebebc6a4eb298e1905f5ac8f60688f (patch) | |
| tree | fe4cfc4e2a534a998e4ecae802d99670573aeb8a /pkg/report/testdata | |
| parent | 73417389cebae4a6ddceb2e8684101f347cc3695 (diff) | |
pkg/report: few report parsing fixes for linux
Diffstat (limited to 'pkg/report/testdata')
| -rw-r--r-- | pkg/report/testdata/linux/report/247 | 42 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/248 | 39 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/249 | 36 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/34 | 2 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/35 | 2 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/91 | 2 |
6 files changed, 120 insertions, 3 deletions
diff --git a/pkg/report/testdata/linux/report/247 b/pkg/report/testdata/linux/report/247 new file mode 100644 index 000000000..2738014e5 --- /dev/null +++ b/pkg/report/testdata/linux/report/247 @@ -0,0 +1,42 @@ +TITLE: BUG: unable to handle kernel NULL pointer dereference in inet_sendmsg + +[ 61.889077] BUG: unable to handle kernel NULL pointer dereference at (null) +[ 61.890070] IP: [< (null)>] (null) +[ 61.890919] PGD 73c74067 PUD 73114067 PMD 0 +[ 61.890919] Oops: 0010 [#1] SMP DEBUG_PAGEALLOC +[ 61.892273] Modules linked in: +[ 61.892273] CPU: 1 PID: 7447 Comm: syz-executor5 Not tainted 4.1.15+ #4 +[ 61.892273] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 +[ 61.894174] task: ffff880073063930 ti: ffff880073470000 task.ti: ffff880073470000 +[ 61.895826] RIP: 0010:[<0000000000000000>] [< (null)>] (null) +[ 61.895826] RSP: 0018:ffff880073473cb0 EFLAGS: 00010246 +[ 61.895826] RAX: ffffffff81e9fe80 RBX: ffff880073b55b00 RCX: 0000000000000006 +[ 61.895826] RDX: 0000000000000006 RSI: 0000000000000000 RDI: ffff880073b55b00 +[ 61.895826] RBP: ffff880073473cc0 R08: 0000000000000000 R09: 0000000000000000 +[ 61.895826] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 +[ 61.895826] R13: ffff880073473ec8 R14: 0000000000000000 R15: 0000000000000000 +[ 61.895826] FS: 00007f20cc321700(0000) GS:ffff88007f840000(0000) knlGS:0000000000000000 +[ 61.895826] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b +[ 61.895826] CR2: 0000000000000000 CR3: 0000000073729000 CR4: 00000000000006e0 +[ 61.895826] Stack: +[ 61.895826] ffffffff8175ec15 ffff880073b55b00 ffff880073473d00 ffffffff81760e50 +[ 61.895826] ffffffff81760cc0 ffff880073473ec8 ffff880079724600 0000000000000000 +[ 61.895826] 0000000000000000 ffff880073473ec8 ffff880073473d20 ffffffff8169ff95 +[ 61.895826] Call Trace: +[ 61.895826] [<ffffffff8175ec15>] ? inet_autobind+0x25/0x60 +[ 61.895826] [<ffffffff81760e50>] inet_sendmsg+0x190/0x1e0 +[ 61.895826] [<ffffffff81760cc0>] ? inet_recvmsg+0x1e0/0x1e0 +[ 61.895826] [<ffffffff8169ff95>] sock_sendmsg+0x35/0x40 +[ 61.895826] [<ffffffff816a08ab>] ___sys_sendmsg+0x27b/0x2b0 +[ 61.895826] [<ffffffff81099fb5>] ? __lock_acquire+0x535/0x1ab0 +[ 61.895826] [<ffffffff81097dd1>] ? __lock_is_held+0x51/0x80 +[ 61.895826] [<ffffffff816a178d>] __sys_sendmsg+0x3d/0x80 +[ 61.895826] [<ffffffff816a17dd>] SyS_sendmsg+0xd/0x20 +[ 61.895826] [<ffffffff818e2dae>] system_call_fastpath+0x12/0x76 +[ 61.895826] Code: Bad RIP value. +[ 61.895826] RIP [< (null)>] (null) +[ 61.895826] RSP <ffff880073473cb0> +[ 61.895826] CR2: 0000000000000000 +[ 61.919641] ---[ end trace e4754c7187702be5 ]--- +[ 61.920336] Kernel panic - not syncing: Fatal exception +[ 61.921115] Kernel Offset: disabled diff --git a/pkg/report/testdata/linux/report/248 b/pkg/report/testdata/linux/report/248 new file mode 100644 index 000000000..fb2b46467 --- /dev/null +++ b/pkg/report/testdata/linux/report/248 @@ -0,0 +1,39 @@ +TITLE: INFO: suspicious RCU usage in ipv6_flowlabel_opt + +[ 37.911413] =============================== +[ 37.912153] [ INFO: suspicious RCU usage. ] +[ 37.912790] 4.1.15+ #4 Not tainted +[ 37.913339] ------------------------------- +[ 37.914040] /linux/net/ipv6/ip6_flowlabel.c:543 suspicious rcu_dereference_check() usage! +[ 37.915642] +[ 37.915642] other info that might help us debug this: +[ 37.915642] +[ 37.916873] +[ 37.916873] rcu_scheduler_active = 1, debug_locks = 0 +[ 37.917866] 2 locks held by syz-executor3/9912: +[ 37.918512] #0: (sk_lock-AF_INET6){+.+.+.}, at: [<ffffffff817c1ca2>] do_ipv6_setsockopt.isra.13+0xc2/0x1340 +[ 37.920066] #1: (ip6_sk_fl_lock){+.....}, at: [<ffffffff817dfb27>] ipv6_flowlabel_opt+0x437/0xe00 +[ 37.921525] +[ 37.921525] stack backtrace: +[ 37.922226] CPU: 1 PID: 9912 Comm: syz-executor3 Not tainted 4.1.15+ #4 +[ 37.923181] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 +[ 37.924340] 0000000000000001 ffff880071227c28 ffffffff818c5ac5 ffff88007afd4c40 +[ 37.925520] ffff880071227c58 ffffffff818b777b 0000000000000000 ffff88007af73cd0 +[ 37.926688] ffff88007af73c68 ffffffff81c46220 ffff880071227ce0 ffffffff817dfb87 +[ 37.927769] Call Trace: +[ 37.928122] [<ffffffff818c5ac5>] dump_stack+0x4b/0x63 +[ 37.928832] [<ffffffff818b777b>] lockdep_rcu_suspicious.cold.44+0xc4/0xe4 +[ 37.929865] [<ffffffff817dfb87>] ipv6_flowlabel_opt+0x497/0xe00 +[ 37.930900] [<ffffffff810996ad>] ? trace_hardirqs_on_caller+0xfd/0x1e0 +[ 37.932119] [<ffffffff816a31b1>] ? lock_sock_nested+0x41/0xb0 +[ 37.933059] [<ffffffff8109979d>] ? trace_hardirqs_on+0xd/0x10 +[ 37.933873] [<ffffffff817c25df>] do_ipv6_setsockopt.isra.13+0x9ff/0x1340 +[ 37.934837] [<ffffffff8107fd6a>] ? try_to_wake_up+0x21a/0x390 +[ 37.935634] [<ffffffff81316941>] ? plist_check_head+0x21/0x30 +[ 37.936428] [<ffffffff81099fb5>] ? __lock_acquire+0x535/0x1ab0 +[ 37.937238] [<ffffffff81097dd1>] ? __lock_is_held+0x51/0x80 +[ 37.938032] [<ffffffff817c2f73>] ipv6_setsockopt+0x53/0xc0 +[ 37.938783] [<ffffffff8172e7ab>] tcp_setsockopt+0x1b/0x30 +[ 37.939530] [<ffffffff816a289f>] sock_common_setsockopt+0xf/0x20 +[ 37.940355] [<ffffffff816a15bc>] SyS_setsockopt+0x6c/0xd0 +[ 37.941114] [<ffffffff818e2dae>] system_call_fastpath+0x12/0x76 diff --git a/pkg/report/testdata/linux/report/249 b/pkg/report/testdata/linux/report/249 new file mode 100644 index 000000000..2542147e2 --- /dev/null +++ b/pkg/report/testdata/linux/report/249 @@ -0,0 +1,36 @@ +TITLE: WARNING in __might_sleep + +[ 30.952857] WARNING: CPU: 1 PID: 8321 at /linux/kernel/sched/core.c:7301 __might_sleep+0x77/0x80() +[ 30.956045] do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff81094815>] prepare_to_wait_event+0x75/0xf0 +[ 30.958816] Kernel panic - not syncing: panic_on_warn set ... +[ 30.958816] +[ 30.959781] CPU: 1 PID: 8321 Comm: syz-executor6 Not tainted 4.1.15+ #4 +[ 30.959781] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 +[ 30.959781] 0000000000000009 ffff8800735dbb90 ffffffff818c5ac5 ffffffff81c49290 +[ 30.959781] ffff8800735dbc08 ffffffff818b5731 0000000000000008 ffff8800735dbc18 +[ 30.959781] ffff8800735dbbb8 0000000000000000 ffff88007f84d828 ffff88007f850238 +[ 30.959781] Call Trace: +[ 30.959781] [<ffffffff818c5ac5>] dump_stack+0x4b/0x63 +[ 30.959781] [<ffffffff818b5731>] panic+0xc8/0x200 +[ 30.959781] [<ffffffff818b5902>] warn_slowpath_common+0x89/0xad +[ 30.959781] [<ffffffff81053de7>] warn_slowpath_fmt+0x47/0x50 +[ 30.959781] [<ffffffff81094815>] ? prepare_to_wait_event+0x75/0xf0 +[ 30.959781] [<ffffffff81094815>] ? prepare_to_wait_event+0x75/0xf0 +[ 30.959781] [<ffffffff81079c77>] __might_sleep+0x77/0x80 +[ 30.959781] [<ffffffff818de867>] mutex_lock_nested+0x37/0x3f0 +[ 30.959781] [<ffffffff8109979d>] ? trace_hardirqs_on+0xd/0x10 +[ 30.959781] [<ffffffff81094847>] ? prepare_to_wait_event+0xa7/0xf0 +[ 30.959781] [<ffffffff818a4d09>] rfkill_fop_read+0xf9/0x1c0 +[ 30.959781] [<ffffffff81094890>] ? prepare_to_wait_event+0xf0/0xf0 +[ 30.959781] [<ffffffff818a4c10>] ? rfkill_fop_ioctl+0x80/0x80 +[ 30.959781] [<ffffffff81168d35>] do_loop_readv_writev+0x75/0xa0 +[ 30.959781] [<ffffffff818a4c10>] ? rfkill_fop_ioctl+0x80/0x80 +[ 30.959781] [<ffffffff81169983>] do_readv_writev+0x213/0x240 +[ 30.959781] [<ffffffff8118be2f>] ? __fget+0xbf/0x200 +[ 30.959781] [<ffffffff8118bd70>] ? expand_files+0x270/0x270 +[ 30.959781] [<ffffffff811699d5>] vfs_readv+0x25/0x50 +[ 30.959781] [<ffffffff8116a687>] SyS_readv+0x47/0xd0 +[ 30.959781] [<ffffffff818e2dae>] system_call_fastpath+0x12/0x76 +[ 30.959781] Kernel Offset: disabled + + diff --git a/pkg/report/testdata/linux/report/34 b/pkg/report/testdata/linux/report/34 index 1de8275cb..74af346d0 100644 --- a/pkg/report/testdata/linux/report/34 +++ b/pkg/report/testdata/linux/report/34 @@ -1,4 +1,4 @@ -TITLE: INFO: suspicious RCU usage. ] +TITLE: INFO: suspicious RCU usage in corrupted CORRUPTED: Y [ 1722.511384] [ INFO: suspicious RCU usage. ] diff --git a/pkg/report/testdata/linux/report/35 b/pkg/report/testdata/linux/report/35 index 62d358134..82360702f 100644 --- a/pkg/report/testdata/linux/report/35 +++ b/pkg/report/testdata/linux/report/35 @@ -1,4 +1,4 @@ -TITLE: INFO: suspicious RCU usage. ] +TITLE: INFO: suspicious RCU usage in corrupted START: [ 37.540478] [ INFO: suspicious RCU usage. ] CORRUPTED: Y diff --git a/pkg/report/testdata/linux/report/91 b/pkg/report/testdata/linux/report/91 index 5931bb081..d81d88b4f 100644 --- a/pkg/report/testdata/linux/report/91 +++ b/pkg/report/testdata/linux/report/91 @@ -1,4 +1,4 @@ -TITLE: INFO: suspicious RCU usage. ] +TITLE: INFO: suspicious RCU usage in corrupted CORRUPTED: Y [ 1722.511384] =============================== |
