diff options
| author | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2025-10-27 18:35:41 +0300 |
|---|---|---|
| committer | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2026-03-12 11:30:09 +0300 |
| commit | 12aee2a11f4d9f364ce06451b87e3076bf0bf0b7 (patch) | |
| tree | addae0fb2605be19ad5f2ec5a9ef9e50777cafb1 /pkg | |
| parent | 3e8f9cea1b2feb873fbad88a55ae8091e0c09e84 (diff) | |
pkg/report: ignore timer-related and mark_buffer_dirty frames
Fix corresponding test, remove incorrect tests
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Denis Efremov <efremov@ispras.ru>
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/report/linux.go | 628 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/decompile/amd64/2.in | 164 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/decompile/amd64/2.out | 164 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/decompile/amd64/4.in | 55 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/decompile/amd64/4.out | 75 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/569 | 4 |
6 files changed, 328 insertions, 762 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 69e674836..ab555f3b3 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -257,7 +257,8 @@ func (ctx *linux) reportMinLines(oopsLine []byte) int { // Yes, it is complex, but all state and logic are tightly coupled. It's unclear how to simplify it. // nolint: gocyclo func (ctx *linux) findReport(output []byte, oops *oops, startPos int, context string, useQuestionable bool) ( - endPos, reportEnd int, report []byte, prefix [][]byte) { + endPos, reportEnd int, report []byte, prefix [][]byte, +) { // Prepend 5 lines preceding start of the report, // they can contain additional info related to the report. maxPrefix := 5 @@ -523,7 +524,8 @@ func (line linuxBacktraceLine) Assemble() []byte { } func symbolizeLine(symbFunc func(bin string, pc uint64) ([]symbolizer.Frame, error), ctx *linux, - parsed linuxBacktraceLine) []linuxBacktraceLine { + parsed linuxBacktraceLine, +) []linuxBacktraceLine { symb := ctx.symbols[parsed.ModName][parsed.Name] if len(symb) == 0 { return []linuxBacktraceLine{parsed} @@ -803,8 +805,10 @@ func (ctx *linux) extractGuiltyFileRaw(title string, report []byte) string { // we would need to ignore too many files and that would be fragile. // So instead we try to extract guilty file starting from the known // interrupt entry point first. - for _, interruptEnd := range []string{"apic_timer_interrupt+0x", - "el1h_64_irq+0x", "Exception stack"} { + for _, interruptEnd := range []string{ + "apic_timer_interrupt+0x", + "el1h_64_irq+0x", "Exception stack", + } { if pos := bytes.Index(report, []byte(interruptEnd)); pos != -1 { if file := ctx.extractGuiltyFileImpl(report[pos:]); file != "" { return file @@ -1031,9 +1035,11 @@ func linuxHangTaskFrameExtractor(frames []string) (string, int) { } } } - skip := []string{"sched", "_lock", "_slowlock", "down", "rwsem", "completion", "kthread", + skip := []string{ + "sched", "_lock", "_slowlock", "down", "rwsem", "completion", "kthread", "wait", "synchronize", "context_switch", "__switch_to", "cancel_delayed_work", - "rcu_barrier"} + "rcu_barrier", + } nextFrame: for i, frame := range frames { for _, ignore := range skip { @@ -1147,293 +1153,302 @@ var linuxCorruptedTitles = []*regexp.Regexp{ // In riscv, if show_regs() is called from kernel space, the stack is dumped without a proper indicator. However a // missing stack trace does not necessarily mean the log is corrupted. Match the last line printed by show_regs(), // before the stack dump. -var riscvSpecialStackStart = regexp.MustCompile(`status: [0-9a-f]{16} badaddr: [0-9a-f]{16} cause: [0-9a-f]{16}`) -var linuxStackParams = &stackParams{ - stackStartRes: []*regexp.Regexp{ - regexp.MustCompile(`Call (?:T|t)race`), - regexp.MustCompile(`Allocated:`), - regexp.MustCompile(`Allocated by task [0-9]+:`), - regexp.MustCompile(`Freed:`), - regexp.MustCompile(`Freed by task [0-9]+:`), - // Match 'backtrace:', but exclude 'stack backtrace:' - // Also match optional crc hash for KMEMLEAK reports. - regexp.MustCompile(`[^k] backtrace(?: \(crc [[:xdigit:]]*\))?:`), - regexp.MustCompile(`Backtrace:`), - regexp.MustCompile(`Uninit was stored to memory at`), - // A special stack trace for RISC-V is handled separately. - riscvSpecialStackStart, - }, - frameRes: []*regexp.Regexp{ - compile("^ *(?:{{PC}} ){0,2}{{FUNC}}"), - // Arm is totally different. - // Extract both current and next frames. This is needed for the top - // frame which is present only in LR register which we don't parse. - compile(`^ *{{PC}} \(([a-zA-Z0-9_.]+)\) from {{PC}} \({{FUNC}}`), - }, - skipPatterns: []string{ - "__sanitizer", - "__asan", - "kasan", - "hwasan", - "__msan", - "kmsan", - "kcsan_setup_watchpoint", - "check_memory_region", - "check_heap_object", - "check_object", - "read_word_at_a_time", - "(read|write)_once_.*nocheck", - "print_address_description", - "panic", - "invalid_op", - "report_bug", - "fixup_bug", - "print_report", - "print_usage_bug", - "do_error", - "invalid_op", - `_trap$|do_trap`, - "show_stack", - "dump_stack", - "walk_stack", - "dump_backtrace", - "warn_slowpath", - "warn_alloc", - "warn_bogus", - "__warn", - "alloc_page", - "k?v?(?:m|z|c)alloc", - "krealloc", - "kmem_cache", - "allocate_slab", - "__alloc_frozen_pages_noprof", - "folio_(?:alloc|unlock)", - "filemap_alloc_folio", - "__filemap_get_folio", - "find_or_create_page", - "do_read_cache_folio", - "read_cache_page", - "pagecache_get_page", - "grab_cache_page_write_begin", - "slab_", - "debug_object", - "timer_is_static_object", - "work_is_static_object", - "__might_fault", - "print_unlock", - "imbalance_bug", - "lockdep", - "bh_enable", - "bh_disable", - "perf_trace", - "lock_acquire", - "lock_release", - "lock_class", - "mark_lock", - "(reacquire|mark)_held_locks", - "raw_spin_rq", - "spin_lock", - "spin_trylock", - "spin_unlock", - "read_lock", - "read_trylock", - "write_lock", - "write_trylock", - "read_unlock", - "write_unlock", - "^down$", - "down_read", - "down_write", - "down_read_trylock", - "down_write_trylock", - "down_trylock", - "up_read", - "up_write", - "^mutex_", - "^__mutex_", - "^rt_mutex_", - "owner_on_cpu", - "osq_lock", - "osq_unlock", - "atomic(64)?_(dec|inc|read|set|or|xor|and|add|sub|fetch|xchg|cmpxchg|try)", - "(set|clear|change|test)_bit", - "__wake_up", - "^refcount_", - "^kref_", - "ref_tracker", - "seqprop_assert", - "memcpy", - "memcmp", - "memset", - "memchr", - "memmove", - "memdup", - "strcmp", - "strncmp", - "strcpy", - "strlcpy", - "strncpy", - "strscpy", - "strlen", - "strstr", - "strnstr", - "strnlen", - "strchr", - "strdup", - "strndup", - "copy_to_user", - "copy_from_user", - "copy_to_iter", - "copy_from_iter", - "copy_page_to_iter", - "copy_page_from_iter", - "copy_folio_to_iter", - "^copyin$", - "^copyout$", - "put_user", - "get_user", - "might_fault", - "might_sleep", - "list_add", - "list_del", - "list_replace", - "list_move", - "list_splice", - "^rb_", - "^__rb_", - "_indirect_thunk_", // retpolines - "string", - "pointer", - "snprintf", - "scnprintf", - "kasprintf", - "kvasprintf", - "printk", - "va_format", - "dev_info", - "dev_notice", - "dev_warn", - "dev_err", - "dev_alert", - "dev_crit", - "dev_emerg", - "program_check_exception", - "program_check_common", - "del_timer", - "flush_work", - "__cancel_work_timer", - "cancel_work_sync", - "try_to_grab_pending", - "flush_workqueue", - "drain_workqueue", - "destroy_workqueue", - "queue_work", - "finish_wait", - "kthread_stop", - "kobject_", - "add_uevent_var", - "get_device_parent", - "device_add", - "device_del", - "device_unregister", - "device_destroy", - "device_release", - "devres_release_all", - "hwrng_unregister", - "i2c_del_adapter", - "__unregister_client", - "device_for_each_child", - "rollback_registered", - "unregister_netdev", - "sysfs_remove", - "device_remove_file", - "tty_unregister_device", - "dummy_urb_enqueue", - "usb_kill_urb", - "usb_kill_anchored_urbs", - "usb_control_msg", - "usb_hcd_submit_urb", - "usb_submit_urb", - "^complete$", - "wait_for_completion", - "^kv?free$", - "kfree_skb", - "readb$", - "readw$", - "readl$", - "readq$", - "writeb$", - "writew$", - "writel$", - "writeq$", - "logic_in", - "logic_out", - "^crc\\d+", - "crc_itu_t", - "__might_resched", - "assertfail", - "^iput$", - "^iput_final$", - "^ihold$", - "hex_dump_to_buffer", - "print_hex_dump", - "^klist_", - "(trace|lockdep)_(hard|soft)irq", - "^(un)?lock_page", - "stack_trace_consume_entry", - "arch_stack_walk", - "stack_trace_save", - "insert_work", - "__queue_delayed_work", - "queue_delayed_work_on", - "ida_free", - // arm64 translation exception handling path. - "do_(kernel|translation)_fault", - "do_mem_abort", - "el1_abort", - "el1h_64_sync(?:_handler)?", - "print_tainted", - "xas_(?:start|load|find)", - "find_lock_entries", - "truncate_inode_pages_range", - "__phys_addr", - "__fortify_report", - "cleanup_srcu_struct", - "rhashtable_lookup", - "extract_(user|iter)_to_sg", - "drop_nlink", - "^get_taint$", - "^put_device$", - "lock_timer_base", - "__timer_delete_sync", - "sk_stop_timer_sync", - "__mod_timer", - "fast_dput", - "dput", - }, - corruptedLines: []*regexp.Regexp{ - // Fault injection stacks are frequently intermixed with crash reports. - // Note: the actual symbol can have all kinds of weird suffixes like ".isra.7", ".cold" or ".isra.56.cold.74". - compile(`^( \[\<?(?:0x)?[0-9a-f]+\>?\])? should_fail(slab)?(\.[a-z0-9.]+)?\+0x`), - }, - stripFramePrefixes: []string{ - "SYSC_", - "SyS_", - "sys_", - "__x64_", - "__ia32_", - "__arm64_", - "____sys_", - "___sys_", - "__sys_", - "__se_", - "__se_sys_", - "__do_sys_", - "compat_SYSC_", - "compat_SyS_", - "ksys_", - }, -} +var ( + riscvSpecialStackStart = regexp.MustCompile(`status: [0-9a-f]{16} badaddr: [0-9a-f]{16} cause: [0-9a-f]{16}`) + linuxStackParams = &stackParams{ + stackStartRes: []*regexp.Regexp{ + regexp.MustCompile(`Call (?:T|t)race`), + regexp.MustCompile(`Allocated:`), + regexp.MustCompile(`Allocated by task [0-9]+:`), + regexp.MustCompile(`Freed:`), + regexp.MustCompile(`Freed by task [0-9]+:`), + // Match 'backtrace:', but exclude 'stack backtrace:' + // Also match optional crc hash for KMEMLEAK reports. + regexp.MustCompile(`[^k] backtrace(?: \(crc [[:xdigit:]]*\))?:`), + regexp.MustCompile(`Backtrace:`), + regexp.MustCompile(`Uninit was stored to memory at`), + // A special stack trace for RISC-V is handled separately. + riscvSpecialStackStart, + }, + frameRes: []*regexp.Regexp{ + compile("^ *(?:{{PC}} ){0,2}{{FUNC}}"), + // Arm is totally different. + // Extract both current and next frames. This is needed for the top + // frame which is present only in LR register which we don't parse. + compile(`^ *{{PC}} \(([a-zA-Z0-9_.]+)\) from {{PC}} \({{FUNC}}`), + }, + skipPatterns: []string{ + "__sanitizer", + "__asan", + "kasan", + "hwasan", + "__msan", + "kmsan", + "kcsan_setup_watchpoint", + "check_memory_region", + "check_heap_object", + "check_object", + "read_word_at_a_time", + "(read|write)_once_.*nocheck", + "print_address_description", + "panic", + "invalid_op", + "report_bug", + "fixup_bug", + "print_report", + "print_usage_bug", + "do_error", + "invalid_op", + `_trap$|do_trap`, + "show_stack", + "dump_stack", + "walk_stack", + "dump_backtrace", + "warn_slowpath", + "warn_alloc", + "warn_bogus", + "__warn", + "alloc_page", + "k?v?(?:m|z|c)alloc", + "krealloc", + "kmem_cache", + "allocate_slab", + "__alloc_frozen_pages_noprof", + "folio_(?:alloc|unlock)", + "filemap_alloc_folio", + "__filemap_get_folio", + "find_or_create_page", + "do_read_cache_folio", + "read_cache_page", + "pagecache_get_page", + "grab_cache_page_write_begin", + "slab_", + "debug_object", + "timer_is_static_object", + "work_is_static_object", + "__might_fault", + "print_unlock", + "imbalance_bug", + "lockdep", + "bh_enable", + "bh_disable", + "perf_trace", + "lock_acquire", + "lock_release", + "lock_class", + "mark_lock", + "(reacquire|mark)_held_locks", + "raw_spin_rq", + "spin_lock", + "spin_trylock", + "spin_unlock", + "read_lock", + "read_trylock", + "write_lock", + "write_trylock", + "read_unlock", + "write_unlock", + "^down$", + "down_read", + "down_write", + "down_read_trylock", + "down_write_trylock", + "down_trylock", + "up_read", + "up_write", + "^mutex_", + "^__mutex_", + "^rt_mutex_", + "owner_on_cpu", + "osq_lock", + "osq_unlock", + "atomic(64)?_(dec|inc|read|set|or|xor|and|add|sub|fetch|xchg|cmpxchg|try)", + "(set|clear|change|test)_bit", + "__wake_up", + "^refcount_", + "^kref_", + "ref_tracker", + "seqprop_assert", + "memcpy", + "memcmp", + "memset", + "memchr", + "memmove", + "memdup", + "strcmp", + "strncmp", + "strcpy", + "strlcpy", + "strncpy", + "strscpy", + "strlen", + "strstr", + "strnstr", + "strnlen", + "strchr", + "strdup", + "strndup", + "copy_to_user", + "copy_from_user", + "copy_to_iter", + "copy_from_iter", + "copy_page_to_iter", + "copy_page_from_iter", + "copy_folio_to_iter", + "^copyin$", + "^copyout$", + "put_user", + "get_user", + "might_fault", + "might_sleep", + "list_add", + "list_del", + "list_replace", + "list_move", + "list_splice", + "^rb_", + "^__rb_", + "_indirect_thunk_", // retpolines + "string", + "pointer", + "snprintf", + "scnprintf", + "kasprintf", + "kvasprintf", + "printk", + "va_format", + "dev_info", + "dev_notice", + "dev_warn", + "dev_err", + "dev_alert", + "dev_crit", + "dev_emerg", + "program_check_exception", + "program_check_common", + "del_timer", + "flush_work", + "cancel_work_sync", + "try_to_grab_pending", + "flush_workqueue", + "drain_workqueue", + "destroy_workqueue", + "queue_work", + "finish_wait", + "kthread_stop", + "kobject_", + "add_uevent_var", + "get_device_parent", + "device_add", + "device_del", + "device_unregister", + "device_destroy", + "device_release", + "devres_release_all", + "hwrng_unregister", + "i2c_del_adapter", + "__unregister_client", + "device_for_each_child", + "rollback_registered", + "unregister_netdev", + "sysfs_remove", + "device_remove_file", + "tty_unregister_device", + "dummy_urb_enqueue", + "usb_kill_urb", + "usb_kill_anchored_urbs", + "usb_control_msg", + "usb_hcd_submit_urb", + "usb_submit_urb", + "^complete$", + "wait_for_completion", + "^kv?free$", + "kfree_skb", + "readb$", + "readw$", + "readl$", + "readq$", + "writeb$", + "writew$", + "writel$", + "writeq$", + "logic_in", + "logic_out", + "^crc\\d+", + "crc_itu_t", + "__might_resched", + "assertfail", + "^iput$", + "^iput_final$", + "^ihold$", + "hex_dump_to_buffer", + "print_hex_dump", + "^klist_", + "(trace|lockdep)_(hard|soft)irq", + "^(un)?lock_page", + "stack_trace_consume_entry", + "arch_stack_walk", + "stack_trace_save", + "insert_work", + "__queue_delayed_work", + "queue_delayed_work_on", + "ida_free", + // arm64 translation exception handling path. + "do_(kernel|translation)_fault", + "do_mem_abort", + "el1_abort", + "el1h_64_sync(?:_handler)?", + "print_tainted", + "xas_(?:start|load|find)", + "find_lock_entries", + "truncate_inode_pages_range", + "__phys_addr", + "__fortify_report", + "cleanup_srcu_struct", + "rhashtable_lookup", + "extract_(user|iter)_to_sg", + "drop_nlink", + "^get_taint$", + "^put_device$", + "lock_timer_base", + "__timer_delete_sync", + "sk_stop_timer_sync", + "enqueue_timer", + "internal_add_timer", + "__mod_timer", + "fast_dput", + "dput", + "mod_timer", + "queue_delayed_work", + "detach_timer", + "detach_if_pending", + "__cancel_work_timer", + "mark_buffer_dirty", + }, + corruptedLines: []*regexp.Regexp{ + // Fault injection stacks are frequently intermixed with crash reports. + // Note: the actual symbol can have all kinds of weird suffixes like ".isra.7", ".cold" or ".isra.56.cold.74". + compile(`^( \[\<?(?:0x)?[0-9a-f]+\>?\])? should_fail(slab)?(\.[a-z0-9.]+)?\+0x`), + }, + stripFramePrefixes: []string{ + "SYSC_", + "SyS_", + "sys_", + "__x64_", + "__ia32_", + "__arm64_", + "____sys_", + "___sys_", + "__sys_", + "__se_", + "__se_sys_", + "__do_sys_", + "compat_SYSC_", + "compat_SyS_", + "ksys_", + }, + } +) func warningStackFmt(skip ...string) *stackFmt { return &stackFmt{ @@ -1528,7 +1543,8 @@ var linuxOopses = append([]*oops{ "alloc_skb", "netlink_ack", "netlink_rcv_skb", // Encryption routines are the place where we hit the bug, but // the generic code is a bad candidate for bug titles. - "_encrypt$", "^(?:crypto|cipher|drbg|rng)_"}, + "_encrypt$", "^(?:crypto|cipher|drbg|rng)_", + }, }, noStackTrace: true, }, @@ -1719,9 +1735,11 @@ var linuxOopses = append([]*oops{ compile(`page last allocated`), parseStackTrace, }, - skip: []string{"(free|put|get|update|release)_page", + skip: []string{ + "(free|put|get|update|release)_page", "free_unref", "^_*folio", "truncate_inode_pages", - "page_frag_free", "alloc", "vmap", "page_owner"}, + "page_frag_free", "alloc", "vmap", "page_owner", + }, }, }, { @@ -1751,8 +1769,10 @@ var linuxOopses = append([]*oops{ linuxCallTrace, parseStackTrace, }, - skip: []string{"dump_stack", "preemption", "preempt", "debug_", - "processor_id", "this_cpu"}, + skip: []string{ + "dump_stack", "preemption", "preempt", "debug_", + "processor_id", "this_cpu", + }, }, }, { @@ -1770,9 +1790,11 @@ var linuxOopses = append([]*oops{ compile("backtrace(?: \\(crc [[:xdigit:]]*\\))?:"), parseStackTrace, }, - skip: []string{"kmemleak", "mmap", "kmem", "slab", "alloc", "create_object", + skip: []string{ + "kmemleak", "mmap", "kmem", "slab", "alloc", "create_object", "idr_get", "list_lru_init", "kasprintf", "kvasprintf", - "pcpu_create", "strdup", "strndup", "memdup"}, + "pcpu_create", "strdup", "strndup", "memdup", + }, }, }, { @@ -1920,8 +1942,10 @@ var linuxOopses = append([]*oops{ // These workqueue functions take locks associated with work items. // All deadlocks observed in these functions are // work-item-subsystem-related. - skip: []string{"process_one_work", "flush_workqueue", - "drain_workqueue", "destroy_workqueue"}, + skip: []string{ + "process_one_work", "flush_workqueue", + "drain_workqueue", "destroy_workqueue", + }, }, }, { diff --git a/pkg/report/testdata/linux/decompile/amd64/2.in b/pkg/report/testdata/linux/decompile/amd64/2.in deleted file mode 100644 index 7559caf25..000000000 --- a/pkg/report/testdata/linux/decompile/amd64/2.in +++ /dev/null @@ -1,164 +0,0 @@ -rcu: INFO: rcu_preempt self-detected stall on CPU -rcu: 0-...!: (2 ticks this GP) idle=4de/1/0x4000000000000000 softirq=11238/11238 fqs=0 - (t=13326 jiffies g=13217 q=742) -rcu: rcu_preempt kthread timer wakeup didn't happen for 13325 jiffies! g13217 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 -rcu: Possible timer handling issue on cpu=0 timer-softirq=29073 -rcu: rcu_preempt kthread starved for 13326 jiffies! g13217 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 -rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. -rcu: RCU grace-period kthread stack dump: -task:rcu_preempt state:I stack:29096 pid: 14 ppid: 2 flags:0x00004000 -Call Trace: - context_switch kernel/sched/core.c:4683 [inline] - __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 - schedule+0xd3/0x270 kernel/sched/core.c:6019 - schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1878 - rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] - rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -rcu: Stack dump where RCU GP kthread last ran: -NMI backtrace for cpu 0 -CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: bat_events batadv_tt_purge -Call Trace: - <IRQ> - __dump_stack lib/dump_stack.c:88 [inline] - dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 - nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 - nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 - trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] - rcu_check_gp_kthread_starvation.cold+0x1d1/0x1d6 kernel/rcu/tree_stall.h:479 - print_cpu_stall kernel/rcu/tree_stall.h:623 [inline] - check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] - rcu_pending kernel/rcu/tree.c:3922 [inline] - rcu_sched_clock_irq.cold+0x9a/0x747 kernel/rcu/tree.c:2641 - update_process_times+0x16d/0x200 kernel/time/timer.c:1782 - tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 - tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 - __run_hrtimer kernel/time/hrtimer.c:1537 [inline] - __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 -Code: 1d ad 91 bc 7e 65 8b 05 a6 91 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 15 2a 09 00 e8 50 84 35 00 fb 65 8b 05 88 91 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 98 bc 7e 85 c0 75 a2 0f 0b eb 9e -RSP: 0018:ffffc90000f0fc10 EFLAGS: 00000206 -RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff1fa584a -RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 -RBP: ffffffff88ca93e5 R08: 0000000000000001 R09: ffffffff8fcd7987 -R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90000f0fdb0 -R13: ffff888042de12f8 R14: 0000000000000082 R15: dffffc0000000000 - spin_unlock_bh include/linux/spinlock.h:399 [inline] - batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1369 - batadv_tt_purge+0x2c/0xaf0 net/batman-adv/translation-table.c:3591 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -NMI backtrace for cpu 0 -CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: bat_events batadv_tt_purge -Call Trace: - <IRQ> - __dump_stack lib/dump_stack.c:88 [inline] - dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 - nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 - nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 - trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] - rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:342 - print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] - check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] - rcu_pending kernel/rcu/tree.c:3922 [inline] - rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2641 - update_process_times+0x16d/0x200 kernel/time/timer.c:1782 - tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 - tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 - __run_hrtimer kernel/time/hrtimer.c:1537 [inline] - __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 -Code: 1d ad 91 bc 7e 65 8b 05 a6 91 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 15 2a 09 00 e8 50 84 35 00 fb 65 8b 05 88 91 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 98 bc 7e 85 c0 75 a2 0f 0b eb 9e -RSP: 0018:ffffc90000f0fc10 EFLAGS: 00000206 -RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff1fa584a -RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 -RBP: ffffffff88ca93e5 R08: 0000000000000001 R09: ffffffff8fcd7987 -R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90000f0fdb0 -R13: ffff888042de12f8 R14: 0000000000000082 R15: dffffc0000000000 - spin_unlock_bh include/linux/spinlock.h:399 [inline] - batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1369 - batadv_tt_purge+0x2c/0xaf0 net/batman-adv/translation-table.c:3591 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -Sending NMI from CPU 0 to CPUs 1: -NMI backtrace for cpu 1 -CPU: 1 PID: 9018 Comm: kworker/u4:2 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: events_unbound toggle_allocation_gate -RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xc/0x70 kernel/kcov.c:283 -Code: 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 <89> f1 65 48 8b 34 25 00 f0 01 00 e8 e4 ee ff ff 84 c0 74 4b 48 8b -RSP: 0018:ffffc90000fd8df8 EFLAGS: 00000046 -RAX: 0000000000010002 RBX: ffff8880b9d424c0 RCX: 0000000000000000 -RDX: ffff88802e756280 RSI: 0000000000000001 RDI: 0000000000000003 -RBP: ffff88802539bb40 R08: 0000000000000007 R09: ffffffff904c64ab -R10: ffffffff816467fb R11: 0000000000000000 R12: 0000000000000001 -R13: 0000000000000000 R14: ffff8880b9d423c0 R15: 0000000000000001 -FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 0000000020000600 CR3: 000000000b68e000 CR4: 00000000001506e0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 -Call Trace: - <IRQ> - cpu_max_bits_warn include/linux/cpumask.h:108 [inline] - cpumask_check include/linux/cpumask.h:115 [inline] - cpumask_test_cpu include/linux/cpumask.h:344 [inline] - cpu_online include/linux/cpumask.h:895 [inline] - trace_hrtimer_start include/trace/events/timer.h:195 [inline] - debug_activate kernel/time/hrtimer.c:476 [inline] - enqueue_hrtimer+0x4b/0x3e0 kernel/time/hrtimer.c:982 - __run_hrtimer kernel/time/hrtimer.c:1554 [inline] - __hrtimer_run_queues+0xb02/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] -RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:967 -Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 c0 48 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 -RSP: 0018:ffffc900037b7a00 EFLAGS: 00000293 -RAX: 0000000000000000 RBX: ffff8880b9c55de0 RCX: 0000000000000000 -RDX: ffff88802e756280 RSI: ffffffff816975f0 RDI: 0000000000000003 -RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 -R10: ffffffff81697616 R11: 0000000000000000 R12: ffffed101738abbd -R13: 0000000000000000 R14: ffff8880b9c55de8 R15: 0000000000000001 - on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1133 - on_each_cpu include/linux/smp.h:71 [inline] - text_poke_sync arch/x86/kernel/alternative.c:929 [inline] - text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1114 - text_poke_flush arch/x86/kernel/alternative.c:1268 [inline] - text_poke_flush arch/x86/kernel/alternative.c:1265 [inline] - text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1275 - arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:145 - jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 - static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 - static_key_disable+0x16/0x20 kernel/jump_label.c:215 - toggle_allocation_gate mm/kfence/core.c:637 [inline] - toggle_allocation_gate+0x185/0x390 mm/kfence/core.c:615 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 diff --git a/pkg/report/testdata/linux/decompile/amd64/2.out b/pkg/report/testdata/linux/decompile/amd64/2.out deleted file mode 100644 index 7559caf25..000000000 --- a/pkg/report/testdata/linux/decompile/amd64/2.out +++ /dev/null @@ -1,164 +0,0 @@ -rcu: INFO: rcu_preempt self-detected stall on CPU -rcu: 0-...!: (2 ticks this GP) idle=4de/1/0x4000000000000000 softirq=11238/11238 fqs=0 - (t=13326 jiffies g=13217 q=742) -rcu: rcu_preempt kthread timer wakeup didn't happen for 13325 jiffies! g13217 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 -rcu: Possible timer handling issue on cpu=0 timer-softirq=29073 -rcu: rcu_preempt kthread starved for 13326 jiffies! g13217 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 -rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. -rcu: RCU grace-period kthread stack dump: -task:rcu_preempt state:I stack:29096 pid: 14 ppid: 2 flags:0x00004000 -Call Trace: - context_switch kernel/sched/core.c:4683 [inline] - __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 - schedule+0xd3/0x270 kernel/sched/core.c:6019 - schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1878 - rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] - rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -rcu: Stack dump where RCU GP kthread last ran: -NMI backtrace for cpu 0 -CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: bat_events batadv_tt_purge -Call Trace: - <IRQ> - __dump_stack lib/dump_stack.c:88 [inline] - dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 - nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 - nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 - trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] - rcu_check_gp_kthread_starvation.cold+0x1d1/0x1d6 kernel/rcu/tree_stall.h:479 - print_cpu_stall kernel/rcu/tree_stall.h:623 [inline] - check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] - rcu_pending kernel/rcu/tree.c:3922 [inline] - rcu_sched_clock_irq.cold+0x9a/0x747 kernel/rcu/tree.c:2641 - update_process_times+0x16d/0x200 kernel/time/timer.c:1782 - tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 - tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 - __run_hrtimer kernel/time/hrtimer.c:1537 [inline] - __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 -Code: 1d ad 91 bc 7e 65 8b 05 a6 91 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 15 2a 09 00 e8 50 84 35 00 fb 65 8b 05 88 91 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 98 bc 7e 85 c0 75 a2 0f 0b eb 9e -RSP: 0018:ffffc90000f0fc10 EFLAGS: 00000206 -RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff1fa584a -RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 -RBP: ffffffff88ca93e5 R08: 0000000000000001 R09: ffffffff8fcd7987 -R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90000f0fdb0 -R13: ffff888042de12f8 R14: 0000000000000082 R15: dffffc0000000000 - spin_unlock_bh include/linux/spinlock.h:399 [inline] - batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1369 - batadv_tt_purge+0x2c/0xaf0 net/batman-adv/translation-table.c:3591 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -NMI backtrace for cpu 0 -CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: bat_events batadv_tt_purge -Call Trace: - <IRQ> - __dump_stack lib/dump_stack.c:88 [inline] - dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 - nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 - nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 - trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] - rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:342 - print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] - check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] - rcu_pending kernel/rcu/tree.c:3922 [inline] - rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2641 - update_process_times+0x16d/0x200 kernel/time/timer.c:1782 - tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 - tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 - __run_hrtimer kernel/time/hrtimer.c:1537 [inline] - __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 -Code: 1d ad 91 bc 7e 65 8b 05 a6 91 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 15 2a 09 00 e8 50 84 35 00 fb 65 8b 05 88 91 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 98 bc 7e 85 c0 75 a2 0f 0b eb 9e -RSP: 0018:ffffc90000f0fc10 EFLAGS: 00000206 -RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff1fa584a -RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 -RBP: ffffffff88ca93e5 R08: 0000000000000001 R09: ffffffff8fcd7987 -R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90000f0fdb0 -R13: ffff888042de12f8 R14: 0000000000000082 R15: dffffc0000000000 - spin_unlock_bh include/linux/spinlock.h:399 [inline] - batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1369 - batadv_tt_purge+0x2c/0xaf0 net/batman-adv/translation-table.c:3591 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 -Sending NMI from CPU 0 to CPUs 1: -NMI backtrace for cpu 1 -CPU: 1 PID: 9018 Comm: kworker/u4:2 Not tainted 5.14.0-rc2-syzkaller #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -Workqueue: events_unbound toggle_allocation_gate -RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xc/0x70 kernel/kcov.c:283 -Code: 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 <89> f1 65 48 8b 34 25 00 f0 01 00 e8 e4 ee ff ff 84 c0 74 4b 48 8b -RSP: 0018:ffffc90000fd8df8 EFLAGS: 00000046 -RAX: 0000000000010002 RBX: ffff8880b9d424c0 RCX: 0000000000000000 -RDX: ffff88802e756280 RSI: 0000000000000001 RDI: 0000000000000003 -RBP: ffff88802539bb40 R08: 0000000000000007 R09: ffffffff904c64ab -R10: ffffffff816467fb R11: 0000000000000000 R12: 0000000000000001 -R13: 0000000000000000 R14: ffff8880b9d423c0 R15: 0000000000000001 -FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 0000000020000600 CR3: 000000000b68e000 CR4: 00000000001506e0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 -Call Trace: - <IRQ> - cpu_max_bits_warn include/linux/cpumask.h:108 [inline] - cpumask_check include/linux/cpumask.h:115 [inline] - cpumask_test_cpu include/linux/cpumask.h:344 [inline] - cpu_online include/linux/cpumask.h:895 [inline] - trace_hrtimer_start include/trace/events/timer.h:195 [inline] - debug_activate kernel/time/hrtimer.c:476 [inline] - enqueue_hrtimer+0x4b/0x3e0 kernel/time/hrtimer.c:982 - __run_hrtimer kernel/time/hrtimer.c:1554 [inline] - __hrtimer_run_queues+0xb02/0xe50 kernel/time/hrtimer.c:1601 - hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 - local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] - __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 - sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 - </IRQ> - asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 -RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] -RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:967 -Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 c0 48 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 -RSP: 0018:ffffc900037b7a00 EFLAGS: 00000293 -RAX: 0000000000000000 RBX: ffff8880b9c55de0 RCX: 0000000000000000 -RDX: ffff88802e756280 RSI: ffffffff816975f0 RDI: 0000000000000003 -RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 -R10: ffffffff81697616 R11: 0000000000000000 R12: ffffed101738abbd -R13: 0000000000000000 R14: ffff8880b9c55de8 R15: 0000000000000001 - on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1133 - on_each_cpu include/linux/smp.h:71 [inline] - text_poke_sync arch/x86/kernel/alternative.c:929 [inline] - text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1114 - text_poke_flush arch/x86/kernel/alternative.c:1268 [inline] - text_poke_flush arch/x86/kernel/alternative.c:1265 [inline] - text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1275 - arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:145 - jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 - static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 - static_key_disable+0x16/0x20 kernel/jump_label.c:215 - toggle_allocation_gate mm/kfence/core.c:637 [inline] - toggle_allocation_gate+0x185/0x390 mm/kfence/core.c:615 - process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 - worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 - kthread+0x3e5/0x4d0 kernel/kthread.c:319 - ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 diff --git a/pkg/report/testdata/linux/decompile/amd64/4.in b/pkg/report/testdata/linux/decompile/amd64/4.in deleted file mode 100644 index cf27b1f07..000000000 --- a/pkg/report/testdata/linux/decompile/amd64/4.in +++ /dev/null @@ -1,55 +0,0 @@ -divide error: 0000 [#1] PREEMPT SMP KASAN -CPU: 1 PID: 3149 Comm: syz-executor385 Not tainted 5.4.141-syzkaller-16412-gf364839bcf0b #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -RIP: 0010:snd_pcm_lib_ioctl_fifo_size sound/core/pcm_lib.c:1739 [inline] -RIP: 0010:snd_pcm_lib_ioctl+0x73e/0x75c sound/core/pcm_lib.c:1764 -Code: fd 4c 89 e2 b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 e7 e8 f0 8e 14 fe 48 8b 83 18 02 00 00 89 ed 31 d2 <48> f7 f5 48 89 83 18 02 00 00 45 31 ed e8 7f b5 f2 fd 44 89 e8 5b -RSP: 0018:ffff8881da17fb78 EFLAGS: 00010246 -RAX: 0000000000000000 RBX: ffff8881dce33800 RCX: ffff8881dd6a9980 -RDX: 0000000000000000 RSI: ffffffff833e3709 RDI: 0000000100000000 -RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000007 -R10: ffff8881dd6a9980 R11: ffffffff8134d1e8 R12: ffff8881dce33a18 -R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 -FS: 0000000002290300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 0000000020001090 CR3: 00000001d89ec000 CR4: 00000000001406e0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 -Call Trace: - snd_pcm_ops_ioctl+0x76/0xa0 sound/core/pcm_native.c:196 - fixup_unreferenced_params+0x46b/0x547 sound/core/pcm_native.c:471 - snd_pcm_hw_refine_old_user sound/core/pcm_native.c:3700 [inline] - snd_pcm_common_ioctl+0x1002/0x1764 sound/core/pcm_native.c:3036 - snd_pcm_ioctl+0x93/0xa9 sound/core/pcm_native.c:3073 - vfs_ioctl+0x76/0x9e fs/ioctl.c:47 - do_vfs_ioctl+0xfc5/0x1022 fs/ioctl.c:722 - ksys_ioctl+0x79/0xb1 fs/ioctl.c:737 - __do_sys_ioctl fs/ioctl.c:744 [inline] - __se_sys_ioctl fs/ioctl.c:742 [inline] - __x64_sys_ioctl+0x7f/0x86 fs/ioctl.c:742 - do_syscall_64+0x10b/0x144 arch/x86/entry/common.c:299 - entry_SYSCALL_64_after_hwframe+0x49/0xbe -RIP: 0033:0x443649 -Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 -RSP: 002b:00007ffef556a688 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 -RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 0000000000443649 -RDX: 00000000200010c0 RSI: 00000000c1004110 RDI: 0000000000000003 -RBP: 00000000004031f0 R08: 0000000000000000 R09: 00000000004004a0 -R10: 000000000000001f R11: 0000000000000246 R12: 0000000000403280 -R13: 0000000000000000 R14: 00000000004b1018 R15: 00000000004004a0 -Modules linked in: ----[ end trace 7398808905092392 ]--- -RIP: 0010:snd_pcm_lib_ioctl_fifo_size sound/core/pcm_lib.c:1739 [inline] -RIP: 0010:snd_pcm_lib_ioctl+0x73e/0x75c sound/core/pcm_lib.c:1764 -Code: fd 4c 89 e2 b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 e7 e8 f0 8e 14 fe 48 8b 83 18 02 00 00 89 ed 31 d2 <48> f7 f5 48 89 83 18 02 00 00 45 31 ed e8 7f b5 f2 fd 44 89 e8 5b -RSP: 0018:ffff8881da17fb78 EFLAGS: 00010246 -RAX: 0000000000000000 RBX: ffff8881dce33800 RCX: ffff8881dd6a9980 -RDX: 0000000000000000 RSI: ffffffff833e3709 RDI: 0000000100000000 -RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000007 -R10: ffff8881dd6a9980 R11: ffffffff8134d1e8 R12: ffff8881dce33a18 -R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 -FS: 0000000002290300(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 00007b48899bf000 CR3: 00000001d89ec000 CR4: 00000000001406f0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 diff --git a/pkg/report/testdata/linux/decompile/amd64/4.out b/pkg/report/testdata/linux/decompile/amd64/4.out deleted file mode 100644 index bc120238f..000000000 --- a/pkg/report/testdata/linux/decompile/amd64/4.out +++ /dev/null @@ -1,75 +0,0 @@ -divide error: 0000 [#1] PREEMPT SMP KASAN -CPU: 1 PID: 3149 Comm: syz-executor385 Not tainted 5.4.141-syzkaller-16412-gf364839bcf0b #0 -Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 -RIP: 0010:snd_pcm_lib_ioctl_fifo_size sound/core/pcm_lib.c:1739 [inline] -RIP: 0010:snd_pcm_lib_ioctl+0x73e/0x75c sound/core/pcm_lib.c:1764 -Code: fd 4c 89 e2 b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 e7 e8 f0 8e 14 fe 48 8b 83 18 02 00 00 89 ed 31 d2 <48> f7 f5 48 89 83 18 02 00 00 45 31 ed e8 7f b5 f2 fd 44 89 e8 5b -RSP: 0018:ffff8881da17fb78 EFLAGS: 00010246 -RAX: 0000000000000000 RBX: ffff8881dce33800 RCX: ffff8881dd6a9980 -RDX: 0000000000000000 RSI: ffffffff833e3709 RDI: 0000000100000000 -RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000007 -R10: ffff8881dd6a9980 R11: ffffffff8134d1e8 R12: ffff8881dce33a18 -R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 -FS: 0000000002290300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 0000000020001090 CR3: 00000001d89ec000 CR4: 00000000001406e0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 -Call Trace: - snd_pcm_ops_ioctl+0x76/0xa0 sound/core/pcm_native.c:196 - fixup_unreferenced_params+0x46b/0x547 sound/core/pcm_native.c:471 - snd_pcm_hw_refine_old_user sound/core/pcm_native.c:3700 [inline] - snd_pcm_common_ioctl+0x1002/0x1764 sound/core/pcm_native.c:3036 - snd_pcm_ioctl+0x93/0xa9 sound/core/pcm_native.c:3073 - vfs_ioctl+0x76/0x9e fs/ioctl.c:47 - do_vfs_ioctl+0xfc5/0x1022 fs/ioctl.c:722 - ksys_ioctl+0x79/0xb1 fs/ioctl.c:737 - __do_sys_ioctl fs/ioctl.c:744 [inline] - __se_sys_ioctl fs/ioctl.c:742 [inline] - __x64_sys_ioctl+0x7f/0x86 fs/ioctl.c:742 - do_syscall_64+0x10b/0x144 arch/x86/entry/common.c:299 - entry_SYSCALL_64_after_hwframe+0x49/0xbe -RIP: 0033:0x443649 -Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 -RSP: 002b:00007ffef556a688 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 -RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 0000000000443649 -RDX: 00000000200010c0 RSI: 00000000c1004110 RDI: 0000000000000003 -RBP: 00000000004031f0 R08: 0000000000000000 R09: 00000000004004a0 -R10: 000000000000001f R11: 0000000000000246 R12: 0000000000403280 -R13: 0000000000000000 R14: 00000000004b1018 R15: 00000000004004a0 -Modules linked in: ----[ end trace 7398808905092392 ]--- -RIP: 0010:snd_pcm_lib_ioctl_fifo_size sound/core/pcm_lib.c:1739 [inline] -RIP: 0010:snd_pcm_lib_ioctl+0x73e/0x75c sound/core/pcm_lib.c:1764 -Code: fd 4c 89 e2 b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 e7 e8 f0 8e 14 fe 48 8b 83 18 02 00 00 89 ed 31 d2 <48> f7 f5 48 89 83 18 02 00 00 45 31 ed e8 7f b5 f2 fd 44 89 e8 5b -RSP: 0018:ffff8881da17fb78 EFLAGS: 00010246 -RAX: 0000000000000000 RBX: ffff8881dce33800 RCX: ffff8881dd6a9980 -RDX: 0000000000000000 RSI: ffffffff833e3709 RDI: 0000000100000000 -RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000007 -R10: ffff8881dd6a9980 R11: ffffffff8134d1e8 R12: ffff8881dce33a18 -R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 -FS: 0000000002290300(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 -CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -CR2: 00007b48899bf000 CR3: 00000001d89ec000 CR4: 00000000001406f0 -DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 -DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ----------------- -Code disassembly (best guess): - 0: fd std - 1: 4c 89 e2 mov %r12,%rdx - 4: b8 ff ff 37 00 mov $0x37ffff,%eax - 9: 48 c1 ea 03 shr $0x3,%rdx - d: 48 c1 e0 2a shl $0x2a,%rax - 11: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) - 15: 74 08 je 0x1f - 17: 4c 89 e7 mov %r12,%rdi - 1a: e8 f0 8e 14 fe call 0xfe148f0f - 1f: 48 8b 83 18 02 00 00 mov 0x218(%rbx),%rax - 26: 89 ed mov %ebp,%ebp - 28: 31 d2 xor %edx,%edx -* 2a: 48 f7 f5 div %rbp <-- trapping instruction - 2d: 48 89 83 18 02 00 00 mov %rax,0x218(%rbx) - 34: 45 31 ed xor %r13d,%r13d - 37: e8 7f b5 f2 fd call 0xfdf2b5bb - 3c: 44 89 e8 mov %r13d,%eax - 3f: 5b pop %rbx diff --git a/pkg/report/testdata/linux/report/569 b/pkg/report/testdata/linux/report/569 index e91c26024..daff7f822 100644 --- a/pkg/report/testdata/linux/report/569 +++ b/pkg/report/testdata/linux/report/569 @@ -1,5 +1,5 @@ -TITLE: KASAN: invalid-access Read in enqueue_timer -ALT: bad-access in enqueue_timer +TITLE: KASAN: invalid-access Read in wg_timers_any_authenticated_packet_traversal +ALT: bad-access in wg_timers_any_authenticated_packet_traversal TYPE: KASAN-READ [ 1039.654796][ C0] ================================================================== |
