diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-11-13 17:55:39 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-11-15 16:55:00 +0100 |
| commit | f3cab5934d105412ced7a190300e5fb58d4ff425 (patch) | |
| tree | 4e82b460c01776f96c9f1c3b55565b2304e5c59f | |
| parent | bfcab33d5ef38324342c0348a49caf197e386dd3 (diff) | |
pkg/report: skip debug objects frames
| -rw-r--r-- | pkg/report/linux.go | 2 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/675 | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index a36711936..67487216c 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1040,6 +1040,8 @@ var linuxStackParams = &stackParams{ "kmsan", "kcsan_setup_watchpoint", "check_memory_region", + "check_heap_object", + "check_object", "read_word_at_a_time", "(read|write)_once_.*nocheck", "print_address_description", diff --git a/pkg/report/testdata/linux/report/675 b/pkg/report/testdata/linux/report/675 new file mode 100644 index 000000000..39ff7cb12 --- /dev/null +++ b/pkg/report/testdata/linux/report/675 @@ -0,0 +1,36 @@ +TITLE: kernel BUG in sg_scsi_ioctl + +[ 1889.439688][T11163] ------------[ cut here ]------------ +[ 1889.445218][T11163] kernel BUG at mm/slab.c:4339! +[ 1889.450309][T11163] invalid opcode: 0000 [#1] SMP KASAN +[ 1889.455662][T11163] CPU: 1 PID: 11163 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0 +[ 1889.464051][T11163] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 +[ 1889.474087][T11163] RIP: 0010:__check_heap_object+0xcb/0xd0 +[ 1889.479794][T11163] Code: 4c 89 d1 4d 89 c8 e8 e4 67 0a 00 5b 41 5e 5d c3 49 8b 73 58 41 0f b6 d0 48 c7 c7 0f 74 9a 86 4c 89 d1 4d 89 c8 e8 85 68 0a 00 <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 83 ff 10 0f 84 9f 00 00 00 +[ 1889.499384][T11163] RSP: 0018:ffff888079c07a60 EFLAGS: 00010246 +[ 1889.505429][T11163] RAX: 00000000000011de RBX: 0000000000001440 RCX: 000000000000000c +[ 1889.513379][T11163] RDX: 000000000000000c RSI: 0000000000000010 RDI: 0000000000000001 +[ 1889.521327][T11163] RBP: ffff888079c07a70 R08: 0000000000000001 R09: fffff9400010e151 +[ 1889.521339][T11163] R10: ffff888021c2b900 R11: ffff888100095a00 R12: 0400000000010200 +[ 1889.521348][T11163] R13: 0000000000000001 R14: ffff888021c2a4c0 R15: 0000000000000010 +[ 1889.521357][T11163] FS: 0000000000000000(0000) GS:ffff8880a1d00000(0063) knlGS:00000000f60c2b40 +[ 1889.563322][T11163] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 +[ 1889.569891][T11163] CR2: 00000000f743a128 CR3: 000000008f91e000 CR4: 00000000003526f0 +[ 1889.569905][T11163] Call Trace: +[ 1889.569910][T11163] __check_object_size+0x272/0x430 +[ 1889.569928][T11163] sg_scsi_ioctl+0x72c/0x950 +[ 1889.600007][T11163] sg_ioctl_common+0x1769/0x21a0 +[ 1889.624248][T11163] sg_compat_ioctl+0x8c/0x110 +[ 1889.629061][T11163] __ia32_compat_sys_ioctl+0x37c/0xc00 +[ 1889.667019][T11163] __do_fast_syscall_32+0xa1/0xc0 +[ 1889.672014][T11163] do_fast_syscall_32+0x47/0x90 +[ 1889.676824][T11163] do_SYSENTER_32+0x1b/0x20 +[ 1889.681294][T11163] entry_SYSENTER_compat_after_hwframe+0x6a/0x7c +[ 1889.687585][T11163] RIP: 0023:0xf7421509 +[ 1889.691628][T11163] Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 +[ 1889.711371][T11163] RSP: 002b:00000000f60c25cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 +[ 1889.719744][T11163] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000000001 +[ 1889.727676][T11163] RDX: 0000000020000180 RSI: 0000000000000000 RDI: 0000000000000000 +[ 1889.735608][T11163] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 +[ 1889.743541][T11163] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 +[ 1889.751474][T11163] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 |
