AI Trajectory


Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/11/10 12:17 flow patch-triage
0m Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "KMSANReasoning": "",
  "NeedsKMSAN": false,
  "Reasoning": "The patch modifies architecture-specific code under arch/arm64/ (making various helpers __always_inline/noinstr for noinstr instrumentation safety), which is exclusive to arm64 and not compiled or executable on the target architecture (amd64).",
  "WorthFuzzing": false
}

1/1 2026/11/10 12:17 action read-patch-diff
0m Args:
null

Results:
{
  "PatchDiff": "commit daac84ae38971705302ebba51d51080a28f1c1df\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate:   Tue Nov 10 12:17:09 2026 +0000\n\n    syz-cluster: applied patch under review\n\ndiff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h\nindex e3c8a1493dc8d9..c62949693b9266 100644\n--- a/arch/arm64/include/asm/cpufeature.h\n+++ b/arch/arm64/include/asm/cpufeature.h\n@@ -774,7 +774,7 @@ static __always_inline bool system_supports_fpsimd(void)\n \treturn alternative_has_cap_likely(ARM64_HAS_FPSIMD);\n }\n \n-static inline bool system_uses_hw_pan(void)\n+static __always_inline bool system_uses_hw_pan(void)\n {\n \treturn alternative_has_cap_unlikely(ARM64_HAS_PAN);\n }\n@@ -840,12 +840,12 @@ static __always_inline bool system_uses_irq_prio_masking(void)\n \treturn alternative_has_cap_unlikely(ARM64_HAS_GIC_PRIO_MASKING);\n }\n \n-static inline bool system_supports_mte(void)\n+static __always_inline bool system_supports_mte(void)\n {\n \treturn alternative_has_cap_unlikely(ARM64_MTE);\n }\n \n-static inline bool system_has_prio_mask_debugging(void)\n+static __always_inline bool system_has_prio_mask_debugging(void)\n {\n \treturn IS_ENABLED(CONFIG_ARM64_DEBUG_PRIORITY_MASKING) \u0026\u0026\n \t       system_uses_irq_prio_masking();\n@@ -950,7 +950,7 @@ static inline bool cpu_has_hw_af(void)\n \t\t\t\t\t\tID_AA64MMFR1_EL1_HAFDBS_SHIFT);\n }\n \n-static inline bool cpu_has_pan(void)\n+static __always_inline bool cpu_has_pan(void)\n {\n \tu64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1);\n \treturn cpuid_feature_extract_unsigned_field(mmfr1,\ndiff --git a/arch/arm64/include/asm/entry-common.h b/arch/arm64/include/asm/entry-common.h\nindex 1905765159aa7f..4856bc453c0149 100644\n--- a/arch/arm64/include/asm/entry-common.h\n+++ b/arch/arm64/include/asm/entry-common.h\n@@ -27,7 +27,7 @@ static __always_inline void arch_exit_to_user_mode_work(struct pt_regs *regs,\n \n #define arch_exit_to_user_mode_work arch_exit_to_user_mode_work\n \n-static inline bool arch_irqentry_exit_need_resched(void)\n+static __always_inline bool arch_irqentry_exit_need_resched(void)\n {\n \t/*\n \t * DAIF.DA are cleared at the start of IRQ/FIQ handling, and when GIC\ndiff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h\nindex a67d5774e67280..157d0551f62793 100644\n--- a/arch/arm64/include/asm/fpsimd.h\n+++ b/arch/arm64/include/asm/fpsimd.h\n@@ -749,14 +749,14 @@ void sme_enable_dvmsync(void);\n void sme_set_active(void);\n void sme_clear_active(void);\n \n-static inline void sme_enter_from_user_mode(void)\n+static __always_inline void sme_enter_from_user_mode(void)\n {\n \tif (alternative_has_cap_unlikely(ARM64_WORKAROUND_4193714) \u0026\u0026\n \t    test_thread_flag(TIF_SME))\n \t\tsme_clear_active();\n }\n \n-static inline void sme_exit_to_user_mode(void)\n+static __always_inline void sme_exit_to_user_mode(void)\n {\n \tif (alternative_has_cap_unlikely(ARM64_WORKAROUND_4193714) \u0026\u0026\n \t    test_thread_flag(TIF_SME))\ndiff --git a/arch/arm64/include/asm/mte-kasan.h b/arch/arm64/include/asm/mte-kasan.h\nindex de910f1c19e1b2..cc2151325eb0c5 100644\n--- a/arch/arm64/include/asm/mte-kasan.h\n+++ b/arch/arm64/include/asm/mte-kasan.h\n@@ -18,14 +18,14 @@\n /* Whether the MTE asynchronous mode is enabled. */\n DECLARE_STATIC_KEY_FALSE(mte_async_or_asymm_mode);\n \n-static inline bool system_uses_mte_async_or_asymm_mode(void)\n+static __always_inline bool system_uses_mte_async_or_asymm_mode(void)\n {\n \treturn static_branch_unlikely(\u0026mte_async_or_asymm_mode);\n }\n \n #else /* CONFIG_KASAN_HW_TAGS */\n \n-static inline bool system_uses_mte_async_or_asymm_mode(void)\n+static __always_inline bool system_uses_mte_async_or_asymm_mode(void)\n {\n \treturn false;\n }\ndiff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h\nindex 83f3b05fc78490..b2bf2e70c9aec8 100644\n--- a/arch/arm64/include/asm/mte.h\n+++ b/arch/arm64/include/asm/mte.h\n@@ -222,7 +222,7 @@ static inline bool folio_try_hugetlb_mte_tagging(struct folio *folio)\n }\n #endif\n \n-static inline void mte_disable_tco_entry(struct task_struct *task)\n+static __always_inline void mte_disable_tco_entry(struct task_struct *task)\n {\n \tif (!system_supports_mte())\n \t\treturn;\n@@ -245,7 +245,7 @@ static inline void mte_disable_tco_entry(struct task_struct *task)\n #ifdef CONFIG_KASAN_HW_TAGS\n void mte_check_tfsr_el1(void);\n \n-static inline void mte_check_tfsr_entry(void)\n+static __always_inline void mte_check_tfsr_entry(void)\n {\n \tif (!kasan_hw_tags_enabled())\n \t\treturn;\n@@ -256,7 +256,7 @@ static inline void mte_check_tfsr_entry(void)\n \tmte_check_tfsr_el1();\n }\n \n-static inline void mte_check_tfsr_exit(void)\n+static __always_inline void mte_check_tfsr_exit(void)\n {\n \tif (!kasan_hw_tags_enabled())\n \t\treturn;\ndiff --git a/arch/arm64/include/asm/percpu.h b/arch/arm64/include/asm/percpu.h\nindex 3cc316091d6655..7c344de5052d59 100644\n--- a/arch/arm64/include/asm/percpu.h\n+++ b/arch/arm64/include/asm/percpu.h\n@@ -23,7 +23,7 @@ static inline void set_my_cpu_offset(unsigned long off)\n \t\t\t:: \"r\" (off) : \"memory\");\n }\n \n-static inline unsigned long __hyp_my_cpu_offset(void)\n+static __always_inline unsigned long __hyp_my_cpu_offset(void)\n {\n \t/*\n \t * Non-VHE hyp code runs with preemption disabled. No need to hazard\n@@ -37,7 +37,7 @@ static inline unsigned long __hyp_my_cpu_offset(void)\n \t\t    \"mrs \" dst \", tpidr_el2\",\t\t\t\t\\\n \t\t       ARM64_HAS_VIRT_HOST_EXTN)\n \n-static inline unsigned long __kern_my_cpu_offset(void)\n+static __always_inline unsigned long __kern_my_cpu_offset(void)\n {\n \tunsigned long off;\n \n@@ -129,7 +129,7 @@ static inline unsigned long __kern_my_cpu_offset(void)\n #endif\n \n #define PERCPU_RW_OPS(w, sfx, sz)\t\t\t\t\t\t\\\n-static inline unsigned long __percpu_read_##sz(void __percpu *pcp)\t\t\\\n+static __always_inline unsigned long __percpu_read_##sz(void __percpu *pcp)\t\t\\\n {\t\t\t\t\t\t\t\t\t\t\\\n \tu16 *gprs = \u0026current_thread_info()-\u003epcpu_gprs;\t\t\t\t\\\n \tunsigned long off;\t\t\t\t\t\t\t\\\ndiff --git a/arch/arm64/include/asm/stacktrace.h b/arch/arm64/include/asm/stacktrace.h\nindex 6d3280932bf5cd..b370c0e1e3377e 100644\n--- a/arch/arm64/include/asm/stacktrace.h\n+++ b/arch/arm64/include/asm/stacktrace.h\n@@ -22,7 +22,7 @@ extern void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk,\n \n DECLARE_PER_CPU(unsigned long *, irq_stack_ptr);\n \n-static inline struct stack_info stackinfo_get_irq(void)\n+static __always_inline struct stack_info stackinfo_get_irq(void)\n {\n \tunsigned long low = (unsigned long)raw_cpu_read(irq_stack_ptr);\n \tunsigned long high = low + IRQ_STACK_SIZE;\n@@ -33,13 +33,13 @@ static inline struct stack_info stackinfo_get_irq(void)\n \t};\n }\n \n-static inline bool on_irq_stack(unsigned long sp, unsigned long size)\n+static __always_inline bool on_irq_stack(unsigned long sp, unsigned long size)\n {\n \tstruct stack_info info = stackinfo_get_irq();\n \treturn stackinfo_on_stack(\u0026info, sp, size);\n }\n \n-static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk)\n+static __always_inline struct stack_info stackinfo_get_task(const struct task_struct *tsk)\n {\n \tunsigned long low = (unsigned long)task_stack_page(tsk);\n \tunsigned long high = low + THREAD_SIZE;\n@@ -50,7 +50,7 @@ static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk\n \t};\n }\n \n-static inline bool on_task_stack(const struct task_struct *tsk,\n+static __always_inline bool on_task_stack(const struct task_struct *tsk,\n \t\t\t\t unsigned long sp, unsigned long size)\n {\n \tstruct stack_info info = stackinfo_get_task(tsk);\n@@ -61,7 +61,7 @@ static inline bool on_task_stack(const struct task_struct *tsk,\n \n DECLARE_PER_CPU(unsigned long [OVERFLOW_STACK_SIZE/sizeof(long)], overflow_stack);\n \n-static inline struct stack_info stackinfo_get_overflow(void)\n+static __always_inline struct stack_info stackinfo_get_overflow(void)\n {\n \tunsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack);\n \tunsigned long high = low + OVERFLOW_STACK_SIZE;\n@@ -76,7 +76,7 @@ static inline struct stack_info stackinfo_get_overflow(void)\n DECLARE_PER_CPU(unsigned long *, sdei_stack_normal_ptr);\n DECLARE_PER_CPU(unsigned long *, sdei_stack_critical_ptr);\n \n-static inline struct stack_info stackinfo_get_sdei_normal(void)\n+static __always_inline struct stack_info stackinfo_get_sdei_normal(void)\n {\n \tunsigned long low = (unsigned long)raw_cpu_read(sdei_stack_normal_ptr);\n \tunsigned long high = low + SDEI_STACK_SIZE;\n@@ -87,7 +87,7 @@ static inline struct stack_info stackinfo_get_sdei_normal(void)\n \t};\n }\n \n-static inline struct stack_info stackinfo_get_sdei_critical(void)\n+static __always_inline struct stack_info stackinfo_get_sdei_critical(void)\n {\n \tunsigned long low = (unsigned long)raw_cpu_read(sdei_stack_critical_ptr);\n \tunsigned long high = low + SDEI_STACK_SIZE;\n@@ -105,7 +105,7 @@ static inline struct stack_info stackinfo_get_sdei_critical(void)\n #ifdef CONFIG_EFI\n extern u64 *efi_rt_stack_top;\n \n-static inline struct stack_info stackinfo_get_efi(void)\n+static __always_inline struct stack_info stackinfo_get_efi(void)\n {\n \tunsigned long high = (u64)efi_rt_stack_top;\n \tunsigned long low = high - THREAD_SIZE;\ndiff --git a/arch/arm64/include/asm/stacktrace/common.h b/arch/arm64/include/asm/stacktrace/common.h\nindex 821a8fdd31af47..7c502ae276b997 100644\n--- a/arch/arm64/include/asm/stacktrace/common.h\n+++ b/arch/arm64/include/asm/stacktrace/common.h\n@@ -35,7 +35,7 @@ struct unwind_state {\n \tint nr_stacks;\n };\n \n-static inline struct stack_info stackinfo_get_unknown(void)\n+static __always_inline struct stack_info stackinfo_get_unknown(void)\n {\n \treturn (struct stack_info) {\n \t\t.low = 0,\n@@ -43,7 +43,7 @@ static inline struct stack_info stackinfo_get_unknown(void)\n \t};\n }\n \n-static inline bool stackinfo_on_stack(const struct stack_info *info,\n+static __always_inline bool stackinfo_on_stack(const struct stack_info *info,\n \t\t\t\t      unsigned long sp, unsigned long size)\n {\n \tif (!info-\u003elow)\n@@ -55,7 +55,7 @@ static inline bool stackinfo_on_stack(const struct stack_info *info,\n \treturn true;\n }\n \n-static inline void unwind_init_common(struct unwind_state *state)\n+static __always_inline void unwind_init_common(struct unwind_state *state)\n {\n \tstate-\u003estack = stackinfo_get_unknown();\n }\n@@ -70,7 +70,7 @@ static inline void unwind_init_common(struct unwind_state *state)\n  *\n  * Return: a pointer to the relevant stack_info if found; NULL otherwise.\n  */\n-static struct stack_info *unwind_find_stack(struct unwind_state *state,\n+static __always_inline struct stack_info *unwind_find_stack(struct unwind_state *state,\n \t\t\t\t\t    unsigned long sp,\n \t\t\t\t\t    unsigned long size)\n {\n@@ -99,7 +99,7 @@ static struct stack_info *unwind_find_stack(struct unwind_state *state,\n  *\n  * Return: 0 upon success, an error code otherwise.\n  */\n-static inline void unwind_consume_stack(struct unwind_state *state,\n+static __always_inline void unwind_consume_stack(struct unwind_state *state,\n \t\t\t\t\tstruct stack_info *info,\n \t\t\t\t\tunsigned long sp,\n \t\t\t\t\tunsigned long size)\n@@ -142,7 +142,7 @@ static inline void unwind_consume_stack(struct unwind_state *state,\n  *\n  * Return: 0 upon success, an error code otherwise.\n  */\n-static inline int\n+static __always_inline int\n unwind_next_frame_record(struct unwind_state *state)\n {\n \tstruct stack_info *info;\ndiff --git a/arch/arm64/lib/insn.c b/arch/arm64/lib/insn.c\nindex e70ac023851531..b98610fcab32e2 100644\n--- a/arch/arm64/lib/insn.c\n+++ b/arch/arm64/lib/insn.c\n@@ -21,7 +21,7 @@\n #define AARCH64_INSN_N_BIT\tBIT(22)\n #define AARCH64_INSN_LSL_12\tBIT(22)\n \n-static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,\n+static __always_inline int aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,\n \t\t\t\t\t\tu32 *maskp, int *shiftp)\n {\n \tu32 mask;\n@@ -86,7 +86,12 @@ static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,\n #define ADR_IMM_LOSHIFT\t\t29\n #define ADR_IMM_HISHIFT\t\t5\n \n-u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\n+/*\n+ * Keep the immediate helpers inline so noinstr callers using constant encoding\n+ * types do not call instrumentable code, including the invalid-type diagnostics.\n+ */\n+static __always_inline u64\n+__aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\n {\n \tu32 immlo, immhi, mask;\n \tint shift;\n@@ -101,8 +106,8 @@ u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\n \t\tbreak;\n \tdefault:\n \t\tif (aarch64_get_imm_shift_mask(type, \u0026mask, \u0026shift) \u003c 0) {\n-\t\t\tpr_err(\"%s: unknown immediate encoding %d\\n\", __func__,\n-\t\t\t       type);\n+\t\t\tpr_err(\"%s: unknown immediate encoding %d\\n\",\n+\t\t\t       \"aarch64_insn_decode_immediate\", type);\n \t\t\treturn 0;\n \t\t}\n \t}\n@@ -110,8 +115,14 @@ u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\n \treturn (insn \u003e\u003e shift) \u0026 mask;\n }\n \n-u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,\n-\t\t\t\t  u32 insn, u64 imm)\n+u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\n+{\n+\treturn __aarch64_insn_decode_immediate(type, insn);\n+}\n+\n+static __always_inline u32\n+__aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,\n+\t\t\t      u32 insn, u64 imm)\n {\n \tu32 immlo, immhi, mask;\n \tint shift;\n@@ -131,8 +142,8 @@ u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,\n \t\tbreak;\n \tdefault:\n \t\tif (aarch64_get_imm_shift_mask(type, \u0026mask, \u0026shift) \u003c 0) {\n-\t\t\tpr_err(\"%s: unknown immediate encoding %d\\n\", __func__,\n-\t\t\t       type);\n+\t\t\tpr_err(\"%s: unknown immediate encoding %d\\n\",\n+\t\t\t       \"aarch64_insn_encode_immediate\", type);\n \t\t\treturn AARCH64_BREAK_FAULT;\n \t\t}\n \t}\n@@ -144,6 +155,12 @@ u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,\n \treturn insn;\n }\n \n+u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,\n+\t\t\t\t\t  u32 insn, u64 imm)\n+{\n+\treturn __aarch64_insn_encode_immediate(type, insn, imm);\n+}\n+\n u32 aarch64_insn_decode_register(enum aarch64_insn_register_type type,\n \t\t\t\t\tu32 insn)\n {\n@@ -1299,23 +1316,23 @@ u32 aarch64_insn_gen_adr(unsigned long pc, unsigned long addr,\n  * signed value (so it can be used when computing a new branch\n  * target).\n  */\n-s32 aarch64_get_branch_offset(u32 insn)\n+s32 noinstr aarch64_get_branch_offset(u32 insn)\n {\n \ts32 imm;\n \n \tif (aarch64_insn_is_b(insn) || aarch64_insn_is_bl(insn)) {\n-\t\timm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_26, insn);\n+\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_26, insn);\n \t\treturn (imm \u003c\u003c 6) \u003e\u003e 4;\n \t}\n \n \tif (aarch64_insn_is_cbz(insn) || aarch64_insn_is_cbnz(insn) ||\n \t    aarch64_insn_is_bcond(insn)) {\n-\t\timm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_19, insn);\n+\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_19, insn);\n \t\treturn (imm \u003c\u003c 13) \u003e\u003e 11;\n \t}\n \n \tif (aarch64_insn_is_tbz(insn) || aarch64_insn_is_tbnz(insn)) {\n-\t\timm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_14, insn);\n+\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_14, insn);\n \t\treturn (imm \u003c\u003c 18) \u003e\u003e 16;\n \t}\n \n@@ -1327,35 +1344,35 @@ s32 aarch64_get_branch_offset(u32 insn)\n  * Encode the displacement of a branch in the imm field and return the\n  * updated instruction.\n  */\n-u32 aarch64_set_branch_offset(u32 insn, s32 offset)\n+u32 noinstr aarch64_set_branch_offset(u32 insn, s32 offset)\n {\n \tif (aarch64_insn_is_b(insn) || aarch64_insn_is_bl(insn))\n-\t\treturn aarch64_insn_encode_immediate(AARCH64_INSN_IMM_26, insn,\n+\t\treturn __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_26, insn,\n \t\t\t\t\t\t     offset \u003e\u003e 2);\n \n \tif (aarch64_insn_is_cbz(insn) || aarch64_insn_is_cbnz(insn) ||\n \t    aarch64_insn_is_bcond(insn))\n-\t\treturn aarch64_insn_encode_immediate(AARCH64_INSN_IMM_19, insn,\n+\t\treturn __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_19, insn,\n \t\t\t\t\t\t     offset \u003e\u003e 2);\n \n \tif (aarch64_insn_is_tbz(insn) || aarch64_insn_is_tbnz(insn))\n-\t\treturn aarch64_insn_encode_immediate(AARCH64_INSN_IMM_14, insn,\n+\t\treturn __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_14, insn,\n \t\t\t\t\t\t     offset \u003e\u003e 2);\n \n \t/* Unhandled instruction */\n \tBUG();\n }\n \n-s32 aarch64_insn_adrp_get_offset(u32 insn)\n+s32 noinstr aarch64_insn_adrp_get_offset(u32 insn)\n {\n \tBUG_ON(!aarch64_insn_is_adrp(insn));\n-\treturn aarch64_insn_decode_immediate(AARCH64_INSN_IMM_ADR, insn) \u003c\u003c 12;\n+\treturn __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_ADR, insn) \u003c\u003c 12;\n }\n \n-u32 aarch64_insn_adrp_set_offset(u32 insn, s32 offset)\n+u32 noinstr aarch64_insn_adrp_set_offset(u32 insn, s32 offset)\n {\n \tBUG_ON(!aarch64_insn_is_adrp(insn));\n-\treturn aarch64_insn_encode_immediate(AARCH64_INSN_IMM_ADR, insn,\n+\treturn __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_ADR, insn,\n \t\t\t\t\t\toffset \u003e\u003e 12);\n }\n \n"
}

2/1 2026/11/10 12:17 agent patch-evaluator
0m Model:
core

Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch modifies architecture-specific code under arch/arm64/ (making various helpers __always_inline/noinstr for noinstr instrumentation safety), which is exclusive to arm64 and not compiled or executable on the target architecture (amd64).",
  "WorthFuzzing": false
}

Instruction:
You are an expert Linux kernel maintainer and security engineer.
Your job is to review a provided patch series and evaluate whether it warrants fuzzing with syzkaller.

IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in
your workspace. Do NOT rely on internal assumptions. You must actively use your code access
tools to inspect the actual source code, callers, and surrounding context.

================================================================================
1. CORE TRIAGE PHILOSOPHY
================================================================================
The goal of patch fuzzing is to discover crashes, regressions, exposed latent bugs,
and newly triggered assertions introduced by the patch series.

- REACHABILITY IS THE PRIMARY GATE:
  Fuzzing can only discover bugs in code that can actually execute in standard virtualized
  environments (GCE or QEMU, utilizing software-emulated devices like USB gadgets, netdev, tun/tap).
  If the modified code is structurally unreachable (see Section 2), it MUST NOT be fuzzed,
  regardless of whether it adds assertions or complex logic.

- DO NOT BLINDLY TRUST "NO FUNCTIONAL CHANGE" (NFCI) OR "REFACTORING" CLAIMS:
  Patch authors routinely label changes as "cleanups", "refactorings", or state
  "No functional change intended". Do NOT take these claims at face value.
  Code refactorings that rearrange logic, introduce helper functions, or alter state management
  in core subsystems frequently introduce subtle semantic shifts or uncover latent kernel bugs.
  If reachable executable code is modified or refactored, it MUST be fuzzed.

- NEW OR MODIFIED ASSERTIONS IN REACHABLE CODE MUST BE FUZZED:
  When a patch introduces or modifies runtime checks or assertions (e.g., WARN_ON*, VM_WARN_ON*,
  BUG_ON*, lockdep_assert*) in reachable code paths, it enforces new or stricter invariants.
  Even if the author believes the invariant always holds, fuzzing is essential to verify whether
  an unusual sequence of operations can violate it.

================================================================================
2. WHEN TO RETURN WorthFuzzing=false (NEGATIVE CRITERIA)
================================================================================
Return WorthFuzzing=false ONLY IF all modified code falls strictly into one or more of these categories:

- Non-kernel and non-executable changes:
  * Modifications to Documentation/, comments, or spelling fixes.
  * User-space directories, self-tests, samples, or scripts (e.g., tools/, samples/, scripts/, usr/)
    that do not affect the compiled kernel image (vmlinux) or kernel modules.
  * Purely decorative logging (e.g., message strings in pr_err, printk, dev_info) or tracepoints
    that do not alter control flow or data structures.
  * Build system or Kconfig changes that do not alter compiled C logic.
- Structurally unreachable hardware:
  * Vendor-specific PCIe switches, SmartNICs, or GPU drivers (e.g., mlxsw, pds_core, qed,
    ionic, amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU.
- Unreachable execution paths:
  * Driver teardown callbacks (.remove, .shutdown, pci_unregister_driver) executed only during
    physical PCI hot-unplug or manual sysfs driver unbinding.
  * Code paths exclusive to architectures other than the target architecture.

================================================================================
3. WHEN TO RETURN WorthFuzzing=true (POSITIVE CRITERIA)
================================================================================
Return WorthFuzzing=true whenever the patch touches reachable executable code, including:
- Core Subsystems:
  * Any logic modifications in memory management (mm/), synchronization/locking (kernel/locking/),
    BPF, scheduler, core networking, VFS, or syscall handling.
- Refactorings and Code Cleanups:
  * Any restructuring of reachable data structures, helper abstractions, or algorithm flows.
- Runtime Assertions and Defensive Checks:
  * Any introduction or alteration of assertions (WARN_ON*, VM_WARN_ON*, BUG_ON*, etc.) in reachable paths.
- Reachable Drivers and Protocols:
  * Drivers accessible via virtual buses (virtio, USB gadget, loopback, netlink, binder, sockets, etc.).

================================================================================
4. EXTRACTING FocusSymbols (PREVENTING DILUTION)
================================================================================
When WorthFuzzing=true, you must extract specific kernel functions into FocusSymbols to guide the fuzzer:

- AVOID UBIQUITOUS LIFECYCLE HOT-PATHS:
  Do NOT list generic, ubiquitous functions called by almost every program in the corpus
  (including, but not limited to: general memory allocators and deallocators, page fault
  and trap handlers, or core synchronization primitives; this is not an exhaustive list).
  Listing ubiquitous functions causes the fuzzer to classify thousands of unrelated tests as "focused",
  which severely dilutes fuzzing effort away from the actual changes.

- TARGET SPECIFIC FEATURE LOGIC AND ENTRYPOINTS:
  List functions that specifically implement the logic being added or altered, or direct API entrypoints
  for the subsystem feature under review.

- HANDLING STATIC INLINE FUNCTIONS IN HEADERS (.h):
  Compiler-inlined static functions (such as static inlines in mm/*.h or include/linux/*.h) lack
  distinct symbol addresses in vmlinux and cannot be targeted directly by symbol coverage filters.
  If the changes are primarily in static inline helpers, identify non-static, feature-specific caller
  functions in .c files that exercise them (avoiding ubiquitous lifecycle wrappers).

================================================================================
5. IDENTIFYING EnableConfigs
================================================================================
Identify any specific CONFIG_ options required to properly compile and reach the modified code:
- Inspect Kconfig files and #ifdef guards; do not make assumptions.
- Check "depends on" lines in Kconfig to include any non-standard parent subsystem configs needed.
- Strip any 'CONFIG_' prefix (e.g., return "NET_IPV4" instead of "CONFIG_NET_IPV4").
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Target architecture: amd64

For your convenience, here is the diff of the changes:
commit daac84ae38971705302ebba51d51080a28f1c1df
Author: syz-cluster <triage@syzkaller.com>
Date:   Tue Nov 10 12:17:09 2026 +0000

    syz-cluster: applied patch under review

diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h
index e3c8a1493dc8d9..c62949693b9266 100644
--- a/arch/arm64/include/asm/cpufeature.h
+++ b/arch/arm64/include/asm/cpufeature.h
@@ -774,7 +774,7 @@ static __always_inline bool system_supports_fpsimd(void)
 	return alternative_has_cap_likely(ARM64_HAS_FPSIMD);
 }
 
-static inline bool system_uses_hw_pan(void)
+static __always_inline bool system_uses_hw_pan(void)
 {
 	return alternative_has_cap_unlikely(ARM64_HAS_PAN);
 }
@@ -840,12 +840,12 @@ static __always_inline bool system_uses_irq_prio_masking(void)
 	return alternative_has_cap_unlikely(ARM64_HAS_GIC_PRIO_MASKING);
 }
 
-static inline bool system_supports_mte(void)
+static __always_inline bool system_supports_mte(void)
 {
 	return alternative_has_cap_unlikely(ARM64_MTE);
 }
 
-static inline bool system_has_prio_mask_debugging(void)
+static __always_inline bool system_has_prio_mask_debugging(void)
 {
 	return IS_ENABLED(CONFIG_ARM64_DEBUG_PRIORITY_MASKING) &&
 	       system_uses_irq_prio_masking();
@@ -950,7 +950,7 @@ static inline bool cpu_has_hw_af(void)
 						ID_AA64MMFR1_EL1_HAFDBS_SHIFT);
 }
 
-static inline bool cpu_has_pan(void)
+static __always_inline bool cpu_has_pan(void)
 {
 	u64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1);
 	return cpuid_feature_extract_unsigned_field(mmfr1,
diff --git a/arch/arm64/include/asm/entry-common.h b/arch/arm64/include/asm/entry-common.h
index 1905765159aa7f..4856bc453c0149 100644
--- a/arch/arm64/include/asm/entry-common.h
+++ b/arch/arm64/include/asm/entry-common.h
@@ -27,7 +27,7 @@ static __always_inline void arch_exit_to_user_mode_work(struct pt_regs *regs,
 
 #define arch_exit_to_user_mode_work arch_exit_to_user_mode_work
 
-static inline bool arch_irqentry_exit_need_resched(void)
+static __always_inline bool arch_irqentry_exit_need_resched(void)
 {
 	/*
 	 * DAIF.DA are cleared at the start of IRQ/FIQ handling, and when GIC
diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
index a67d5774e67280..157d0551f62793 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -749,14 +749,14 @@ void sme_enable_dvmsync(void);
 void sme_set_active(void);
 void sme_clear_active(void);
 
-static inline void sme_enter_from_user_mode(void)
+static __always_inline void sme_enter_from_user_mode(void)
 {
 	if (alternative_has_cap_unlikely(ARM64_WORKAROUND_4193714) &&
 	    test_thread_flag(TIF_SME))
 		sme_clear_active();
 }
 
-static inline void sme_exit_to_user_mode(void)
+static __always_inline void sme_exit_to_user_mode(void)
 {
 	if (alternative_has_cap_unlikely(ARM64_WORKAROUND_4193714) &&
 	    test_thread_flag(TIF_SME))
diff --git a/arch/arm64/include/asm/mte-kasan.h b/arch/arm64/include/asm/mte-kasan.h
index de910f1c19e1b2..cc2151325eb0c5 100644
--- a/arch/arm64/include/asm/mte-kasan.h
+++ b/arch/arm64/include/asm/mte-kasan.h
@@ -18,14 +18,14 @@
 /* Whether the MTE asynchronous mode is enabled. */
 DECLARE_STATIC_KEY_FALSE(mte_async_or_asymm_mode);
 
-static inline bool system_uses_mte_async_or_asymm_mode(void)
+static __always_inline bool system_uses_mte_async_or_asymm_mode(void)
 {
 	return static_branch_unlikely(&mte_async_or_asymm_mode);
 }
 
 #else /* CONFIG_KASAN_HW_TAGS */
 
-static inline bool system_uses_mte_async_or_asymm_mode(void)
+static __always_inline bool system_uses_mte_async_or_asymm_mode(void)
 {
 	return false;
 }
diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h
index 83f3b05fc78490..b2bf2e70c9aec8 100644
--- a/arch/arm64/include/asm/mte.h
+++ b/arch/arm64/include/asm/mte.h
@@ -222,7 +222,7 @@ static inline bool folio_try_hugetlb_mte_tagging(struct folio *folio)
 }
 #endif
 
-static inline void mte_disable_tco_entry(struct task_struct *task)
+static __always_inline void mte_disable_tco_entry(struct task_struct *task)
 {
 	if (!system_supports_mte())
 		return;
@@ -245,7 +245,7 @@ static inline void mte_disable_tco_entry(struct task_struct *task)
 #ifdef CONFIG_KASAN_HW_TAGS
 void mte_check_tfsr_el1(void);
 
-static inline void mte_check_tfsr_entry(void)
+static __always_inline void mte_check_tfsr_entry(void)
 {
 	if (!kasan_hw_tags_enabled())
 		return;
@@ -256,7 +256,7 @@ static inline void mte_check_tfsr_entry(void)
 	mte_check_tfsr_el1();
 }
 
-static inline void mte_check_tfsr_exit(void)
+static __always_inline void mte_check_tfsr_exit(void)
 {
 	if (!kasan_hw_tags_enabled())
 		return;
diff --git a/arch/arm64/include/asm/percpu.h b/arch/arm64/include/asm/percpu.h
index 3cc316091d6655..7c344de5052d59 100644
--- a/arch/arm64/include/asm/percpu.h
+++ b/arch/arm64/include/asm/percpu.h
@@ -23,7 +23,7 @@ static inline void set_my_cpu_offset(unsigned long off)
 			:: "r" (off) : "memory");
 }
 
-static inline unsigned long __hyp_my_cpu_offset(void)
+static __always_inline unsigned long __hyp_my_cpu_offset(void)
 {
 	/*
 	 * Non-VHE hyp code runs with preemption disabled. No need to hazard
@@ -37,7 +37,7 @@ static inline unsigned long __hyp_my_cpu_offset(void)
 		    "mrs " dst ", tpidr_el2",				\
 		       ARM64_HAS_VIRT_HOST_EXTN)
 
-static inline unsigned long __kern_my_cpu_offset(void)
+static __always_inline unsigned long __kern_my_cpu_offset(void)
 {
 	unsigned long off;
 
@@ -129,7 +129,7 @@ static inline unsigned long __kern_my_cpu_offset(void)
 #endif
 
 #define PERCPU_RW_OPS(w, sfx, sz)						\
-static inline unsigned long __percpu_read_##sz(void __percpu *pcp)		\
+static __always_inline unsigned long __percpu_read_##sz(void __percpu *pcp)		\
 {										\
 	u16 *gprs = &current_thread_info()->pcpu_gprs;				\
 	unsigned long off;							\
diff --git a/arch/arm64/include/asm/stacktrace.h b/arch/arm64/include/asm/stacktrace.h
index 6d3280932bf5cd..b370c0e1e3377e 100644
--- a/arch/arm64/include/asm/stacktrace.h
+++ b/arch/arm64/include/asm/stacktrace.h
@@ -22,7 +22,7 @@ extern void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk,
 
 DECLARE_PER_CPU(unsigned long *, irq_stack_ptr);
 
-static inline struct stack_info stackinfo_get_irq(void)
+static __always_inline struct stack_info stackinfo_get_irq(void)
 {
 	unsigned long low = (unsigned long)raw_cpu_read(irq_stack_ptr);
 	unsigned long high = low + IRQ_STACK_SIZE;
@@ -33,13 +33,13 @@ static inline struct stack_info stackinfo_get_irq(void)
 	};
 }
 
-static inline bool on_irq_stack(unsigned long sp, unsigned long size)
+static __always_inline bool on_irq_stack(unsigned long sp, unsigned long size)
 {
 	struct stack_info info = stackinfo_get_irq();
 	return stackinfo_on_stack(&info, sp, size);
 }
 
-static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk)
+static __always_inline struct stack_info stackinfo_get_task(const struct task_struct *tsk)
 {
 	unsigned long low = (unsigned long)task_stack_page(tsk);
 	unsigned long high = low + THREAD_SIZE;
@@ -50,7 +50,7 @@ static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk
 	};
 }
 
-static inline bool on_task_stack(const struct task_struct *tsk,
+static __always_inline bool on_task_stack(const struct task_struct *tsk,
 				 unsigned long sp, unsigned long size)
 {
 	struct stack_info info = stackinfo_get_task(tsk);
@@ -61,7 +61,7 @@ static inline bool on_task_stack(const struct task_struct *tsk,
 
 DECLARE_PER_CPU(unsigned long [OVERFLOW_STACK_SIZE/sizeof(long)], overflow_stack);
 
-static inline struct stack_info stackinfo_get_overflow(void)
+static __always_inline struct stack_info stackinfo_get_overflow(void)
 {
 	unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack);
 	unsigned long high = low + OVERFLOW_STACK_SIZE;
@@ -76,7 +76,7 @@ static inline struct stack_info stackinfo_get_overflow(void)
 DECLARE_PER_CPU(unsigned long *, sdei_stack_normal_ptr);
 DECLARE_PER_CPU(unsigned long *, sdei_stack_critical_ptr);
 
-static inline struct stack_info stackinfo_get_sdei_normal(void)
+static __always_inline struct stack_info stackinfo_get_sdei_normal(void)
 {
 	unsigned long low = (unsigned long)raw_cpu_read(sdei_stack_normal_ptr);
 	unsigned long high = low + SDEI_STACK_SIZE;
@@ -87,7 +87,7 @@ static inline struct stack_info stackinfo_get_sdei_normal(void)
 	};
 }
 
-static inline struct stack_info stackinfo_get_sdei_critical(void)
+static __always_inline struct stack_info stackinfo_get_sdei_critical(void)
 {
 	unsigned long low = (unsigned long)raw_cpu_read(sdei_stack_critical_ptr);
 	unsigned long high = low + SDEI_STACK_SIZE;
@@ -105,7 +105,7 @@ static inline struct stack_info stackinfo_get_sdei_critical(void)
 #ifdef CONFIG_EFI
 extern u64 *efi_rt_stack_top;
 
-static inline struct stack_info stackinfo_get_efi(void)
+static __always_inline struct stack_info stackinfo_get_efi(void)
 {
 	unsigned long high = (u64)efi_rt_stack_top;
 	unsigned long low = high - THREAD_SIZE;
diff --git a/arch/arm64/include/asm/stacktrace/common.h b/arch/arm64/include/asm/stacktrace/common.h
index 821a8fdd31af47..7c502ae276b997 100644
--- a/arch/arm64/include/asm/stacktrace/common.h
+++ b/arch/arm64/include/asm/stacktrace/common.h
@@ -35,7 +35,7 @@ struct unwind_state {
 	int nr_stacks;
 };
 
-static inline struct stack_info stackinfo_get_unknown(void)
+static __always_inline struct stack_info stackinfo_get_unknown(void)
 {
 	return (struct stack_info) {
 		.low = 0,
@@ -43,7 +43,7 @@ static inline struct stack_info stackinfo_get_unknown(void)
 	};
 }
 
-static inline bool stackinfo_on_stack(const struct stack_info *info,
+static __always_inline bool stackinfo_on_stack(const struct stack_info *info,
 				      unsigned long sp, unsigned long size)
 {
 	if (!info->low)
@@ -55,7 +55,7 @@ static inline bool stackinfo_on_stack(const struct stack_info *info,
 	return true;
 }
 
-static inline void unwind_init_common(struct unwind_state *state)
+static __always_inline void unwind_init_common(struct unwind_state *state)
 {
 	state->stack = stackinfo_get_unknown();
 }
@@ -70,7 +70,7 @@ static inline void unwind_init_common(struct unwind_state *state)
  *
  * Return: a pointer to the relevant stack_info if found; NULL otherwise.
  */
-static struct stack_info *unwind_find_stack(struct unwind_state *state,
+static __always_inline struct stack_info *unwind_find_stack(struct unwind_state *state,
 					    unsigned long sp,
 					    unsigned long size)
 {
@@ -99,7 +99,7 @@ static struct stack_info *unwind_find_stack(struct unwind_state *state,
  *
  * Return: 0 upon success, an error code otherwise.
  */
-static inline void unwind_consume_stack(struct unwind_state *state,
+static __always_inline void unwind_consume_stack(struct unwind_state *state,
 					struct stack_info *info,
 					unsigned long sp,
 					unsigned long size)
@@ -142,7 +142,7 @@ static inline void unwind_consume_stack(struct unwind_state *state,
  *
  * Return: 0 upon success, an error code otherwise.
  */
-static inline int
+static __always_inline int
 unwind_next_frame_record(struct unwind_state *state)
 {
 	struct stack_info *info;
diff --git a/arch/arm64/lib/insn.c b/arch/arm64/lib/insn.c
index e70ac023851531..b98610fcab32e2 100644
--- a/arch/arm64/lib/insn.c
+++ b/arch/arm64/lib/insn.c
@@ -21,7 +21,7 @@
 #define AARCH64_INSN_N_BIT	BIT(22)
 #define AARCH64_INSN_LSL_12	BIT(22)
 
-static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,
+static __always_inline int aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,
 						u32 *maskp, int *shiftp)
 {
 	u32 mask;
@@ -86,7 +86,12 @@ static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type,
 #define ADR_IMM_LOSHIFT		29
 #define ADR_IMM_HISHIFT		5
 
-u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)
+/*
+ * Keep the immediate helpers inline so noinstr callers using constant encoding
+ * types do not call instrumentable code, including the invalid-type diagnostics.
+ */
+static __always_inline u64
+__aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)
 {
 	u32 immlo, immhi, mask;
 	int shift;
@@ -101,8 +106,8 @@ u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)
 		break;
 	default:
 		if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) {
-			pr_err("%s: unknown immediate encoding %d\n", __func__,
-			       type);
+			pr_err("%s: unknown immediate encoding %d\n",
+			       "aarch64_insn_decode_immediate", type);
 			return 0;
 		}
 	}
@@ -110,8 +115,14 @@ u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)
 	return (insn >> shift) & mask;
 }
 
-u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
-				  u32 insn, u64 imm)
+u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)
+{
+	return __aarch64_insn_decode_immediate(type, insn);
+}
+
+static __always_inline u32
+__aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
+			      u32 insn, u64 imm)
 {
 	u32 immlo, immhi, mask;
 	int shift;
@@ -131,8 +142,8 @@ u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
 		break;
 	default:
 		if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) {
-			pr_err("%s: unknown immediate encoding %d\n", __func__,
-			       type);
+			pr_err("%s: unknown immediate encoding %d\n",
+			       "aarch64_insn_encode_immediate", type);
 			return AARCH64_BREAK_FAULT;
 		}
 	}
@@ -144,6 +155,12 @@ u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
 	return insn;
 }
 
+u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
+					  u32 insn, u64 imm)
+{
+	return __aarch64_insn_encode_immediate(type, insn, imm);
+}
+
 u32 aarch64_insn_decode_register(enum aarch64_insn_register_type type,
 					u32 insn)
 {
@@ -1299,23 +1316,23 @@ u32 aarch64_insn_gen_adr(unsigned long pc, unsigned long addr,
  * signed value (so it can be used when computing a new branch
  * target).
  */
-s32 aarch64_get_branch_offset(u32 insn)
+s32 noinstr aarch64_get_branch_offset(u32 insn)
 {
 	s32 imm;
 
 	if (aarch64_insn_is_b(insn) || aarch64_insn_is_bl(insn)) {
-		imm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_26, insn);
+		imm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_26, insn);
 		return (imm << 6) >> 4;
 	}
 
 	if (aarch64_insn_is_cbz(insn) || aarch64_insn_is_cbnz(insn) ||
 	    aarch64_insn_is_bcond(insn)) {
-		imm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_19, insn);
+		imm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_19, insn);
 		return (imm << 13) >> 11;
 	}
 
 	if (aarch64_insn_is_tbz(insn) || aarch64_insn_is_tbnz(insn)) {
-		imm = aarch64_insn_decode_immediate(AARCH64_INSN_IMM_14, insn);
+		imm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_14, insn);
 		return (imm << 18) >> 16;
 	}
 
@@ -1327,35 +1344,35 @@ s32 aarch64_get_branch_offset(u32 insn)
  * Encode the displacement of a branch in the imm field and return the
  * updated instruction.
  */
-u32 aarch64_set_branch_offset(u32 insn, s32 offset)
+u32 noinstr aarch64_set_branch_offset(u32 insn, s32 offset)
 {
 	if (aarch64_insn_is_b(insn) || aarch64_insn_is_bl(insn))
-		return aarch64_insn_encode_immediate(AARCH64_INSN_IMM_26, insn,
+		return __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_26, insn,
 						     offset >> 2);
 
 	if (aarch64_insn_is_cbz(insn) || aarch64_insn_is_cbnz(insn) ||
 	    aarch64_insn_is_bcond(insn))
-		return aarch64_insn_encode_immediate(AARCH64_INSN_IMM_19, insn,
+		return __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_19, insn,
 						     offset >> 2);
 
 	if (aarch64_insn_is_tbz(insn) || aarch64_insn_is_tbnz(insn))
-		return aarch64_insn_encode_immediate(AARCH64_INSN_IMM_14, insn,
+		return __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_14, insn,
 						     offset >> 2);
 
 	/* Unhandled instruction */
 	BUG();
 }
 
-s32 aarch64_insn_adrp_get_offset(u32 insn)
+s32 noinstr aarch64_insn_adrp_get_offset(u32 insn)
 {
 	BUG_ON(!aarch64_insn_is_adrp(insn));
-	return aarch64_insn_decode_immediate(AARCH64_INSN_IMM_ADR, insn) << 12;
+	return __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_ADR, insn) << 12;
 }
 
-u32 aarch64_insn_adrp_set_offset(u32 insn, s32 offset)
+u32 noinstr aarch64_insn_adrp_set_offset(u32 insn, s32 offset)
 {
 	BUG_ON(!aarch64_insn_is_adrp(insn));
-	return aarch64_insn_encode_immediate(AARCH64_INSN_IMM_ADR, insn,
+	return __aarch64_insn_encode_immediate(AARCH64_INSN_IMM_ADR, insn,
 						offset >> 12);
 }
 

3/2 2026/11/10 12:17 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 9681
							output: 49
							thoughts: 540
						

Thoughts:
**Initial Assessment of Syzkaller Patch Series**

Okay, so I've got a syzkaller patch series to evaluate. The target architecture is amd64, which is crucial to remember. *Immediately*, I see that the target architecture is amd64. Let me double check that because that's the starting point.

Now, let's dive into the diff. Wait, hold on a second... the file paths in the diff are all under `arch/arm64/`? That's definitely a red flag. Let me see the files:

*   `arch/arm64/include/asm/cpufeature.h`
*   `arch/arm64/include/asm/entry-common.h`
*   `arch/arm64/include/asm/fpsimd.h`
*   `arch/arm64/include/asm/mte-kasan.h`
*   `arch/arm64/include/asm/mte.h`
*   `arch/arm64/include/asm/percpu.h`
*   `arch/arm64/include/asm/stacktrace/common.h`
*   `arch/arm64/lib/insn.c`

Yep, every single file is within the `arch/arm64/` directory.

Now, let me recall the prompt criteria. I have to look for negative criteria... specifically: "Code paths exclusive to architectures other than the target architecture".

Given that all the modifications are in `arch/arm64/`, and the target architecture is amd64, this patch series *clearly* falls into the "architecture-specific code" category. This is an easy call; the modifications aren't relevant to amd64 fuzzing. The patch series is definitely **WorthFuzzing=false** because it's modifying code specific to another architecture. This is a very clear no-go. Let me verify the diff one more time to make sure nothing slipped in but no dice.


4/2 2026/11/10 12:17 tool grepper
0m Args:
{
  "Expression": "commit daac84ae38971705302ebba51d51080a28f1c1df"
}

Results:
{
  "Output": "no matches"
}

5/2 2026/11/10 12:17 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 10722
							output: 45
							thoughts: 243
						

Thoughts:
**Analyzing the Proposed Code Change**

Okay, so I need to understand this proposed change to the ARM64 kernel code. The tools available are limited; I can't directly use `git log` or a full-fledged version control system, just these basic tools: `read-file`, `grepper`, `codesearch-dir-index`, and `set-results`. First, let's see, what is the 'top level' change? I should check the patch diff provided in the prompt. I see a list of files that have been modified: `arch/arm64/include/asm/cpufeature.h`, `arch/arm64/include/asm/entry-common.h`, `arch/arm64/include/asm/fpsimd.h`, `arch/arm64/include/asm/mte-kasan.h`, `arch/arm64/include/asm/mte.h`, `arch/arm64/include/asm/percpu.h`, `arch/arm64/include/asm/stacktrace/common.h`, and `arch/arm64/lib/insn.c`. I have to keep my analysis contained to these specific files. Are there any other files involved?

My focus, now, needs to be on how these files relate to each other. The logical starting point seems to be `arch/arm64/lib/insn.c`. Let's use `read-file` or `grepper` on that file to get a clearer picture of what's going on.


6/2 2026/11/10 12:17 tool grepper
0m Args:
{
  "Expression": "__aarch64_insn_decode_immediate",
  "PathPrefixes": [
    "arch/arm64/lib/insn.c"
  ]
}

Results:
{
  "Output": "arch/arm64/lib/insn.c=93=static __always_inline u64\narch/arm64/lib/insn.c:94:__aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\narch/arm64/lib/insn.c-95-{\n--\narch/arm64/lib/insn.c=118=u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn)\narch/arm64/lib/insn.c-119-{\narch/arm64/lib/insn.c:120:\treturn __aarch64_insn_decode_immediate(type, insn);\narch/arm64/lib/insn.c-121-}\n--\narch/arm64/lib/insn.c=1319=s32 noinstr aarch64_get_branch_offset(u32 insn)\n--\narch/arm64/lib/insn.c-1323-\tif (aarch64_insn_is_b(insn) || aarch64_insn_is_bl(insn)) {\narch/arm64/lib/insn.c:1324:\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_26, insn);\narch/arm64/lib/insn.c-1325-\t\treturn (imm \u003c\u003c 6) \u003e\u003e 4;\n--\narch/arm64/lib/insn.c-1329-\t    aarch64_insn_is_bcond(insn)) {\narch/arm64/lib/insn.c:1330:\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_19, insn);\narch/arm64/lib/insn.c-1331-\t\treturn (imm \u003c\u003c 13) \u003e\u003e 11;\n--\narch/arm64/lib/insn.c-1334-\tif (aarch64_insn_is_tbz(insn) || aarch64_insn_is_tbnz(insn)) {\narch/arm64/lib/insn.c:1335:\t\timm = __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_14, insn);\narch/arm64/lib/insn.c-1336-\t\treturn (imm \u003c\u003c 18) \u003e\u003e 16;\n--\narch/arm64/lib/insn.c=1366=s32 noinstr aarch64_insn_adrp_get_offset(u32 insn)\n--\narch/arm64/lib/insn.c-1368-\tBUG_ON(!aarch64_insn_is_adrp(insn));\narch/arm64/lib/insn.c:1369:\treturn __aarch64_insn_decode_immediate(AARCH64_INSN_IMM_ADR, insn) \u003c\u003c 12;\narch/arm64/lib/insn.c-1370-}\n"
}

7/2 2026/11/10 12:17 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 12192
							output: 83
							thoughts: 525
						

Thoughts:
**Analysis of the Patch for Fuzzing Suitability**

Okay, let's break this down. My initial scan immediately flags the changes as being *exclusively* within `arch/arm64/`. I see a comprehensive list of modified files, including various include files under `asm/`, such as `cpufeature.h`, `entry-common.h`, `fpsimd.h`, `mte-kasan.h`, `mte.h`, `percpu.h`, and stacktrace-related headers, plus `lib/insn.c`. This strongly suggests architecture-specific code.

Now, the crucial piece of information: the *target architecture* is `amd64`. This is the clincher. My understanding of the "WHEN TO RETURN WorthFuzzing=false" criteria immediately kicks in. I'm focusing on "Unreachable execution paths," specifically code paths exclusive to architectures *other than* the target. All these modifications are in `arch/arm64/`, which means they are definitely not compiled or executed on an amd64 system.

Therefore, `WorthFuzzing` has to be `false`. The patch modifies code that is inherently unreachable on the target architecture. This is a pretty straightforward application of the negative criteria.

I need to confirm this rigorously. I'm double-checking: Are any of these arm64-specific headers included in amd64 builds? No, that's impossible. `asm/` is the tell-tale sign of architecture-specific code, which is compiled in the relevant build. `lib/insn.c` isn't compiled for amd64 either.

The resulting data:
- `WorthFuzzing: false`
- `EnableConfigs: []` (no specific configurations needed)
- `FocusSymbols: []` (no specific symbols need to be prioritized)
- `Reasoning` is concise: "The patch modifies arm64 architecture-specific code... which is not compiled or reachable on the target architecture (amd64)." This makes sense.

It all checks out. I'm ready to call `set-results`.



8/2 2026/11/10 12:17 tool set-results
0m Args:
{
  "EnableConfigs": [],
  "FocusSymbols": [],
  "Reasoning": "The patch modifies architecture-specific code under arch/arm64/ (making various helpers __always_inline/noinstr for noinstr instrumentation safety), which is exclusive to arm64 and not compiled or executable on the target architecture (amd64).",
  "WorthFuzzing": false
}

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch modifies architecture-specific code under arch/arm64/ (making various helpers __always_inline/noinstr for noinstr instrumentation safety), which is exclusive to arm64 and not compiled or executable on the target architecture (amd64).",
  "WorthFuzzing": false
}

9/1 2026/11/10 12:17 action If
0m Args:
{
  "WorthFuzzing": false
}

Results:
null

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)