diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-12-12 11:58:52 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-12 11:59:13 +0100 |
| commit | 9d0132a2fb379f6464ea0c08c98e77d361eb564d (patch) | |
| tree | 3f13f6db2a231d84a01286f36a524a7f67da1de0 /pkg/report/testdata/linux/guilty/6 | |
| parent | 1556ebc4cc58b700a076d20ea645dae8c081f1bb (diff) | |
pkg/report: move guilty file test data to testdir/
linux_test.go is total mess and very hard to work with.
Turns out we had 2 tests that do exactly the same
(verify Report), but nobody ever noticed.
Move all test data to testdir/. One file per crash.
Diffstat (limited to 'pkg/report/testdata/linux/guilty/6')
| -rw-r--r-- | pkg/report/testdata/linux/guilty/6 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/guilty/6 b/pkg/report/testdata/linux/guilty/6 new file mode 100644 index 000000000..5ef3fb0c4 --- /dev/null +++ b/pkg/report/testdata/linux/guilty/6 @@ -0,0 +1,30 @@ +FILE: net/ipv6/tcp_ipv6.c + +================================================================== +BUG: KASAN: use-after-free in ip6_dst_store include/net/ip6_fib.h:176 [inline] +BUG: KASAN: use-after-free in tcp_v6_connect+0x1dfd/0x20f0 net/ipv6/tcp_ipv6.c:271 +Read of size 4 at addr ffff880066df126c by task syz-executor6/22754 + +CPU: 0 PID: 22754 Comm: syz-executor6 Not tainted 4.12.0-rc1+ #366 +Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 +Call Trace: + __dump_stack lib/dump_stack.c:16 [inline] + dump_stack+0x292/0x395 lib/dump_stack.c:52 + print_address_description+0x73/0x280 mm/kasan/report.c:252 + kasan_report_error mm/kasan/report.c:351 [inline] + kasan_report+0x22b/0x340 mm/kasan/report.c:408 + __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:428 + ip6_dst_store include/net/ip6_fib.h:176 [inline] + tcp_v6_connect+0x1dfd/0x20f0 net/ipv6/tcp_ipv6.c:271 + __inet_stream_connect+0x2ee/0xf90 net/ipv4/af_inet.c:618 + inet_stream_connect+0x58/0xa0 net/ipv4/af_inet.c:682 + SYSC_connect+0x251/0x590 net/socket.c:1588 + SyS_connect+0x24/0x30 net/socket.c:1569 + entry_SYSCALL_64_fastpath+0x1f/0xbe +RIP: 0033:0x445e89 +RSP: 002b:00007fc98a723b58 EFLAGS: 00000286 ORIG_RAX: 000000000000002a +RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 0000000000445e89 +RDX: 000000000000001c RSI: 0000000020066000 RDI: 0000000000000016 +RBP: 00000000006e04c0 R08: 0000000000000000 R09: 0000000000000000 +R10: 0000000000000000 R11: 0000000000000286 R12: 00000000007081f8 +R13: 0000000000000000 R14: 00007fc98a7249c0 R15: 00007fc98a724700 |
