| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/08/27 18:44 | flow | patch-triage |
2mArgs:null Results: {
"EnableConfigs": [
"CFG80211",
"MWIFIEX",
"MWIFIEX_USB"
],
"FocusSymbols": [
"mwifiex_register_cfg80211"
],
"KMSANReasoning": "The patch introduces a new device tree property `marvell,invalid-reg-hint-in-rom` and uses it to conditionally skip a call to `regulatory_hint()` in the mwifiex driver. There are no new memory allocations, no structures copied to user space, and no complex data manipulations that could result in uninitialized memory being used or leaked. Thus, there is no risk of uninitialized memory bugs that would require KMSAN.",
"NeedsKMSAN": false,
"Reasoning": "The patch modifies the initialization logic of the Marvell mwifiex wireless driver to skip regulatory hints if a specific device property is set. This is a functional change in a driver that can be reached in virtualized environments via USB emulation.",
"WorthFuzzing": true
} |
| 1/1 | 2026/08/27 18:44 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 53ffee4b49b701841246abfba953b16f1c71f8a6\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Thu Aug 27 18:44:49 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml\nindex 930b700b73d00..9f905ef5c2c07 100644\n--- a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml\n+++ b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml\n@@ -59,6 +59,12 @@ properties:\n description: Calibration data for sub-band 3 in the 5GHz band.\n maxItems: 502\n \n+ marvell,invalid-reg-hint-in-rom:\n+ $ref: /schemas/types.yaml#/definitions/flag\n+ description:\n+ The regulatory hint in ROM conflicts with platform configuration.\n+ It should be ignored, so the platform regulatory domain can be used.\n+\n marvell,wakeup-pin:\n $ref: /schemas/types.yaml#/definitions/uint32\n description:\ndiff --git a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts\nindex 4ab45f294de22..2bf29981a0313 100644\n--- a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts\n+++ b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts\n@@ -165,6 +165,15 @@ \u0026sdhci {\n \twp-inverted;\n \tbus-width = \u003c8\u003e;\n \tstatus = \"okay\";\n+\n+\t#address-cells = \u003c1\u003e;\n+\t#size-cells = \u003c0\u003e;\n+\n+\twifi@1 {\n+\t\tcompatible = \"marvell,sd8897\";\n+\t\treg = \u003c1\u003e;\n+\t\tmarvell,invalid-reg-hint-in-rom;\n+\t};\n };\n \n \u0026usb3_1_vbus {\ndiff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c\nindex 7a1ba32f1fb36..293876397b670 100644\n--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c\n+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c\n@@ -4897,7 +4897,14 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)\n \t\t\t\tcountry_code =\n \t\t\t\t\tmwifiex_11d_code_2_region(\n \t\t\t\t\t\tadapter-\u003eregion_code);\n+\n+\t\t\t\t/* If the reg hint in ROM conflicts with platform\n+\t\t\t\t * configuration, it should be ignored, so the\n+\t\t\t\t * platform regulatory domain can be used.\n+\t\t\t\t */\n \t\t\t\tif (country_code \u0026\u0026\n+\t\t\t\t !device_property_read_bool(adapter-\u003edev,\n+\t\t\t\t\t\t\t \"marvell,invalid-reg-hint-in-rom\") \u0026\u0026\n \t\t\t\t regulatory_hint(wiphy, country_code))\n \t\t\t\t\tmwifiex_dbg(priv-\u003eadapter, ERROR,\n \t\t\t\t\t\t \"regulatory_hint() failed\\n\");\n"
} |
| 2/1 | 2026/08/27 18:44 | agent | patch-evaluator |
1mModel:best-expensive Args: null Results: {
"EnableConfigs": [
"CFG80211",
"MWIFIEX",
"MWIFIEX_USB"
],
"FocusSymbols": [
"mwifiex_register_cfg80211"
],
"Reasoning": "The patch modifies the initialization logic of the Marvell mwifiex wireless driver to skip regulatory hints if a specific device property is set. This is a functional change in a driver that can be reached in virtualized environments via USB emulation.",
"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 53ffee4b49b701841246abfba953b16f1c71f8a6
Author: syz-cluster <triage@syzkaller.com>
Date: Thu Aug 27 18:44:49 2026 +0000
syz-cluster: applied patch under review
diff --git a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
index 930b700b73d00..9f905ef5c2c07 100644
--- a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
@@ -59,6 +59,12 @@ properties:
description: Calibration data for sub-band 3 in the 5GHz band.
maxItems: 502
+ marvell,invalid-reg-hint-in-rom:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ The regulatory hint in ROM conflicts with platform configuration.
+ It should be ignored, so the platform regulatory domain can be used.
+
marvell,wakeup-pin:
$ref: /schemas/types.yaml#/definitions/uint32
description:
diff --git a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
index 4ab45f294de22..2bf29981a0313 100644
--- a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
+++ b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
@@ -165,6 +165,15 @@ &sdhci {
wp-inverted;
bus-width = <8>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wifi@1 {
+ compatible = "marvell,sd8897";
+ reg = <1>;
+ marvell,invalid-reg-hint-in-rom;
+ };
};
&usb3_1_vbus {
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 7a1ba32f1fb36..293876397b670 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -4897,7 +4897,14 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
country_code =
mwifiex_11d_code_2_region(
adapter->region_code);
+
+ /* If the reg hint in ROM conflicts with platform
+ * configuration, it should be ignored, so the
+ * platform regulatory domain can be used.
+ */
if (country_code &&
+ !device_property_read_bool(adapter->dev,
+ "marvell,invalid-reg-hint-in-rom") &&
regulatory_hint(wiphy, country_code))
mwifiex_dbg(priv->adapter, ERROR,
"regulatory_hint() failed\n");
|
| 3/2 | 2026/08/27 18:44 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 2701 output: 26 thoughts: 451 Thoughts: **Analyzing a WiFi Driver Patch** Okay, so I'm looking at this patch and immediately, I see three files have been touched. The first, `Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml`, is just a documentation update, so I'll ignore that for now. The second, `arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts`, is a device tree change – also potentially interesting, but I need to focus on the code. The real meat is in `drivers/net/wireless/marvell/mwifiex/cfg80211.c`, so I'll dive into that. Specifically, I'm focusing on the `mwifiex_register_cfg80211` function. Here's what's changed: they've added a check for the device property "marvell,invalid-reg-hint-in-rom" before calling `regulatory_hint`. It's a tiny change, really just an additional condition during driver initialization. The question is, is this worth fuzzing? On first glance, no, it seems trivial. This is only touching the Marvell mwifiex driver – something for Marvell WiFi chips, whether SDIO, PCIe, or USB. Since it's Marvell, I know I could potentially fuzz this driver using USB or SDIO emulation. I could emulate the hardware. But the change itself... it's just skipping a call to `regulatory_hint` under a specific condition. It seems to be a minor initialization tweak. Okay, let's take a step back and think. Is this a functional change *worth* fuzzing? I need to consider whether this modification will lead to new execution paths or vulnerabilities. The change seems extremely small. I'll need to check the wider context of this `mwifiex_register_cfg80211` function. |
| 4/2 | 2026/08/27 18:45 | tool | grepper |
0mArgs:{
"Expression": "mwifiex_register_cfg80211"
}Results: {
"Output": "drivers/net/wireless/marvell/mwifiex/cfg80211.c=4668=int mwifiex_init_channel_scan_gap(struct mwifiex_adapter *adapter)\n--\ndrivers/net/wireless/marvell/mwifiex/cfg80211.c-4697-\ndrivers/net/wireless/marvell/mwifiex/cfg80211.c:4698:int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)\ndrivers/net/wireless/marvell/mwifiex/cfg80211.c-4699-{\n--\ndrivers/net/wireless/marvell/mwifiex/cfg80211.h-14-\ndrivers/net/wireless/marvell/mwifiex/cfg80211.h:15:int mwifiex_register_cfg80211(struct mwifiex_adapter *);\ndrivers/net/wireless/marvell/mwifiex/cfg80211.h-16-\n--\ndrivers/net/wireless/marvell/mwifiex/main.c=535=static int _mwifiex_fw_dpc(const struct firmware *firmware, void *context)\n--\ndrivers/net/wireless/marvell/mwifiex/main.c-586-\tif (!adapter-\u003ewiphy) {\ndrivers/net/wireless/marvell/mwifiex/main.c:587:\t\tif (mwifiex_register_cfg80211(adapter)) {\ndrivers/net/wireless/marvell/mwifiex/main.c-588-\t\t\tmwifiex_dbg(adapter, ERROR,\n"
} |
| 5/2 | 2026/08/27 18:45 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 4026 output: 18 thoughts: 1021 Thoughts: **Fuzzing Decision for mwifiex_register_cfg80211** Okay, let's break this down. My initial assessment was leaning towards "WorthFuzzing=false" because the core change in `mwifiex_register_cfg80211` looks incredibly minor. It's a Marvell WiFi driver initialization function, and the modification simply reads a device property to conditionally skip a call to `regulatory_hint`. It seems almost trivial, very specific to this hardware, and doesn't introduce any obvious new attack surface or complex logic. I considered it reachable via USB emulation in QEMU (mwifiex_usb). The original instinct was driven by the perceived simplicity: it seemed like fuzzing this would be low-yield, especially given that it's tied to static device properties (DT/ACPI) which are not typically fuzzed directly in a standard environment like syzkaller. However, the prompt's rules changed my perspective. I need to be more precise. The specific rules state that if the change touches "reachable core kernel logic, drivers, or architectures," I need to err on the side of "WorthFuzzing=true." Let's re-evaluate. The change is in a driver and can be executed within QEMU with USB emulation. It functionally alters the execution flow; it skips `regulatory_hint` based on the value of `marvell,invalid-reg-hint-in-rom`. While the change is small, it still *does* modify a reachable code path. Okay, let's formalize this. This requires: * **EnableConfigs:** MWIFIEX, MWIFIEX_USB, MWIFIEX_SDIO, MWIFIEX_PCIE. (All relevant to supporting the driver, including the USB path) * **FocusSymbols:** `mwifiex_register_cfg80211`. (The function directly modified). So, although it's a minor change, the correct response, adhering strictly to the provided rules, is: "WorthFuzzing=true." This is a bit of a reluctant conclusion, given my expert understanding of the likely payoff from fuzzing this specific change, but the rules are the rules. |
| 6/2 | 2026/08/27 18:45 | tool | grepper |
0mArgs:{
"Expression": "config MWIFIEX"
}Results: {
"Output": "drivers/net/wireless/marvell/mwifiex/Kconfig-1-# SPDX-License-Identifier: GPL-2.0-only\ndrivers/net/wireless/marvell/mwifiex/Kconfig:2:config MWIFIEX\ndrivers/net/wireless/marvell/mwifiex/Kconfig-3-\ttristate \"Marvell WiFi-Ex Driver\"\n--\ndrivers/net/wireless/marvell/mwifiex/Kconfig-11-\ndrivers/net/wireless/marvell/mwifiex/Kconfig:12:config MWIFIEX_SDIO\ndrivers/net/wireless/marvell/mwifiex/Kconfig-13-\ttristate \"Marvell WiFi-Ex Driver for SD8786/SD8787/SD8797/SD8887/SD8897/SD8977/SD8978/SD8987/SD8997\"\n--\ndrivers/net/wireless/marvell/mwifiex/Kconfig-24-\ndrivers/net/wireless/marvell/mwifiex/Kconfig:25:config MWIFIEX_PCIE\ndrivers/net/wireless/marvell/mwifiex/Kconfig-26-\ttristate \"Marvell WiFi-Ex Driver for PCIE 8766/8897/8997\"\n--\ndrivers/net/wireless/marvell/mwifiex/Kconfig-36-\ndrivers/net/wireless/marvell/mwifiex/Kconfig:37:config MWIFIEX_USB\ndrivers/net/wireless/marvell/mwifiex/Kconfig-38-\ttristate \"Marvell WiFi-Ex Driver for USB8766/8797/8997\"\n"
} |
| 7/2 | 2026/08/27 18:45 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 5968 output: 20 thoughts: 551 Thoughts: **Fuzzing Decision for MWIFIEX Driver** Okay, so I'm looking at these configs: `MWIFIEX` and `MWIFIEX_USB`. My focus is on `mwifiex_register_cfg80211`. This function, as I understand, is called during driver initialization. So, it's not a hot-path, which is good. The question is, is it worth fuzzing? It's a relatively small change, but it does meet the general criteria. I had to pause there because I wanted to make sure there weren't any other functions to consider; nope, it's just `mwifiex_register_cfg80211`. Now, I'm thinking about `device_property_read_bool`. Could this be fuzzed? Well, syzkaller does offer some support for USB device fuzzing, but device properties are usually handled through platform code, ACPI, or device trees. With a plugged-in USB device, it might not have these properties unless it's been explicitly configured. But, the rule is, "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." So, I'm going to say this is *WorthFuzzing=true*. Wait... I need to consider if this change might be considered trivial. The rules say to return false if the patch only contains things like documentation changes, Kconfig changes, logging changes, or changes to constants that don't alter execution. It also says not to fuzz paths that are impossible to reach in a virtualized environment, or certain vendor-specific drivers. It doesn't strictly fall into the listed false categories. Therefore, despite the potentially small impact, I will return `WorthFuzzing=true`. So, to summarize: Configs: `MWIFIEX`, `MWIFIEX_USB` FocusSymbol: `mwifiex_register_cfg80211` I now need to check if `MWIFIEX_USB` has any dependencies. |
| 8/2 | 2026/08/27 18:45 | tool | grepper |
0mArgs:{
"Expression": "config MWIFIEX_USB"
}Results: {
"Output": "drivers/net/wireless/marvell/mwifiex/Kconfig=25=config MWIFIEX_PCIE\n--\ndrivers/net/wireless/marvell/mwifiex/Kconfig-36-\ndrivers/net/wireless/marvell/mwifiex/Kconfig:37:config MWIFIEX_USB\ndrivers/net/wireless/marvell/mwifiex/Kconfig-38-\ttristate \"Marvell WiFi-Ex Driver for USB8766/8797/8997\"\n"
} |
| 9/2 | 2026/08/27 18:45 | llm | patch-evaluator |
1mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 7126 output: 41 thoughts: 25 Thoughts: Here's my summary, as though I'm thinking through this process: **Diving into the Marvell Wireless Driver Configuration** Okay, time to get my hands dirty. I need to understand the configuration dependencies for this Marvell wireless driver. I'm going straight for the source: `drivers/net/wireless/marvell/mwifiex/Kconfig`. This Kconfig file is the key to understanding all the options, dependencies, and ultimately, how this driver gets built into the kernel. I expect it'll outline which other drivers, features, or modules need to be enabled before the `mwifiex` driver itself can be selected. I'll be looking for things like hardware platform constraints, required kernel features (like regulatory or power management), and other wireless dependencies. Let's see what secrets this configuration file holds! |
| 10/2 | 2026/08/27 18:46 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/marvell/mwifiex/Kconfig",
"FirstLine": 1,
"LineCount": 50
}Results: {
"Contents": " 1:\t# SPDX-License-Identifier: GPL-2.0-only\n 2:\tconfig MWIFIEX\n 3:\t\ttristate \"Marvell WiFi-Ex Driver\"\n 4:\t\tdepends on CFG80211\n 5:\t\thelp\n 6:\t\t This adds support for wireless adapters based on Marvell\n 7:\t\t 802.11n/ac chipsets.\n 8:\t\n 9:\t\t If you choose to build it as a module, it will be called\n 10:\t\t mwifiex.\n 11:\t\n 12:\tconfig MWIFIEX_SDIO\n 13:\t\ttristate \"Marvell WiFi-Ex Driver for SD8786/SD8787/SD8797/SD8887/SD8897/SD8977/SD8978/SD8987/SD8997\"\n 14:\t\tdepends on MWIFIEX \u0026\u0026 MMC\n 15:\t\tselect FW_LOADER\n 16:\t\tselect WANT_DEV_COREDUMP\n 17:\t\thelp\n 18:\t\t This adds support for wireless adapters based on Marvell\n 19:\t\t 8786/8787/8797/8887/8897/8977/8978/8987/8997 chipsets with\n 20:\t\t SDIO interface. SD8978 is also known as NXP IW416.\n 21:\t\n 22:\t\t If you choose to build it as a module, it will be called\n 23:\t\t mwifiex_sdio.\n 24:\t\n 25:\tconfig MWIFIEX_PCIE\n 26:\t\ttristate \"Marvell WiFi-Ex Driver for PCIE 8766/8897/8997\"\n 27:\t\tdepends on MWIFIEX \u0026\u0026 PCI\n 28:\t\tselect FW_LOADER\n 29:\t\tselect WANT_DEV_COREDUMP\n 30:\t\thelp\n 31:\t\t This adds support for wireless adapters based on Marvell\n 32:\t\t 8766/8897/8997 chipsets with PCIe interface.\n 33:\t\n 34:\t\t If you choose to build it as a module, it will be called\n 35:\t\t mwifiex_pcie.\n 36:\t\n 37:\tconfig MWIFIEX_USB\n 38:\t\ttristate \"Marvell WiFi-Ex Driver for USB8766/8797/8997\"\n 39:\t\tdepends on MWIFIEX \u0026\u0026 USB\n 40:\t\tselect FW_LOADER\n 41:\t\thelp\n 42:\t\t This adds support for wireless adapters based on Marvell\n 43:\t\t 8797/8997 chipset with USB interface.\n 44:\t\n 45:\t\t If you choose to build it as a module, it will be called\n 46:\t\t mwifiex_usb.\n"
} |
| 11/2 | 2026/08/27 18:46 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 8132 output: 115 thoughts: 139 Thoughts: **Fuzzing Decision for a Driver Change** Okay, so I'm looking at this change, and the dependencies are CFG80211, USB, and MWIFIEX. Specifically, I'll be including CFG80211, MWIFIEX, and MWIFIEX_USB in this assessment. The question is, does this really warrant fuzzing? Honestly, it seems like a pretty minor change. It's just a single line, really, that adds a check for a device property to skip a regulatory hint. There isn't any new logic introduced, no state machine changes, and definitely no complex data processing involved. It's really just a minor initialization tweak. But... it *is* a functional change within a driver, and I *can* reach it via QEMU. So, even though it seems trivial, I'm going to set `WorthFuzzing=true`. You know, better safe than sorry, and it *is* a driver, so who knows? Let's call `set-results`. |
| 12/2 | 2026/08/27 18:46 | tool | set-results |
0mArgs:{
"EnableConfigs": [
"CFG80211",
"MWIFIEX",
"MWIFIEX_USB"
],
"FocusSymbols": [
"mwifiex_register_cfg80211"
],
"Reasoning": "The patch modifies the initialization logic of the Marvell mwifiex wireless driver to skip regulatory hints if a specific device property is set. This is a functional change in a driver that can be reached in virtualized environments via USB emulation.",
"WorthFuzzing": true
}Results: {
"EnableConfigs": [
"CFG80211",
"MWIFIEX",
"MWIFIEX_USB"
],
"FocusSymbols": [
"mwifiex_register_cfg80211"
],
"Reasoning": "The patch modifies the initialization logic of the Marvell mwifiex wireless driver to skip regulatory hints if a specific device property is set. This is a functional change in a driver that can be reached in virtualized environments via USB emulation.",
"WorthFuzzing": true
} |
| 13/1 | 2026/08/27 18:46 | action | If |
0mArgs:{
"WorthFuzzing": true
}Results: null |
| 14/2 | 2026/08/27 18:46 | agent | kmsan-evaluator |
0mModel:best-expensive Args: null Results: {
"KMSANReasoning": "The patch introduces a new device tree property `marvell,invalid-reg-hint-in-rom` and uses it to conditionally skip a call to `regulatory_hint()` in the mwifiex driver. There are no new memory allocations, no structures copied to user space, and no complex data manipulations that could result in uninitialized memory being used or leaked. Thus, there is no risk of uninitialized memory bugs that would require KMSAN.",
"NeedsKMSAN": false
}Instruction: You are an expert Linux kernel security engineer specializing in kernel memory
error detectors (KASAN and KMSAN). Your job is to review the provided patch series and
determine if the code changes justify spawning a dedicated KMSAN (KernelMemorySanitizer)
fuzzing session in addition to standard KASAN fuzzing.
CRITICAL DISTINCTION BETWEEN KASAN AND KMSAN:
- Standard KASAN kernel builds (upstream-apparmor-kasan.config) already enable
a comprehensive suite of debugging tools and sanitizers, including KASAN
(out-of-bounds accesses, use-after-free, double free, invalid free), LOCKDEP
(locking bugs and deadlocks), UB-sanitizers, and memory corruption checks.
- KMSAN (KernelMemorySanitizer) detects reads of UNINITIALIZED memory (stack, heap,
or page allocations) and kernel-to-user memory info-leaks.
Rule: THERE IS NO SENSE IN RUNNING A KMSAN SESSION IF A BUG CAN BE CAUGHT BY KASAN,
LOCKDEP, OR OTHER STANDARD BUG DETECTORS.
A dedicated KMSAN fuzzing session incurs significant resource costs. You must ONLY
set NeedsKMSAN=true if the code changes introduce or expose UNINITIALIZED MEMORY risks
that are detected ONLY by KMSAN.
Look holistically at the patch series and surrounding code. Even if no direct
uninitialized field accesses or new buffer allocations are added in the diff itself,
a patch may alter control flow, bounds checking, or data length calculations in ways
that change how the rest of the code operates on existing buffers (e.g. allowing
uninitialized stack/heap memory to be read, copied to user space, or used in control
flow). Do not hesitate to use your code access tools to inspect the surrounding code,
called functions, and callers.
Set NeedsKMSAN=true ONLY IF the patch introduces or modifies:
1. Kernel structures sent to user space (via copy_to_user, put_user, netlink skb
attributes, ioctl output arguments, socket options, or BPF buffers) where fields
or structure padding might not be fully initialized/zeroed.
2. Conditional logic or branching that depends on potentially uninitialized variables
or struct fields.
3. Allocation or initialization of complex data structures where uninitialized fields
could be read later in reachable code paths.
4. Bounds checks, lengths, or logic in a way that allows surrounding code to access
uninitialized bytes of existing buffers.
Set NeedsKMSAN=false IF:
- The code changes primarily risk out-of-bounds access, array overflows, NULL pointer
dereferences, locking deadlocks, or use-after-free bugs (these are already caught
by KASAN, LOCKDEP, or standard bug detectors).
- All stack/heap structures touched or introduced by the patch are fully zeroed
or initialized (e.g. using = {0}, memset, kzalloc) before being read or copied.
- The patch does not introduce any risk of uninitialized memory usage or info-leaks.
Use your code access tools to inspect the surrounding code if necessary, then provide
detailed KMSANReasoning contrasting KASAN vs KMSAN applicability for this patch.
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 53ffee4b49b701841246abfba953b16f1c71f8a6
Author: syz-cluster <triage@syzkaller.com>
Date: Thu Aug 27 18:44:49 2026 +0000
syz-cluster: applied patch under review
diff --git a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
index 930b700b73d00..9f905ef5c2c07 100644
--- a/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml
@@ -59,6 +59,12 @@ properties:
description: Calibration data for sub-band 3 in the 5GHz band.
maxItems: 502
+ marvell,invalid-reg-hint-in-rom:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ The regulatory hint in ROM conflicts with platform configuration.
+ It should be ignored, so the platform regulatory domain can be used.
+
marvell,wakeup-pin:
$ref: /schemas/types.yaml#/definitions/uint32
description:
diff --git a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
index 4ab45f294de22..2bf29981a0313 100644
--- a/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
+++ b/arch/arm/boot/dts/marvell/armada-385-linksys-rango.dts
@@ -165,6 +165,15 @@ &sdhci {
wp-inverted;
bus-width = <8>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wifi@1 {
+ compatible = "marvell,sd8897";
+ reg = <1>;
+ marvell,invalid-reg-hint-in-rom;
+ };
};
&usb3_1_vbus {
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 7a1ba32f1fb36..293876397b670 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -4897,7 +4897,14 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
country_code =
mwifiex_11d_code_2_region(
adapter->region_code);
+
+ /* If the reg hint in ROM conflicts with platform
+ * configuration, it should be ignored, so the
+ * platform regulatory domain can be used.
+ */
if (country_code &&
+ !device_property_read_bool(adapter->dev,
+ "marvell,invalid-reg-hint-in-rom") &&
regulatory_hint(wiphy, country_code))
mwifiex_dbg(priv->adapter, ERROR,
"regulatory_hint() failed\n");
|
| 15/3 | 2026/08/27 18:46 | llm | kmsan-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 2698 output: 117 thoughts: 313 Thoughts: **My Assessment of the Patch's Safety** Okay, let me break this down. This patch introduces a new device tree property, `marvell,invalid-reg-hint-in-rom`, and leverages it within the `mwifiex_register_cfg80211` function. Essentially, it provides a conditional mechanism to ignore a regulatory hint present in ROM. I'm seeing that the bulk of the changes involve device tree bindings, source updates, and a straightforward boolean check within `cfg80211.c`. The check itself relies on `device_property_read_bool()`, which is generally safe. The key is that this modification *doesn't* introduce any concerning aspects that usually trigger my alarm bells. There are no new memory allocations, no sensitive data structures being created or copied, and no complex manipulations that might lead to uninitialized memory being exposed or leaked. This suggests that the risk of uninitialized memory usage, the kind KMSAN is designed to catch, is negligible here. Therefore, KMSAN isn't warranted. While KASAN might be marginally helpful in the unlikely event of some other unrelated memory corruption, I don't see any immediate, patch-specific need for it. Standard testing should be adequate for this straightforward logic modification. My analysis confirms that KMSAN is definitely not necessary here. I think it's sound to document this reasoning clearly. |
| 16/3 | 2026/08/27 18:47 | tool | set-results |
0mArgs:{
"KMSANReasoning": "The patch introduces a new device tree property `marvell,invalid-reg-hint-in-rom` and uses it to conditionally skip a call to `regulatory_hint()` in the mwifiex driver. There are no new memory allocations, no structures copied to user space, and no complex data manipulations that could result in uninitialized memory being used or leaked. Thus, there is no risk of uninitialized memory bugs that would require KMSAN.",
"NeedsKMSAN": false
}Results: {
"KMSANReasoning": "The patch introduces a new device tree property `marvell,invalid-reg-hint-in-rom` and uses it to conditionally skip a call to `regulatory_hint()` in the mwifiex driver. There are no new memory allocations, no structures copied to user space, and no complex data manipulations that could result in uninitialized memory being used or leaked. Thus, there is no risk of uninitialized memory bugs that would require KMSAN.",
"NeedsKMSAN": false
} |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|