| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/07/30 04:15 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": [
"CFG80211"
],
"FocusSymbols": [
"fw_version_show"
],
"Reasoning": "The patch adds a new sysfs attribute `fw_version` for IEEE 802.11 wireless devices. The `fw_version_show` function is reachable via sysfs reads and can be fuzzed to ensure it safely handles the `wiphy-\u003efw_version` string.",
"WorthFuzzing": true
} |
| 1/1 | 2026/07/30 04:15 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit a3f45f79bee014131f142c15ca811420bd34642d\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Thu Jul 30 04:15:44 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/Documentation/ABI/testing/sysfs-class-ieee80211 b/Documentation/ABI/testing/sysfs-class-ieee80211\nnew file mode 100644\nindex 0000000000000..caaf4f3fd4b4f\n--- /dev/null\n+++ b/Documentation/ABI/testing/sysfs-class-ieee80211\n@@ -0,0 +1,7 @@\n+What:\t\t/sys/class/ieee80211/\u003cphyname\u003e/fw_version\n+Date:\t\tJuly 2026\n+Contact:\tlinux-wireless@vger.kernel.org\n+Description:\tRead-only firmware version string provided by the driver for\n+\t\tthis wireless device. The read data will match the information\n+\t\tprovided by ethtool get_drvinfo. As drivers are not required to\n+\t\tprovide this information, reading may yield no data.\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 2d420d40782e3..56181edb718fe 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -117,6 +117,7 @@ W:\thttps://wireless.wiki.kernel.org/\n Q:\thttps://patchwork.kernel.org/project/linux-wireless/list/\n T:\tgit git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git\n T:\tgit git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git\n+F:\tDocumentation/ABI/testing/sysfs-class-ieee80211\n F:\tDocumentation/driver-api/80211/cfg80211.rst\n F:\tDocumentation/networking/regulatory.rst\n F:\tinclude/linux/ieee80211.h\ndiff --git a/net/wireless/sysfs.c b/net/wireless/sysfs.c\nindex 3ec25d3f004e3..e63b6d1fa411f 100644\n--- a/net/wireless/sysfs.c\n+++ b/net/wireless/sysfs.c\n@@ -65,12 +65,26 @@ static ssize_t addresses_show(struct device *dev,\n }\n static DEVICE_ATTR_RO(addresses);\n \n+static ssize_t fw_version_show(struct device *dev,\n+\t\t\t struct device_attribute *attr,\n+\t\t\t char *buf)\n+{\n+\tstruct wiphy *wiphy = \u0026dev_to_rdev(dev)-\u003ewiphy;\n+\n+\tif (!wiphy-\u003efw_version[0])\n+\t\treturn 0;\n+\n+\treturn sysfs_emit(buf, \"%s\\n\", wiphy-\u003efw_version);\n+}\n+static DEVICE_ATTR_RO(fw_version);\n+\n static struct attribute *ieee80211_attrs[] = {\n \t\u0026dev_attr_index.attr,\n \t\u0026dev_attr_macaddress.attr,\n \t\u0026dev_attr_address_mask.attr,\n \t\u0026dev_attr_addresses.attr,\n \t\u0026dev_attr_name.attr,\n+\t\u0026dev_attr_fw_version.attr,\n \tNULL,\n };\n ATTRIBUTE_GROUPS(ieee80211);\n"
} |
| 2/1 | 2026/07/30 04:15 | agent | patch-evaluator |
0mModel:best-expensive Args: null Results: {
"EnableConfigs": [
"CFG80211"
],
"FocusSymbols": [
"fw_version_show"
],
"Reasoning": "The patch adds a new sysfs attribute `fw_version` for IEEE 802.11 wireless devices. The `fw_version_show` function is reachable via sysfs reads and can be fuzzed to ensure it safely handles the `wiphy-\u003efw_version` string.",
"WorthFuzzing": true
}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 a3f45f79bee014131f142c15ca811420bd34642d
Author: syz-cluster <triage@syzkaller.com>
Date: Thu Jul 30 04:15:44 2026 +0000
syz-cluster: applied patch under review
diff --git a/Documentation/ABI/testing/sysfs-class-ieee80211 b/Documentation/ABI/testing/sysfs-class-ieee80211
new file mode 100644
index 0000000000000..caaf4f3fd4b4f
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-ieee80211
@@ -0,0 +1,7 @@
+What: /sys/class/ieee80211/<phyname>/fw_version
+Date: July 2026
+Contact: linux-wireless@vger.kernel.org
+Description: Read-only firmware version string provided by the driver for
+ this wireless device. The read data will match the information
+ provided by ethtool get_drvinfo. As drivers are not required to
+ provide this information, reading may yield no data.
diff --git a/MAINTAINERS b/MAINTAINERS
index 2d420d40782e3..56181edb718fe 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -117,6 +117,7 @@ W: https://wireless.wiki.kernel.org/
Q: https://patchwork.kernel.org/project/linux-wireless/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git
+F: Documentation/ABI/testing/sysfs-class-ieee80211
F: Documentation/driver-api/80211/cfg80211.rst
F: Documentation/networking/regulatory.rst
F: include/linux/ieee80211.h
diff --git a/net/wireless/sysfs.c b/net/wireless/sysfs.c
index 3ec25d3f004e3..e63b6d1fa411f 100644
--- a/net/wireless/sysfs.c
+++ b/net/wireless/sysfs.c
@@ -65,12 +65,26 @@ static ssize_t addresses_show(struct device *dev,
}
static DEVICE_ATTR_RO(addresses);
+static ssize_t fw_version_show(struct device *dev,
+ struct device_attribute *attr,
+ char *buf)
+{
+ struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy;
+
+ if (!wiphy->fw_version[0])
+ return 0;
+
+ return sysfs_emit(buf, "%s\n", wiphy->fw_version);
+}
+static DEVICE_ATTR_RO(fw_version);
+
static struct attribute *ieee80211_attrs[] = {
&dev_attr_index.attr,
&dev_attr_macaddress.attr,
&dev_attr_address_mask.attr,
&dev_attr_addresses.attr,
&dev_attr_name.attr,
+ &dev_attr_fw_version.attr,
NULL,
};
ATTRIBUTE_GROUPS(ieee80211);
|
| 3/2 | 2026/07/30 04:15 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 2688 output: 29 thoughts: 498 Thoughts: **Fuzzing Feasibility Assessment: fw_version sysfs Attribute** Okay, so this patch introduces a new `fw_version` sysfs attribute for 802.11 wireless devices. It looks straightforward: a new function, `fw_version_show`, in `net/wireless/sysfs.c`, is added and registered. Plus, there's the obligatory documentation update. My initial gut feeling is that this is *probably* too simple to warrant fuzzing. We're just exposing `wiphy->fw_version` via sysfs, a read-only attribute. It's essentially a pass-through. However, the nature of sysfs makes it *reachable*. Let me double-check the fuzzing guidelines. Are there any exemptions that apply? Reading through the exemption criteria... No, this doesn't seem to fall under any of those. It's not documentation, Kconfig, comments, or decorative logging. It *is* a functional change, a sysfs attribute that provides information, so it's not a change to a numeric constant or macro. It's also reachable in standard environments. It's not specific to hardware that can't be emulated. And it's not a driver teardown callback. Alright, so the rules state that it needs to be functionally assessed. If it's a simple attribute, it's accessible. Therefore, *is it worth fuzzing?* Let's focus the fuzzing on `fw_version_show` if needed and make sure `CFG80211` or `MAC80211` is enabled. Time to check `net/wireless/sysfs.c`'s Kconfig to confirm. |
| 4/2 | 2026/07/30 04:15 | tool | grepper |
0mArgs:{
"Expression": "sysfs.o",
"PathPrefix": "net/wireless/Makefile"
}Results: {
"Output": "net/wireless/Makefile=7=obj-$(CONFIG_WEXT_PRIV) += wext-priv.o\nnet/wireless/Makefile-8-\nnet/wireless/Makefile:9:cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o\nnet/wireless/Makefile-10-cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o\n"
} |
| 5/2 | 2026/07/30 04:15 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 3726 output: 109 thoughts: 358 Thoughts: **My Assessment of the `fw_version_show` Function** Okay, so I see that `CONFIG_CFG80211` is definitely a prerequisite here. Now, regarding the `fw_version_show` function itself, I need to consider its fuzzability. Initially, I saw that it was static, and my first instinct was to lean towards *not* fuzzing it. But hang on... let's take a closer look. The code is incredibly simple; it's a straightforward sysfs attribute read. No complex conditionals or convoluted logic. However, this is, in fact, a functional change, a new sysfs attribute exposed. It is worth considering for syzkaller. My first impulse was to return `WorthFuzzing=true` and `FocusSymbols=["fw_version_show"]` with `EnableConfigs=["CFG80211"]`. But wait, the documentation I'm using provides an important caveat: to prefer non-static, non-inlined API entrypoints. That’s because the non-static functions have distinct symbol addresses, and static functions can be inlined by the compiler. So, while `fw_version_show` *is* static, the kernel is using it as a function pointer through `DEVICE_ATTR_RO(fw_version)` and `ieee80211_attrs`. That means the compiler won't inline it because it's passed as a function pointer, and it *will* have a distinct symbol address. This makes it viable for fuzzing. Therefore, despite its simplicity and static declaration, I'm confident in setting `WorthFuzzing=true`. This new sysfs attribute is indeed a target for syzkaller. |
| 6/2 | 2026/07/30 04:16 | tool | set-results |
0mArgs:{
"EnableConfigs": [
"CFG80211"
],
"FocusSymbols": [
"fw_version_show"
],
"Reasoning": "The patch adds a new sysfs attribute `fw_version` for IEEE 802.11 wireless devices. The `fw_version_show` function is reachable via sysfs reads and can be fuzzed to ensure it safely handles the `wiphy-\u003efw_version` string.",
"WorthFuzzing": true
}Results: {
"EnableConfigs": [
"CFG80211"
],
"FocusSymbols": [
"fw_version_show"
],
"Reasoning": "The patch adds a new sysfs attribute `fw_version` for IEEE 802.11 wireless devices. The `fw_version_show` function is reachable via sysfs reads and can be fuzzed to ensure it safely handles the `wiphy-\u003efw_version` string.",
"WorthFuzzing": true
} |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|