From 867fe6a8406660055262b4f5fc2c24e02e0f1167 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Dec 2017 13:40:08 +0100 Subject: pkg/report: improve using __this_cpu_add() in preemptible code report --- pkg/report/testdata/linux/report/131 | 2 +- pkg/report/testdata/linux/report/81 | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'pkg/report/testdata/linux') diff --git a/pkg/report/testdata/linux/report/131 b/pkg/report/testdata/linux/report/131 index 17fff4891..0a5cc82b6 100644 --- a/pkg/report/testdata/linux/report/131 +++ b/pkg/report/testdata/linux/report/131 @@ -1,4 +1,4 @@ -TITLE: BUG: using __this_cpu_read() in preemptible [ADDR] code: syzkaller +TITLE: BUG: using __this_cpu_read() in preemptible code in ipcomp_init_state syzkaller login: [ 35.184476] BUG: using __this_cpu_read() in preemptible [00000000] code: syzkaller195313/3344 [ 35.193222] caller is __this_cpu_preempt_check+0x1c/0x20 diff --git a/pkg/report/testdata/linux/report/81 b/pkg/report/testdata/linux/report/81 index 7afe730cb..0c9841987 100644 --- a/pkg/report/testdata/linux/report/81 +++ b/pkg/report/testdata/linux/report/81 @@ -1,4 +1,19 @@ -TITLE: BUG: using __this_cpu_add() in preemptible [ADDR] code: syz-executor -CORRUPTED: Y +TITLE: BUG: using __this_cpu_add() in preemptible code in ipcomp_init_state [ 76.825838] BUG: using __this_cpu_add() in preemptible [00000000] code: syz-executor0/10076 +[ 35.193222] caller is __this_cpu_preempt_check+0x1c/0x20 +[ 35.198727] CPU: 1 PID: 3344 Comm: syzkaller195313 Not tainted 4.9.68-gfb66dc2 #107 +[ 35.206487] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 +[ 35.215825] ffff8801c8e476d8 ffffffff81d90889 0000000000000001 ffffffff83c17800 +[ 35.223786] ffffffff83f42ec0 ffff8801c7643000 0000000000000003 ffff8801c8e47718 +[ 35.231779] ffffffff81df7854 ffff8801c8e47730 ffffffff83f42ec0 dffffc0000000000 +[ 35.239734] Call Trace: +[ 35.242294] [] dump_stack+0xc1/0x128 +[ 35.247625] [] check_preemption_disabled+0x1d4/0x200 +[ 35.254346] [] __this_cpu_preempt_check+0x1c/0x20 +[ 35.260808] [] ipcomp_init_state+0x188/0x930 +[ 35.266833] [] ? __lock_is_held+0xa1/0xf0 +[ 35.272602] [] ipcomp4_init_state+0xb0/0x7d0 +[ 35.278628] [] __xfrm_init_state+0x3e7/0xb30 +[ 35.284654] [] xfrm_init_state+0x1a/0x20 +[ 35.290339] [] pfkey_add+0x1fb9/0x3470 -- cgit mrf-deployment