aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-03 10:56:03 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-06 13:39:39 +0100
commit0a9c11b64c9f99ba6bf90f22430b6794577c7aeb (patch)
tree75f25b75b85808b75f1cf322480d64a68e510a55 /pkg/report/testdata/linux
parentbe607b78d7dea8ef5a0267ae7396fded7dc016d5 (diff)
pkg/report: skip more memory allocation frames
The family of such functions is big and keeps on growing. Add them to the generic skipPatterns code.
Diffstat (limited to 'pkg/report/testdata/linux')
-rw-r--r--pkg/report/testdata/linux/report/3234
-rw-r--r--pkg/report/testdata/linux/report/68643
2 files changed, 45 insertions, 2 deletions
diff --git a/pkg/report/testdata/linux/report/323 b/pkg/report/testdata/linux/report/323
index 11c2e0559..95b32cd44 100644
--- a/pkg/report/testdata/linux/report/323
+++ b/pkg/report/testdata/linux/report/323
@@ -1,5 +1,5 @@
-TITLE: general protection fault in vmalloc_fault
-ALT: bad-access in vmalloc_fault
+TITLE: general protection fault in corrupted
+ALT: bad-access in corrupted
CORRUPTED: Y
[ 888.868901] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready
diff --git a/pkg/report/testdata/linux/report/686 b/pkg/report/testdata/linux/report/686
new file mode 100644
index 000000000..5113be0fd
--- /dev/null
+++ b/pkg/report/testdata/linux/report/686
@@ -0,0 +1,43 @@
+TITLE: WARNING: zero-size vmalloc in bpf_check
+
+
+------------[ cut here ]------------
+WARNING: CPU: 1 PID: 15973 at mm/vmalloc.c:3108 __vmalloc_node_range+0x1036/0x1300 mm/vmalloc.c:3108
+Modules linked in:
+CPU: 1 PID: 15973 Comm: syz-executor.3 Not tainted 6.2.0-rc6-next-20230202-syzkaller #0
+Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
+RIP: 0010:__vmalloc_node_range+0x1036/0x1300 mm/vmalloc.c:3108
+Code: 00 65 48 2b 04 25 28 00 00 00 0f 85 7b 01 00 00 48 81 c4 58 01 00 00 4c 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 3a 3b bd ff <0f> 0b 45 31 e4 eb a3 e8 2e 3b bd ff 44 8b 64 24 68 41 83 cc 02 66
+RSP: 0018:ffffc90015d7f6d0 EFLAGS: 00010216
+RAX: 0000000000000bd2 RBX: dffffc0000000000 RCX: ffffc9000c7ef000
+RDX: 0000000000040000 RSI: ffffffff81c78f96 RDI: 0000000000000007
+RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
+R10: 0000000000000000 R11: 1ffff1100ef9f7da R12: 0000000000000000
+R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000000
+FS: 00007f934abfe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
+CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
+CR2: 00005599831f0190 CR3: 0000000029865000 CR4: 00000000003506e0
+DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
+DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
+Call Trace:
+ <TASK>
+ __vmalloc_node mm/vmalloc.c:3246 [inline]
+ vzalloc+0x6b/0x80 mm/vmalloc.c:3319
+ bpf_check+0x1b8/0xae50 kernel/bpf/verifier.c:17253
+ bpf_prog_load+0x16d9/0x21d0 kernel/bpf/syscall.c:2617
+ __sys_bpf+0x1435/0x5100 kernel/bpf/syscall.c:4977
+ __do_sys_bpf kernel/bpf/syscall.c:5081 [inline]
+ __se_sys_bpf kernel/bpf/syscall.c:5079 [inline]
+ __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5079
+ do_syscall_x64 arch/x86/entry/common.c:50 [inline]
+ do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
+ entry_SYSCALL_64_after_hwframe+0x63/0xcd
+RIP: 0033:0x7f934c08c0c9
+Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
+RSP: 002b:00007f934abfe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
+RAX: ffffffffffffffda RBX: 00007f934c1ac050 RCX: 00007f934c08c0c9
+RDX: 0000000000000080 RSI: 0000000020000180 RDI: 0000000000000005
+RBP: 00007f934c0e7ae9 R08: 0000000000000000 R09: 0000000000000000
+R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
+R13: 00007fff8af372ef R14: 00007f934abfe300 R15: 0000000000022000
+ </TASK> \ No newline at end of file