| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/08/13 23:58 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch only modifies a BPF selftest program (tools/testing/selftests/bpf/progs/pyperf.h) and does not make any functional changes to the core kernel, drivers, or architecture code. Therefore, it does not require fuzzing.",
"WorthFuzzing": false
} |
| 1/1 | 2026/08/13 23:58 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit efbb0b165548b3c391391e92aa270fab79ba3436\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Thu Aug 13 23:58:22 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/tools/testing/selftests/bpf/progs/pyperf.h b/tools/testing/selftests/bpf/progs/pyperf.h\nindex 86484f07e1d19..fd93a96e59015 100644\n--- a/tools/testing/selftests/bpf/progs/pyperf.h\n+++ b/tools/testing/selftests/bpf/progs/pyperf.h\n@@ -85,9 +85,11 @@ static void *get_thread_state(void *tls_base, PidData *pidData)\n \treturn thread_state;\n }\n \n-static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,\n-\t\t\t\t\t FrameData *frame, Symbol *symbol)\n+__weak bool __get_frame_data(long frame_ptr_, PidData *pidData __arg_nonnull,\n+\t\t\t FrameData *frame __arg_nonnull, Symbol *symbol __arg_nonnull)\n {\n+\tvoid *frame_ptr = (void *)frame_ptr_;\n+\n \t// read data from PyFrameObject\n \tbpf_probe_read_user(\u0026frame-\u003ef_back,\n \t\t\t sizeof(frame-\u003ef_back),\n@@ -119,6 +121,12 @@ static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,\n \treturn true;\n }\n \n+static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,\n+\t\t\t\t\t FrameData *frame, Symbol *symbol)\n+{\n+\treturn __get_frame_data((long)frame_ptr, pidData, frame, symbol);\n+}\n+\n struct {\n \t__uint(type, BPF_MAP_TYPE_HASH);\n \t__uint(max_entries, 1);\n"
} |
| 2/1 | 2026/08/13 23:58 | agent | patch-evaluator |
0mModel:best-expensive Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch only modifies a BPF selftest program (tools/testing/selftests/bpf/progs/pyperf.h) and does not make any functional changes to the core kernel, drivers, or architecture code. Therefore, it does not require fuzzing.",
"WorthFuzzing": false
}Instruction: You are an expert Linux kernel maintainer. Your job is to review a provided patch series and determine if it makes functional changes to the kernel that should be fuzzed. IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in your workspace. Do NOT rely on your internal knowledge of the kernel. You must actively use your code access tools to examine the actual source code and confirm any assumptions. Return WorthFuzzing=false if the patch only contains: - Modifications to Documentation/, Kconfig files, or code comments. - Purely decorative changes, such as logging (e.g., pr_err, printk) or tracepoints. - Changes to numeric constants or macros that do not functionally alter execution flow. - Code paths that are impossible to reach in virtualized environments like GCE or QEMU, even when utilizing software-emulated hardware (e.g., usb gadget, mac80211_hwsim). - Code in vendor-specific PCIe switch, SmartNIC, or GPU drivers (e.g., mlxsw, pds_core, qed, ionic, amdgpu) that require physical PCIe hardware cards not emulated in standard QEMU. - Driver .remove, .shutdown, or pci_unregister_driver teardown callbacks (e.g., igb_remove) that are executed only during PCI hot-unplug or sysfs driver unbind operations. If it modifies reachable core kernel logic, drivers, or architectures, use your code search tools to verify the code can be executed, then return WorthFuzzing=true. When returning WorthFuzzing=true, you MUST ALSO: 1. Extract any specific kernel functions that should be heavily fuzzed into FocusSymbols. Avoid listing generic hot-path functions to prevent skewed test distributions. Prefer non-static, non-inlined API entrypoint functions over internal static helper functions (which are inlined by the compiler and do not have distinct symbol addresses). 2. Identify any specific CONFIG_ options required to properly test this new/modified feature. Go and look into the Kconfig files and check for ifdefs around the code, do not make assumptions. Also check "depends on" lines in Kconfig to include any non-standard parent subsystem configs needed for Kbuild to compile the code statically into vmlinux. List them in the EnableConfigs output array, and DO NOT add a '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: For your convenience, here is the diff of the changes:
commit efbb0b165548b3c391391e92aa270fab79ba3436
Author: syz-cluster <triage@syzkaller.com>
Date: Thu Aug 13 23:58:22 2026 +0000
syz-cluster: applied patch under review
diff --git a/tools/testing/selftests/bpf/progs/pyperf.h b/tools/testing/selftests/bpf/progs/pyperf.h
index 86484f07e1d19..fd93a96e59015 100644
--- a/tools/testing/selftests/bpf/progs/pyperf.h
+++ b/tools/testing/selftests/bpf/progs/pyperf.h
@@ -85,9 +85,11 @@ static void *get_thread_state(void *tls_base, PidData *pidData)
return thread_state;
}
-static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,
- FrameData *frame, Symbol *symbol)
+__weak bool __get_frame_data(long frame_ptr_, PidData *pidData __arg_nonnull,
+ FrameData *frame __arg_nonnull, Symbol *symbol __arg_nonnull)
{
+ void *frame_ptr = (void *)frame_ptr_;
+
// read data from PyFrameObject
bpf_probe_read_user(&frame->f_back,
sizeof(frame->f_back),
@@ -119,6 +121,12 @@ static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,
return true;
}
+static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData,
+ FrameData *frame, Symbol *symbol)
+{
+ return __get_frame_data((long)frame_ptr, pidData, frame, symbol);
+}
+
struct {
__uint(type, BPF_MAP_TYPE_HASH);
__uint(max_entries, 1);
|
| 3/2 | 2026/08/13 23:58 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 2250 output: 88 thoughts: 304 Thoughts: **My Assessment: Not Worth Fuzzing** Okay, so this patch is touching `tools/testing/selftests/bpf/progs/pyperf.h`. Right off the bat, I see a change to `get_frame_data` – it's now calling a weak function, `__get_frame_data`. This immediately tells me it's related to BPF selftests. No impact on the kernel itself, which is what I'm looking for. Wait a second, let me reinforce my knowledge on this - `tools/testing/selftests/` isn't part of the core kernel. It's only involved when we compile and load those tests as BPF programs. Crucially, these self-test modifications do *not* impact the kernel's execution flow in a way that warrants fuzzing the kernel itself. Let me confirm that it *is* just a selftest. Yep, definitely under `tools/testing/selftests/`. I can confirm this. Therefore, my conclusion is that `WorthFuzzing` should be `false`. Just to be absolutely certain, let's verify if there are any other files that have been changed. Okay, checking the diff shows only `tools/testing/selftests/bpf/progs/pyperf.h`. Essentially, this patch modifies a BPF *selftest* program, and it doesn't touch anything in the kernel code, drivers, or architecture code. It's isolated to the testing framework. Hence, no fuzzing is needed. |
| 4/2 | 2026/08/13 23:58 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch only modifies a BPF selftest program (tools/testing/selftests/bpf/progs/pyperf.h) and does not make any functional changes to the core kernel, drivers, or architecture code. Therefore, it does not require fuzzing.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch only modifies a BPF selftest program (tools/testing/selftests/bpf/progs/pyperf.h) and does not make any functional changes to the core kernel, drivers, or architecture code. Therefore, it does not require fuzzing.",
"WorthFuzzing": false
} |
| 5/1 | 2026/08/13 23:58 | action | If |
0mArgs:{
"WorthFuzzing": false
}Results: null |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|