From d30c3e81eb4b5093b00bd71df6703ce349dc7ad1 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 18 Dec 2017 15:34:08 +0100 Subject: pkg/report: add test for a bug in report parsing --- pkg/report/testdata/linux/report/137 | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkg/report/testdata/linux/report/137 (limited to 'pkg') diff --git a/pkg/report/testdata/linux/report/137 b/pkg/report/testdata/linux/report/137 new file mode 100644 index 000000000..1397b26b7 --- /dev/null +++ b/pkg/report/testdata/linux/report/137 @@ -0,0 +1,42 @@ +# TODO: this should be "in ipcomp_init_state" +TITLE: BUG: using __this_cpu_read() in preemptible code in __this_cpu_preempt_check + +[ 45.718728] BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor6/6976 +[ 45.727291] caller is __this_cpu_preempt_check+0x1c/0x20 +[ 45.732732] CPU: 1 PID: 6976 Comm: syz-executor6 Not tainted 4.9.69-g3f1d77c #108 +[ 45.740334] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 +[ 45.749670] ffff8801ce54f6d8 ffffffff81d90a29 0000000000000001 ffffffff83c17800 +[ 45.757680] ffffffff83f42ec0 ffff8801c8f98000 0000000000000003 ffff8801ce54f718 +[ 45.765691] ffffffff81df79f4 ffff8801ce54f730 ffffffff83f42ec0 dffffc0000000000 +[ 45.773790] Call Trace: +[ 45.776364] [] dump_stack+0xc1/0x128 +[ 45.781730] [] check_preemption_disabled+0x1d4/0x200 +[ 45.788474] [] __this_cpu_preempt_check+0x1c/0x20 +[ 45.793029] sg_write: data in/out 327644/32 bytes for SCSI command 0x4-- guessing data in; +[ 45.793029] program syz-executor0 not setting count and/or reply_len properly +[ 45.811687] [] ipcomp_init_state+0x188/0x930 +[ 45.817731] [] ? __lock_is_held+0xa1/0xf0 +[ 45.823504] [] ipcomp4_init_state+0xb0/0x7d0 +[ 45.829539] [] __xfrm_init_state+0x3e7/0xb30 +[ 45.835578] [] xfrm_init_state+0x1a/0x20 +[ 45.841288] [] pfkey_add+0x1fb9/0x3470 +[ 45.846796] [] ? pfkey_delete+0x360/0x360 +[ 45.852564] [] ? pfkey_seq_stop+0x80/0x80 +[ 45.858330] [] ? __skb_clone+0x24a/0x7d0 +[ 45.864019] [] ? pfkey_delete+0x360/0x360 +[ 45.869795] [] pfkey_process+0x61e/0x730 +[ 45.875484] [] ? pfkey_send_new_mapping+0x11b0/0x11b0 +[ 45.882301] [] ? trace_hardirqs_on_caller+0x38b/0x590 +[ 45.889111] [] pfkey_sendmsg+0x3a9/0x760 +[ 45.894791] [] ? pfkey_spdget+0x820/0x820 +[ 45.900561] [] sock_sendmsg+0xca/0x110 +[ 45.906069] [] ___sys_sendmsg+0x6d1/0x7e0 +[ 45.911839] [] ? copy_msghdr_from_user+0x550/0x550 +[ 45.918828] [] ? check_preemption_disabled+0x3b/0x200 +[ 45.925635] [] ? __fget+0x201/0x3a0 +[ 45.930877] [] ? __fget+0x228/0x3a0 +[ 45.936126] [] ? __fget+0x47/0x3a0 +[ 45.941292] [] ? check_preemption_disabled+0x3b/0x200 +[ 45.948107] [] ? __fget_light+0x188/0x1e0 +[ 45.953872] [] ? __fdget+0x18/0x20 +[ 45.959030] [] __sys_sendmsg+0xd6/0x190 -- cgit mrf-deployment