| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/10/20 20:25 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch introduces a platform LED driver (leds-rtl9300-port.c) for Realtek RTL9300 switch SoCs, guarded by CONFIG_LEDS_RTL9300_PORT (which depends on MACH_REALTEK_RTL for MIPS, or COMPILE_TEST). The driver requires a Device Tree node and a parent syscon regmap representing the RTL9300 switch ASIC. This hardware is not emulated in standard virtualized environments (QEMU/GCE on amd64), rendering the code structurally unreachable for fuzzing on amd64.",
"WorthFuzzing": false
} |
| 1/1 | 2026/10/20 20:25 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 691ee8aaeb3ff13a3bc1c18c8f9584f7c4b68241\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Tue Oct 20 20:25:16 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml b/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml\nnew file mode 100644\nindex 0000000000000..8d6b35525263f\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml\n@@ -0,0 +1,84 @@\n+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/leds/realtek,rtl9301-port-leds.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Realtek RTL9300 switch port LEDs under software control\n+\n+maintainers:\n+ - Ross Cawston \u003cross@r-sc.ca\u003e\n+\n+description: |\n+ The RTL9300 switch drives up to four LEDs per port over its LED interface,\n+ serial or scanned, each normally showing a hardware function chosen by the\n+ LED set of the port. The LEDs listed here are taken over by software instead\n+ and switched on and off as LED class devices, for port LEDs that have no\n+ hardware function such as the PoE status LED of a PoE switch. The node is a\n+ child of the switch, whose registers it uses.\n+\n+properties:\n+ compatible:\n+ const: realtek,rtl9301-port-leds\n+\n+ reg:\n+ description: The software LED control registers, from SW_LED_LOAD to the\n+ end of LED_PORT_SW_CTRL, as an offset into the switch registers.\n+ maxItems: 1\n+\n+ \"#address-cells\":\n+ const: 2\n+\n+ \"#size-cells\":\n+ const: 0\n+\n+patternProperties:\n+ \"^led@[0-9a-f]+,[0-3]$\":\n+ $ref: /schemas/leds/common.yaml#\n+ unevaluatedProperties: false\n+\n+ properties:\n+ reg:\n+ items:\n+ - items:\n+ - description: Switch port\n+ maximum: 27\n+ - description: LED of the port, numbered as in the port's\n+ LED set\n+ maximum: 3\n+\n+ required:\n+ - reg\n+\n+required:\n+ - compatible\n+ - reg\n+ - \"#address-cells\"\n+ - \"#size-cells\"\n+\n+additionalProperties: false\n+\n+examples:\n+ - |\n+ #include \u003cdt-bindings/leds/common.h\u003e\n+\n+ led-controller@cc48 {\n+ compatible = \"realtek,rtl9301-port-leds\";\n+ reg = \u003c0xcc48 0x84\u003e;\n+ #address-cells = \u003c2\u003e;\n+ #size-cells = \u003c0\u003e;\n+\n+ led@0,2 {\n+ reg = \u003c0 2\u003e;\n+ color = \u003cLED_COLOR_ID_GREEN\u003e;\n+ function = \"poe\";\n+ function-enumerator = \u003c1\u003e;\n+ };\n+\n+ led@8,2 {\n+ reg = \u003c8 2\u003e;\n+ color = \u003cLED_COLOR_ID_GREEN\u003e;\n+ function = \"poe\";\n+ function-enumerator = \u003c2\u003e;\n+ };\n+ };\ndiff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml\nindex 80eabc1706698..9529327ee0c80 100644\n--- a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml\n+++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml\n@@ -57,6 +57,9 @@ patternProperties:\n 'mdio-controller@[0-9a-f]+$':\n $ref: realtek,rtl9301-mdio.yaml#\n \n+ 'led-controller@[0-9a-f]+$':\n+ $ref: /schemas/leds/realtek,rtl9301-port-leds.yaml#\n+\n required:\n - compatible\n - reg\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex a1eb0937238dc..1e099a4cf053a 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -23013,6 +23013,13 @@ S:\tMaintained\n F:\tDocumentation/devicetree/bindings/net/dsa/realtek.yaml\n F:\tdrivers/net/dsa/realtek/*\n \n+REALTEK RTL9300 PORT LED DRIVER\n+M:\tRoss Cawston \u003cross@r-sc.ca\u003e\n+L:\tlinux-leds@vger.kernel.org\n+S:\tMaintained\n+F:\tDocumentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml\n+F:\tdrivers/leds/leds-rtl9300-port.c\n+\n REALTEK SPI-NAND\n M:\tChris Packham \u003cchris.packham@alliedtelesis.co.nz\u003e\n S:\tMaintained\ndiff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig\nindex 7ec2c8d785426..d9b2afca2a656 100644\n--- a/drivers/leds/Kconfig\n+++ b/drivers/leds/Kconfig\n@@ -676,6 +676,19 @@ config LEDS_REGULATOR\n \thelp\n \t This option enables support for regulator driven LEDs.\n \n+config LEDS_RTL9300_PORT\n+\ttristate \"LED support for Realtek RTL9300 switch port LEDs\"\n+\tdepends on LEDS_CLASS\n+\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\n+\tselect MFD_SYSCON\n+\thelp\n+\t This option enables software control of the port LEDs of the\n+\t Realtek RTL9300 switch, for port LEDs that have no hardware\n+\t function, such as the PoE status LEDs of PoE switches.\n+\n+\t To compile this driver as a module, choose M here: the module\n+\t will be called leds-rtl9300-port.\n+\n config LEDS_BD2606MVV\n \ttristate \"LED driver for BD2606MVV\"\n \tdepends on LEDS_CLASS\ndiff --git a/drivers/leds/Makefile b/drivers/leds/Makefile\nindex 4d4b089156e24..e12953037386f 100644\n--- a/drivers/leds/Makefile\n+++ b/drivers/leds/Makefile\n@@ -87,6 +87,7 @@ obj-$(CONFIG_LEDS_POWERNV)\t\t+= leds-powernv.o\n obj-$(CONFIG_LEDS_PWM)\t\t\t+= leds-pwm.o\n obj-$(CONFIG_LEDS_QNAP_MCU)\t\t+= leds-qnap-mcu.o\n obj-$(CONFIG_LEDS_REGULATOR)\t\t+= leds-regulator.o\n+obj-$(CONFIG_LEDS_RTL9300_PORT)\t\t+= leds-rtl9300-port.o\n obj-$(CONFIG_LEDS_SC27XX_BLTC)\t\t+= leds-sc27xx-bltc.o\n obj-$(CONFIG_LEDS_ST1202)\t\t+= leds-st1202.o\n obj-$(CONFIG_LEDS_SUN50I_A100)\t\t+= leds-sun50i-a100.o\ndiff --git a/drivers/leds/leds-rtl9300-port.c b/drivers/leds/leds-rtl9300-port.c\nnew file mode 100644\nindex 0000000000000..623932a2a4127\n--- /dev/null\n+++ b/drivers/leds/leds-rtl9300-port.c\n@@ -0,0 +1,201 @@\n+// SPDX-License-Identifier: GPL-2.0-only\n+/*\n+ * Realtek RTL9300 switch port LEDs under software control\n+ *\n+ * The RTL9300 drives up to four LEDs per switch port over its LED interface,\n+ * serial or scanned. Each one normally shows a hardware function (link,\n+ * speed, activity) chosen by the LED set of the port, but software can take\n+ * it over and switch it on or off instead. Boards use that for port LEDs\n+ * that have no hardware function, such as the PoE status LED of a PoE\n+ * switch.\n+ *\n+ * Software control has a mode per LED, kept separately for copper and fibre\n+ * media, and the LED controller picks the new modes up when it is told to\n+ * load them. Both media are set alike here. The registers are part of the\n+ * switch register block; the node's reg gives their offset in it.\n+ *\n+ * Copyright (C) 2026 Ross Cawston \u003cross@r-sc.ca\u003e\n+ */\n+\n+#include \u003clinux/bits.h\u003e\n+#include \u003clinux/leds.h\u003e\n+#include \u003clinux/mfd/syscon.h\u003e\n+#include \u003clinux/mod_devicetable.h\u003e\n+#include \u003clinux/module.h\u003e\n+#include \u003clinux/platform_device.h\u003e\n+#include \u003clinux/property.h\u003e\n+#include \u003clinux/regmap.h\u003e\n+\n+/* Offsets from reg, which is SW_LED_LOAD (0xcc48 on the RTL9301) */\n+#define RTL9300_LED_SW_LOAD\t\t\t0x00\n+#define RTL9300_LED_SW_LOAD_START\t\tBIT(0)\n+#define RTL9300_LED_PORT_SW_EN_CTRL(port)\t(0x04 + ((port) / 8) * 4)\n+#define RTL9300_LED_PORT_SW_EN(port, led)\tBIT(((port) % 8) * 4 + (led))\n+#define RTL9300_LED_PORT_SW_CTRL(port)\t\t(0x14 + (port) * 4)\n+/* 3-bit mode per LED: 0 off, 7 on, copper LEDs from bit 0, fibre from 12 */\n+#define RTL9300_LED_SW_MODE(led)\t\t((GENMASK(2, 0) | GENMASK(14, 12)) \u003c\u003c (3 * (led)))\n+\n+#define RTL9300_LED_PORTS\t\t\t28\n+#define RTL9300_LED_PER_PORT\t\t\t4\n+\n+struct rtl9300_port_leds {\n+\tstruct regmap *map;\n+\tu32 base;\n+};\n+\n+struct rtl9300_port_led {\n+\tstruct led_classdev cdev;\n+\tstruct rtl9300_port_leds *ctrl;\n+\tu32 port;\n+\tu32 led;\n+};\n+\n+static int rtl9300_port_led_load(struct rtl9300_port_leds *ctrl)\n+{\n+\treturn regmap_write(ctrl-\u003emap, ctrl-\u003ebase + RTL9300_LED_SW_LOAD,\n+\t\t\t RTL9300_LED_SW_LOAD_START);\n+}\n+\n+static int rtl9300_port_led_set(struct led_classdev *cdev,\n+\t\t\t\tenum led_brightness brightness)\n+{\n+\tstruct rtl9300_port_led *pled = container_of(cdev, struct rtl9300_port_led, cdev);\n+\tstruct rtl9300_port_leds *ctrl = pled-\u003ectrl;\n+\tu32 mask = RTL9300_LED_SW_MODE(pled-\u003eled);\n+\tint ret;\n+\n+\tret = regmap_update_bits(ctrl-\u003emap, ctrl-\u003ebase + RTL9300_LED_PORT_SW_CTRL(pled-\u003eport),\n+\t\t\t\t mask, brightness ? mask : 0);\n+\tif (ret)\n+\t\treturn ret;\n+\n+\treturn rtl9300_port_led_load(ctrl);\n+}\n+\n+/* Hand the LED back to its hardware function */\n+static void rtl9300_port_led_release(void *data)\n+{\n+\tstruct rtl9300_port_led *pled = data;\n+\tstruct rtl9300_port_leds *ctrl = pled-\u003ectrl;\n+\n+\tregmap_clear_bits(ctrl-\u003emap, ctrl-\u003ebase + RTL9300_LED_PORT_SW_EN_CTRL(pled-\u003eport),\n+\t\t\t RTL9300_LED_PORT_SW_EN(pled-\u003eport, pled-\u003eled));\n+\trtl9300_port_led_load(ctrl);\n+}\n+\n+static int rtl9300_port_led_add(struct device *dev, struct rtl9300_port_leds *ctrl,\n+\t\t\t\tstruct fwnode_handle *fwnode)\n+{\n+\tstruct led_init_data init_data = { .fwnode = fwnode };\n+\tstruct rtl9300_port_led *pled;\n+\tenum led_brightness brightness;\n+\tu32 reg[2], sw_en, val;\n+\tint ret;\n+\n+\tret = fwnode_property_read_u32_array(fwnode, \"reg\", reg, ARRAY_SIZE(reg));\n+\tif (ret)\n+\t\treturn dev_err_probe(dev, ret, \"%pfw: bad reg\\n\", fwnode);\n+\tif (reg[0] \u003e= RTL9300_LED_PORTS || reg[1] \u003e= RTL9300_LED_PER_PORT)\n+\t\treturn dev_err_probe(dev, -EINVAL, \"%pfw: no LED %u of port %u\\n\",\n+\t\t\t\t fwnode, reg[1], reg[0]);\n+\n+\tpled = devm_kzalloc(dev, sizeof(*pled), GFP_KERNEL);\n+\tif (!pled)\n+\t\treturn -ENOMEM;\n+\n+\tpled-\u003ectrl = ctrl;\n+\tpled-\u003eport = reg[0];\n+\tpled-\u003eled = reg[1];\n+\tsw_en = ctrl-\u003ebase + RTL9300_LED_PORT_SW_EN_CTRL(pled-\u003eport);\n+\n+\tswitch (led_init_default_state_get(fwnode)) {\n+\tcase LEDS_DEFSTATE_ON:\n+\t\tbrightness = LED_ON;\n+\t\tbreak;\n+\tcase LEDS_DEFSTATE_KEEP:\n+\t\tret = regmap_read(ctrl-\u003emap, sw_en, \u0026val);\n+\t\tif (ret)\n+\t\t\treturn ret;\n+\t\tbrightness = LED_OFF;\n+\t\tif (val \u0026 RTL9300_LED_PORT_SW_EN(pled-\u003eport, pled-\u003eled)) {\n+\t\t\tret = regmap_read(ctrl-\u003emap,\n+\t\t\t\t\t ctrl-\u003ebase + RTL9300_LED_PORT_SW_CTRL(pled-\u003eport),\n+\t\t\t\t\t \u0026val);\n+\t\t\tif (ret)\n+\t\t\t\treturn ret;\n+\t\t\tif (val \u0026 RTL9300_LED_SW_MODE(pled-\u003eled))\n+\t\t\t\tbrightness = LED_ON;\n+\t\t}\n+\t\tbreak;\n+\tdefault:\n+\t\tbrightness = LED_OFF;\n+\t\tbreak;\n+\t}\n+\n+\tret = rtl9300_port_led_set(\u0026pled-\u003ecdev, brightness);\n+\tif (ret)\n+\t\treturn ret;\n+\n+\tret = regmap_set_bits(ctrl-\u003emap, sw_en, RTL9300_LED_PORT_SW_EN(pled-\u003eport, pled-\u003eled));\n+\tif (ret)\n+\t\treturn ret;\n+\n+\tret = devm_add_action_or_reset(dev, rtl9300_port_led_release, pled);\n+\tif (ret)\n+\t\treturn ret;\n+\n+\tret = rtl9300_port_led_load(ctrl);\n+\tif (ret)\n+\t\treturn ret;\n+\n+\tpled-\u003ecdev.brightness = brightness;\n+\tpled-\u003ecdev.max_brightness = LED_ON;\n+\tpled-\u003ecdev.brightness_set_blocking = rtl9300_port_led_set;\n+\n+\treturn devm_led_classdev_register_ext(dev, \u0026pled-\u003ecdev, \u0026init_data);\n+}\n+\n+static int rtl9300_port_leds_probe(struct platform_device *pdev)\n+{\n+\tstruct device *dev = \u0026pdev-\u003edev;\n+\tstruct rtl9300_port_leds *ctrl;\n+\tint ret;\n+\n+\tctrl = devm_kzalloc(dev, sizeof(*ctrl), GFP_KERNEL);\n+\tif (!ctrl)\n+\t\treturn -ENOMEM;\n+\n+\tctrl-\u003emap = syscon_node_to_regmap(dev_of_node(dev-\u003eparent));\n+\tif (IS_ERR(ctrl-\u003emap))\n+\t\treturn dev_err_probe(dev, PTR_ERR(ctrl-\u003emap), \"no switch regmap\\n\");\n+\n+\tret = device_property_read_u32(dev, \"reg\", \u0026ctrl-\u003ebase);\n+\tif (ret)\n+\t\treturn dev_err_probe(dev, ret, \"no reg\\n\");\n+\n+\tdevice_for_each_child_node_scoped(dev, child) {\n+\t\tret = rtl9300_port_led_add(dev, ctrl, child);\n+\t\tif (ret)\n+\t\t\treturn ret;\n+\t}\n+\n+\treturn 0;\n+}\n+\n+static const struct of_device_id rtl9300_port_leds_of_match[] = {\n+\t{ .compatible = \"realtek,rtl9301-port-leds\" },\n+\t{ }\n+};\n+MODULE_DEVICE_TABLE(of, rtl9300_port_leds_of_match);\n+\n+static struct platform_driver rtl9300_port_leds_driver = {\n+\t.probe = rtl9300_port_leds_probe,\n+\t.driver = {\n+\t\t.name = \"leds-rtl9300-port\",\n+\t\t.of_match_table = rtl9300_port_leds_of_match,\n+\t},\n+};\n+module_platform_driver(rtl9300_port_leds_driver);\n+\n+MODULE_DESCRIPTION(\"Realtek RTL9300 switch port LEDs under software control\");\n+MODULE_LICENSE(\"GPL\");\n"
} |
| 2/1 | 2026/10/20 20:25 | agent | patch-evaluator |
0mModel:core Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch introduces a platform LED driver (leds-rtl9300-port.c) for Realtek RTL9300 switch SoCs, guarded by CONFIG_LEDS_RTL9300_PORT (which depends on MACH_REALTEK_RTL for MIPS, or COMPILE_TEST). The driver requires a Device Tree node and a parent syscon regmap representing the RTL9300 switch ASIC. This hardware is not emulated in standard virtualized environments (QEMU/GCE on amd64), rendering the code structurally unreachable for fuzzing on 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 691ee8aaeb3ff13a3bc1c18c8f9584f7c4b68241
Author: syz-cluster <triage@syzkaller.com>
Date: Tue Oct 20 20:25:16 2026 +0000
syz-cluster: applied patch under review
diff --git a/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml b/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml
new file mode 100644
index 0000000000000..8d6b35525263f
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml
@@ -0,0 +1,84 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/realtek,rtl9301-port-leds.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek RTL9300 switch port LEDs under software control
+
+maintainers:
+ - Ross Cawston <ross@r-sc.ca>
+
+description: |
+ The RTL9300 switch drives up to four LEDs per port over its LED interface,
+ serial or scanned, each normally showing a hardware function chosen by the
+ LED set of the port. The LEDs listed here are taken over by software instead
+ and switched on and off as LED class devices, for port LEDs that have no
+ hardware function such as the PoE status LED of a PoE switch. The node is a
+ child of the switch, whose registers it uses.
+
+properties:
+ compatible:
+ const: realtek,rtl9301-port-leds
+
+ reg:
+ description: The software LED control registers, from SW_LED_LOAD to the
+ end of LED_PORT_SW_CTRL, as an offset into the switch registers.
+ maxItems: 1
+
+ "#address-cells":
+ const: 2
+
+ "#size-cells":
+ const: 0
+
+patternProperties:
+ "^led@[0-9a-f]+,[0-3]$":
+ $ref: /schemas/leds/common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ items:
+ - items:
+ - description: Switch port
+ maximum: 27
+ - description: LED of the port, numbered as in the port's
+ LED set
+ maximum: 3
+
+ required:
+ - reg
+
+required:
+ - compatible
+ - reg
+ - "#address-cells"
+ - "#size-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/leds/common.h>
+
+ led-controller@cc48 {
+ compatible = "realtek,rtl9301-port-leds";
+ reg = <0xcc48 0x84>;
+ #address-cells = <2>;
+ #size-cells = <0>;
+
+ led@0,2 {
+ reg = <0 2>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = "poe";
+ function-enumerator = <1>;
+ };
+
+ led@8,2 {
+ reg = <8 2>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = "poe";
+ function-enumerator = <2>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
index 80eabc1706698..9529327ee0c80 100644
--- a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
+++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
@@ -57,6 +57,9 @@ patternProperties:
'mdio-controller@[0-9a-f]+$':
$ref: realtek,rtl9301-mdio.yaml#
+ 'led-controller@[0-9a-f]+$':
+ $ref: /schemas/leds/realtek,rtl9301-port-leds.yaml#
+
required:
- compatible
- reg
diff --git a/MAINTAINERS b/MAINTAINERS
index a1eb0937238dc..1e099a4cf053a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -23013,6 +23013,13 @@ S: Maintained
F: Documentation/devicetree/bindings/net/dsa/realtek.yaml
F: drivers/net/dsa/realtek/*
+REALTEK RTL9300 PORT LED DRIVER
+M: Ross Cawston <ross@r-sc.ca>
+L: linux-leds@vger.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/leds/realtek,rtl9301-port-leds.yaml
+F: drivers/leds/leds-rtl9300-port.c
+
REALTEK SPI-NAND
M: Chris Packham <chris.packham@alliedtelesis.co.nz>
S: Maintained
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 7ec2c8d785426..d9b2afca2a656 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -676,6 +676,19 @@ config LEDS_REGULATOR
help
This option enables support for regulator driven LEDs.
+config LEDS_RTL9300_PORT
+ tristate "LED support for Realtek RTL9300 switch port LEDs"
+ depends on LEDS_CLASS
+ depends on MACH_REALTEK_RTL || COMPILE_TEST
+ select MFD_SYSCON
+ help
+ This option enables software control of the port LEDs of the
+ Realtek RTL9300 switch, for port LEDs that have no hardware
+ function, such as the PoE status LEDs of PoE switches.
+
+ To compile this driver as a module, choose M here: the module
+ will be called leds-rtl9300-port.
+
config LEDS_BD2606MVV
tristate "LED driver for BD2606MVV"
depends on LEDS_CLASS
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 4d4b089156e24..e12953037386f 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -87,6 +87,7 @@ obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
obj-$(CONFIG_LEDS_QNAP_MCU) += leds-qnap-mcu.o
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
+obj-$(CONFIG_LEDS_RTL9300_PORT) += leds-rtl9300-port.o
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
obj-$(CONFIG_LEDS_ST1202) += leds-st1202.o
obj-$(CONFIG_LEDS_SUN50I_A100) += leds-sun50i-a100.o
diff --git a/drivers/leds/leds-rtl9300-port.c b/drivers/leds/leds-rtl9300-port.c
new file mode 100644
index 0000000000000..623932a2a4127
--- /dev/null
+++ b/drivers/leds/leds-rtl9300-port.c
@@ -0,0 +1,201 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Realtek RTL9300 switch port LEDs under software control
+ *
+ * The RTL9300 drives up to four LEDs per switch port over its LED interface,
+ * serial or scanned. Each one normally shows a hardware function (link,
+ * speed, activity) chosen by the LED set of the port, but software can take
+ * it over and switch it on or off instead. Boards use that for port LEDs
+ * that have no hardware function, such as the PoE status LED of a PoE
+ * switch.
+ *
+ * Software control has a mode per LED, kept separately for copper and fibre
+ * media, and the LED controller picks the new modes up when it is told to
+ * load them. Both media are set alike here. The registers are part of the
+ * switch register block; the node's reg gives their offset in it.
+ *
+ * Copyright (C) 2026 Ross Cawston <ross@r-sc.ca>
+ */
+
+#include <linux/bits.h>
+#include <linux/leds.h>
+#include <linux/mfd/syscon.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <linux/property.h>
+#include <linux/regmap.h>
+
+/* Offsets from reg, which is SW_LED_LOAD (0xcc48 on the RTL9301) */
+#define RTL9300_LED_SW_LOAD 0x00
+#define RTL9300_LED_SW_LOAD_START BIT(0)
+#define RTL9300_LED_PORT_SW_EN_CTRL(port) (0x04 + ((port) / 8) * 4)
+#define RTL9300_LED_PORT_SW_EN(port, led) BIT(((port) % 8) * 4 + (led))
+#define RTL9300_LED_PORT_SW_CTRL(port) (0x14 + (port) * 4)
+/* 3-bit mode per LED: 0 off, 7 on, copper LEDs from bit 0, fibre from 12 */
+#define RTL9300_LED_SW_MODE(led) ((GENMASK(2, 0) | GENMASK(14, 12)) << (3 * (led)))
+
+#define RTL9300_LED_PORTS 28
+#define RTL9300_LED_PER_PORT 4
+
+struct rtl9300_port_leds {
+ struct regmap *map;
+ u32 base;
+};
+
+struct rtl9300_port_led {
+ struct led_classdev cdev;
+ struct rtl9300_port_leds *ctrl;
+ u32 port;
+ u32 led;
+};
+
+static int rtl9300_port_led_load(struct rtl9300_port_leds *ctrl)
+{
+ return regmap_write(ctrl->map, ctrl->base + RTL9300_LED_SW_LOAD,
+ RTL9300_LED_SW_LOAD_START);
+}
+
+static int rtl9300_port_led_set(struct led_classdev *cdev,
+ enum led_brightness brightness)
+{
+ struct rtl9300_port_led *pled = container_of(cdev, struct rtl9300_port_led, cdev);
+ struct rtl9300_port_leds *ctrl = pled->ctrl;
+ u32 mask = RTL9300_LED_SW_MODE(pled->led);
+ int ret;
+
+ ret = regmap_update_bits(ctrl->map, ctrl->base + RTL9300_LED_PORT_SW_CTRL(pled->port),
+ mask, brightness ? mask : 0);
+ if (ret)
+ return ret;
+
+ return rtl9300_port_led_load(ctrl);
+}
+
+/* Hand the LED back to its hardware function */
+static void rtl9300_port_led_release(void *data)
+{
+ struct rtl9300_port_led *pled = data;
+ struct rtl9300_port_leds *ctrl = pled->ctrl;
+
+ regmap_clear_bits(ctrl->map, ctrl->base + RTL9300_LED_PORT_SW_EN_CTRL(pled->port),
+ RTL9300_LED_PORT_SW_EN(pled->port, pled->led));
+ rtl9300_port_led_load(ctrl);
+}
+
+static int rtl9300_port_led_add(struct device *dev, struct rtl9300_port_leds *ctrl,
+ struct fwnode_handle *fwnode)
+{
+ struct led_init_data init_data = { .fwnode = fwnode };
+ struct rtl9300_port_led *pled;
+ enum led_brightness brightness;
+ u32 reg[2], sw_en, val;
+ int ret;
+
+ ret = fwnode_property_read_u32_array(fwnode, "reg", reg, ARRAY_SIZE(reg));
+ if (ret)
+ return dev_err_probe(dev, ret, "%pfw: bad reg\n", fwnode);
+ if (reg[0] >= RTL9300_LED_PORTS || reg[1] >= RTL9300_LED_PER_PORT)
+ return dev_err_probe(dev, -EINVAL, "%pfw: no LED %u of port %u\n",
+ fwnode, reg[1], reg[0]);
+
+ pled = devm_kzalloc(dev, sizeof(*pled), GFP_KERNEL);
+ if (!pled)
+ return -ENOMEM;
+
+ pled->ctrl = ctrl;
+ pled->port = reg[0];
+ pled->led = reg[1];
+ sw_en = ctrl->base + RTL9300_LED_PORT_SW_EN_CTRL(pled->port);
+
+ switch (led_init_default_state_get(fwnode)) {
+ case LEDS_DEFSTATE_ON:
+ brightness = LED_ON;
+ break;
+ case LEDS_DEFSTATE_KEEP:
+ ret = regmap_read(ctrl->map, sw_en, &val);
+ if (ret)
+ return ret;
+ brightness = LED_OFF;
+ if (val & RTL9300_LED_PORT_SW_EN(pled->port, pled->led)) {
+ ret = regmap_read(ctrl->map,
+ ctrl->base + RTL9300_LED_PORT_SW_CTRL(pled->port),
+ &val);
+ if (ret)
+ return ret;
+ if (val & RTL9300_LED_SW_MODE(pled->led))
+ brightness = LED_ON;
+ }
+ break;
+ default:
+ brightness = LED_OFF;
+ break;
+ }
+
+ ret = rtl9300_port_led_set(&pled->cdev, brightness);
+ if (ret)
+ return ret;
+
+ ret = regmap_set_bits(ctrl->map, sw_en, RTL9300_LED_PORT_SW_EN(pled->port, pled->led));
+ if (ret)
+ return ret;
+
+ ret = devm_add_action_or_reset(dev, rtl9300_port_led_release, pled);
+ if (ret)
+ return ret;
+
+ ret = rtl9300_port_led_load(ctrl);
+ if (ret)
+ return ret;
+
+ pled->cdev.brightness = brightness;
+ pled->cdev.max_brightness = LED_ON;
+ pled->cdev.brightness_set_blocking = rtl9300_port_led_set;
+
+ return devm_led_classdev_register_ext(dev, &pled->cdev, &init_data);
+}
+
+static int rtl9300_port_leds_probe(struct platform_device *pdev)
+{
+ struct device *dev = &pdev->dev;
+ struct rtl9300_port_leds *ctrl;
+ int ret;
+
+ ctrl = devm_kzalloc(dev, sizeof(*ctrl), GFP_KERNEL);
+ if (!ctrl)
+ return -ENOMEM;
+
+ ctrl->map = syscon_node_to_regmap(dev_of_node(dev->parent));
+ if (IS_ERR(ctrl->map))
+ return dev_err_probe(dev, PTR_ERR(ctrl->map), "no switch regmap\n");
+
+ ret = device_property_read_u32(dev, "reg", &ctrl->base);
+ if (ret)
+ return dev_err_probe(dev, ret, "no reg\n");
+
+ device_for_each_child_node_scoped(dev, child) {
+ ret = rtl9300_port_led_add(dev, ctrl, child);
+ if (ret)
+ return ret;
+ }
+
+ return 0;
+}
+
+static const struct of_device_id rtl9300_port_leds_of_match[] = {
+ { .compatible = "realtek,rtl9301-port-leds" },
+ { }
+};
+MODULE_DEVICE_TABLE(of, rtl9300_port_leds_of_match);
+
+static struct platform_driver rtl9300_port_leds_driver = {
+ .probe = rtl9300_port_leds_probe,
+ .driver = {
+ .name = "leds-rtl9300-port",
+ .of_match_table = rtl9300_port_leds_of_match,
+ },
+};
+module_platform_driver(rtl9300_port_leds_driver);
+
+MODULE_DESCRIPTION("Realtek RTL9300 switch port LEDs under software control");
+MODULE_LICENSE("GPL");
|
| 3/2 | 2026/10/20 20:25 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 7626 output: 22 thoughts: 304 Thoughts: **Analyzing the New LED Driver Patch** Okay, so this patch introduces a new LED driver, `leds-rtl9300-port.c`, along with its device tree bindings and necessary Kconfig and Makefile entries. My initial assessment focuses on understanding the target hardware and its potential vulnerability surface. I need to figure out the underlying architecture and whether it's easily accessible for fuzzing in environments like QEMU or GCE on amd64. Good, the target architecture is amd64. Now, let's dive into the Kconfig entry, `CONFIG_LEDS_RTL9300_PORT`. I see it depends on `LEDS_CLASS`, which is expected, and also on `MACH_REALTEK_RTL` or `COMPILE_TEST`. Hmm, `MACH_REALTEK_RTL`... that rings a bell. I remember that's associated with the MIPS architecture! I'll need to confirm that with grepper, just to be sure. |
| 4/2 | 2026/10/20 20:25 | tool | grepper |
0mArgs:{
"Expression": "MACH_REALTEK_RTL"
}Results: {
"Output": "arch/mips/Kconfig=681=config RALINK\n--\narch/mips/Kconfig-698-\narch/mips/Kconfig:699:config MACH_REALTEK_RTL\narch/mips/Kconfig-700-\tbool \"Realtek RTL838x/RTL839x based machines\"\n--\narch/mips/boot/dts/realtek/Makefile-1-# SPDX-License-Identifier: GPL-2.0\narch/mips/boot/dts/realtek/Makefile:2:dtb-$(CONFIG_MACH_REALTEK_RTL)\t+= cisco_sg220-26.dtb\narch/mips/boot/dts/realtek/Makefile:3:dtb-$(CONFIG_MACH_REALTEK_RTL)\t+= cameo-rtl9302c-2x-rtl8224-2xge.dtb\n--\narch/mips/generic/Makefile=15=obj-$(CONFIG_VIRT_BOARD_RANCHU)\t\t+= board-ranchu.o\narch/mips/generic/Makefile:16:obj-$(CONFIG_MACH_REALTEK_RTL)\t\t+= board-realtek.o\n--\ndrivers/gpio/Kconfig=625=config GPIO_REALTEK_OTTO\ndrivers/gpio/Kconfig-626-\ttristate \"Realtek Otto GPIO support\"\ndrivers/gpio/Kconfig:627:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/gpio/Kconfig:628:\tdefault MACH_REALTEK_RTL\ndrivers/gpio/Kconfig-629-\tselect GPIO_GENERIC\n--\ndrivers/i2c/busses/Kconfig=1103=config I2C_RTL9300\ndrivers/i2c/busses/Kconfig-1104-\ttristate \"Realtek RTL9300 I2C controller\"\ndrivers/i2c/busses/Kconfig:1105:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/i2c/busses/Kconfig-1106-\thelp\n--\ndrivers/irqchip/Makefile=130=obj-$(CONFIG_SL28CPLD_INTC)\t\t+= irq-sl28cpld.o\ndrivers/irqchip/Makefile:131:obj-$(CONFIG_MACH_REALTEK_RTL)\t\t+= irq-realtek-rtl.o\ndrivers/irqchip/Makefile-132-obj-$(CONFIG_WPCM450_AIC)\t\t+= irq-wpcm450-aic.o\n--\ndrivers/leds/Kconfig=679=config LEDS_RTL9300_PORT\n--\ndrivers/leds/Kconfig-681-\tdepends on LEDS_CLASS\ndrivers/leds/Kconfig:682:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/leds/Kconfig-683-\tselect MFD_SYSCON\n--\ndrivers/mtd/nand/Kconfig=64=config MTD_NAND_ECC_REALTEK\n--\ndrivers/mtd/nand/Kconfig-66- depends on HAS_IOMEM \u0026\u0026 HAS_DMA\ndrivers/mtd/nand/Kconfig:67: depends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/mtd/nand/Kconfig-68- select MTD_NAND_ECC\n--\ndrivers/net/mdio/Kconfig=174=config MDIO_REALTEK_RTL9300\ndrivers/net/mdio/Kconfig-175-\ttristate \"Realtek RTL9300 MDIO interface support\"\ndrivers/net/mdio/Kconfig:176:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/net/mdio/Kconfig-177-\thelp\n--\ndrivers/spi/Kconfig=916=config SPI_REALTEK_SNAND\ndrivers/spi/Kconfig-917-\ttristate \"Realtek SPI-NAND Flash Controller\"\ndrivers/spi/Kconfig:918:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/spi/Kconfig-919-\tselect REGMAP\n--\ndrivers/spi/Makefile=131=obj-$(CONFIG_SPI_RB4XX)\t\t\t+= spi-rb4xx.o\ndrivers/spi/Makefile:132:obj-$(CONFIG_MACH_REALTEK_RTL)\t\t+= spi-realtek-rtl.o\ndrivers/spi/Makefile-133-obj-$(CONFIG_SPI_REALTEK_SNAND)\t\t+= spi-realtek-rtl-snand.o\n--\ndrivers/watchdog/Kconfig=1113=config REALTEK_OTTO_WDT\ndrivers/watchdog/Kconfig-1114-\ttristate \"Realtek Otto MIPS watchdog support\"\ndrivers/watchdog/Kconfig:1115:\tdepends on MACH_REALTEK_RTL || COMPILE_TEST\ndrivers/watchdog/Kconfig-1116-\tdepends on COMMON_CLK\n--\ndrivers/watchdog/Kconfig-1118-\tselect REGMAP_MMIO\ndrivers/watchdog/Kconfig:1119:\tdefault MACH_REALTEK_RTL\ndrivers/watchdog/Kconfig-1120-\thelp\n"
} |
| 5/2 | 2026/10/20 20:25 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 9516 output: 161 thoughts: 2096 Thoughts: **Analysis of RTL9300 Port LED Driver for Fuzzing Eligibility** Okay, so I'm looking at this `CONFIG_LEDS_RTL9300_PORT` driver, and immediately my spidey senses are tingling. The name itself screams "MIPS architecture" – Realtek RTL838x/RTL839x based machines. Let's dig in. It's dependent on `MACH_REALTEK_RTL` or `COMPILE_TEST`. My first thought is: can this driver even *reach* AMD64 systems? Even with `COMPILE_TEST`, will it probe in a standard virtualized environment like QEMU or GCE? My initial scan of `drivers/leds/leds-rtl9300-port.c` confirms my suspicions. It uses `of_match_table` – so it's Device Tree driven. The driver's probe, `rtl9300_port_leds_probe`, is expecting a parent device with a `syscon` regmap, specifically `dev_of_node(dev->parent)`. This is a crucial dependency. Aha! `syscon_node_to_regmap` and Device Tree matching. That's a red flag on AMD64. Does OF even exist? On AMD64 systems, OF is often disabled by default and used in a minimal test mode. This driver is designed for a Realtek RTL9300 *MIPS* switch SoC (RTL9301/RTL9302 and similar). The Device Tree relationships, the regmap, they're all tied to an on-SoC peripheral of a specific MIPS architecture. I'm starting to remember the negative criteria we're given. Let's see... "Code paths exclusive to architectures other than the target architecture" – definitely applies! My target here is AMD64. The dependence on `MACH_REALTEK_RTL`, which only activates when ARCH=mips, confirms this. Even with `COMPILE_TEST`, it's still for an on-SoC peripheral of a specific Realtek MIPS switch. Can COMPILE_TEST drivers even be fuzzed if they're architecture-specific? Time to re-read the guidance. The primary gate is reachability. "Fuzzing can only discover bugs in code that can actually execute in standard virtualized environments". I have to make the call based on what I see here. Okay, let's nail this down. In a QEMU environment on AMD64, there *won't be* a Realtek RTL9301 switch DT node, let alone any syscon regmap, which is essential to the probe's success. This is a platform driver expecting a platform device with the compatible string "realtek,rtl9301-port-leds". Standard QEMU/GCE on amd64 simply don't have those hardware emulations. The parent device needs to be a syscon regmap switch node! That device node is from the device tree and simply won't exist. So, am I missing anything? 1. Is there any alternate path to it from USB, virtio, netlink, or a pseudo-device? No. 2. Is it physically/structurally unreachable? Yes! It's an *embedded* SoC driver for a MIPS Realtek RTL9300 family, for a switch that does not exist. Therefore, for my fuzzing report, `WorthFuzzing=false`. The Reasoning should be very clear: the added platform LED driver for the Realtek RTL9300 switch SoC (`CONFIG_LEDS_RTL9300_PORT`) depends on MIPS hardware, and this hardware is completely absent from AMD64 virtualized environments. The code is structurally unreachable. And all guidelines are met. |
| 6/2 | 2026/10/20 20:25 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch introduces a platform LED driver (leds-rtl9300-port.c) for Realtek RTL9300 switch SoCs, guarded by CONFIG_LEDS_RTL9300_PORT (which depends on MACH_REALTEK_RTL for MIPS, or COMPILE_TEST). The driver requires a Device Tree node and a parent syscon regmap representing the RTL9300 switch ASIC. This hardware is not emulated in standard virtualized environments (QEMU/GCE on amd64), rendering the code structurally unreachable for fuzzing on amd64.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch introduces a platform LED driver (leds-rtl9300-port.c) for Realtek RTL9300 switch SoCs, guarded by CONFIG_LEDS_RTL9300_PORT (which depends on MACH_REALTEK_RTL for MIPS, or COMPILE_TEST). The driver requires a Device Tree node and a parent syscon regmap representing the RTL9300 switch ASIC. This hardware is not emulated in standard virtualized environments (QEMU/GCE on amd64), rendering the code structurally unreachable for fuzzing on amd64.",
"WorthFuzzing": false
} |
| 7/1 | 2026/10/20 20:25 | 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) |
|---|