| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/07/28 22:18 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver's AHB bus support (drivers/net/wireless/ath/ath11k/ahb.c), which is a platform driver for specific Qualcomm SoCs (e.g., IPQ8074, IPQ6018, WCN6750). Standard QEMU environments do not emulate this hardware, making the probe function and the modified IRQ configuration/freeing code paths impossible to reach during fuzzing.",
"WorthFuzzing": false
} |
| 1/1 | 2026/07/28 22:18 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 5b61832dd3a939e0c45d011440c49025f5f5623e\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Tue Jul 28 22:18:25 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c\nindex 1e1dea485760b..ec5bf5c9fd792 100644\n--- a/drivers/net/wireless/ath/ath11k/ahb.c\n+++ b/drivers/net/wireless/ath/ath11k/ahb.c\n@@ -431,36 +431,44 @@ static void ath11k_ahb_init_qmi_ce_config(struct ath11k_base *ab)\n \tab-\u003eqmi.service_ins_id = ab-\u003ehw_params.qmi_service_ins_id;\n }\n \n-static void ath11k_ahb_free_ext_irq(struct ath11k_base *ab)\n+static void ath11k_ahb_free_ext_irq_grp(struct ath11k_base *ab,\n+\t\t\t\t\tstruct ath11k_ext_irq_grp *irq_grp)\n {\n-\tint i, j;\n-\n-\tfor (i = 0; i \u003c ATH11K_EXT_IRQ_GRP_NUM_MAX; i++) {\n-\t\tstruct ath11k_ext_irq_grp *irq_grp = \u0026ab-\u003eext_irq_grp[i];\n+\tint j;\n \n-\t\tfor (j = 0; j \u003c irq_grp-\u003enum_irq; j++)\n-\t\t\tfree_irq(ab-\u003eirq_num[irq_grp-\u003eirqs[j]], irq_grp);\n+\tfor (j = 0; j \u003c irq_grp-\u003enum_irq; j++)\n+\t\tfree_irq(ab-\u003eirq_num[irq_grp-\u003eirqs[j]], irq_grp);\n \n-\t\tnetif_napi_del(\u0026irq_grp-\u003enapi);\n-\t\tfree_netdev(irq_grp-\u003enapi_ndev);\n-\t}\n+\tnetif_napi_del(\u0026irq_grp-\u003enapi);\n+\tfree_netdev(irq_grp-\u003enapi_ndev);\n }\n \n-static void ath11k_ahb_free_irq(struct ath11k_base *ab)\n+static void ath11k_ahb_free_ext_irq(struct ath11k_base *ab)\n {\n-\tint irq_idx;\n \tint i;\n \n-\tif (ab-\u003ehw_params.hybrid_bus_type)\n-\t\treturn ath11k_pcic_free_irq(ab);\n+\tfor (i = 0; i \u003c ATH11K_EXT_IRQ_GRP_NUM_MAX; i++)\n+\t\tath11k_ahb_free_ext_irq_grp(ab, \u0026ab-\u003eext_irq_grp[i]);\n+}\n \n-\tfor (i = 0; i \u003c ab-\u003ehw_params.ce_count; i++) {\n+static void ath11k_ahb_free_ce_irqs(struct ath11k_base *ab, int max_idx)\n+{\n+\tint irq_idx, i;\n+\n+\tfor (i = 0; i \u003c max_idx; i++) {\n \t\tif (ath11k_ce_get_attr_flags(ab, i) \u0026 CE_ATTR_DIS_INTR)\n \t\t\tcontinue;\n \t\tirq_idx = ATH11K_IRQ_CE0_OFFSET + i;\n \t\tfree_irq(ab-\u003eirq_num[irq_idx], \u0026ab-\u003ece.ce_pipe[i]);\n \t}\n+}\n+\n+static void ath11k_ahb_free_irq(struct ath11k_base *ab)\n+{\n+\tif (ab-\u003ehw_params.hybrid_bus_type)\n+\t\treturn ath11k_pcic_free_irq(ab);\n \n+\tath11k_ahb_free_ce_irqs(ab, ab-\u003ehw_params.ce_count);\n \tath11k_ahb_free_ext_irq(ab);\n }\n \n@@ -524,20 +532,25 @@ static irqreturn_t ath11k_ahb_ext_interrupt_handler(int irq, void *arg)\n static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)\n {\n \tstruct ath11k_hw_params *hw = \u0026ab-\u003ehw_params;\n+\tstruct ath11k_ext_irq_grp *irq_grp;\n \tint i, j;\n \tint irq;\n \tint ret;\n \n \tfor (i = 0; i \u003c ATH11K_EXT_IRQ_GRP_NUM_MAX; i++) {\n-\t\tstruct ath11k_ext_irq_grp *irq_grp = \u0026ab-\u003eext_irq_grp[i];\n \t\tu32 num_irq = 0;\n \n+\t\tirq_grp = \u0026ab-\u003eext_irq_grp[i];\n+\n \t\tirq_grp-\u003eab = ab;\n \t\tirq_grp-\u003egrp_id = i;\n \n \t\tirq_grp-\u003enapi_ndev = alloc_netdev_dummy(0);\n-\t\tif (!irq_grp-\u003enapi_ndev)\n-\t\t\treturn -ENOMEM;\n+\t\tif (!irq_grp-\u003enapi_ndev) {\n+\t\t\tret = -ENOMEM;\n+\t\t\tirq_grp-\u003enum_irq = 0;\n+\t\t\tgoto err_request_irq;\n+\t\t}\n \n \t\tnetif_napi_add(irq_grp-\u003enapi_ndev, \u0026irq_grp-\u003enapi,\n \t\t\t ath11k_ahb_ext_grp_napi_poll);\n@@ -585,14 +598,11 @@ static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)\n \t\t\t\t}\n \t\t\t}\n \t\t}\n-\t\tirq_grp-\u003enum_irq = num_irq;\n-\n-\t\tfor (j = 0; j \u003c irq_grp-\u003enum_irq; j++) {\n+\t\tfor (j = 0; j \u003c num_irq; j++) {\n \t\t\tint irq_idx = irq_grp-\u003eirqs[j];\n \n \t\t\tirq = platform_get_irq_byname(ab-\u003epdev,\n \t\t\t\t\t\t irq_name[irq_idx]);\n-\t\t\tab-\u003eirq_num[irq_idx] = irq;\n \t\t\tirq_set_status_flags(irq, IRQ_NOAUTOEN | IRQ_DISABLE_UNLAZY);\n \t\t\tret = request_irq(irq, ath11k_ahb_ext_interrupt_handler,\n \t\t\t\t\t IRQF_TRIGGER_RISING,\n@@ -600,11 +610,24 @@ static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)\n \t\t\tif (ret) {\n \t\t\t\tath11k_err(ab, \"failed request_irq for %d\\n\",\n \t\t\t\t\t irq);\n+\t\t\t\tirq_grp-\u003enum_irq = j;\n+\t\t\t\tath11k_ahb_free_ext_irq_grp(ab, irq_grp);\n+\t\t\t\tgoto err_request_irq;\n \t\t\t}\n+\t\t\tab-\u003eirq_num[irq_idx] = irq;\n \t\t}\n+\n+\t\tirq_grp-\u003enum_irq = num_irq;\n \t}\n \n \treturn 0;\n+\n+err_request_irq:\n+\tfor (i--; i \u003e= 0; i--) {\n+\t\tirq_grp = \u0026ab-\u003eext_irq_grp[i];\n+\t\tath11k_ahb_free_ext_irq_grp(ab, irq_grp);\n+\t}\n+\treturn ret;\n }\n \n static int ath11k_ahb_config_irq(struct ath11k_base *ab)\n@@ -629,16 +652,24 @@ static int ath11k_ahb_config_irq(struct ath11k_base *ab)\n \t\tret = request_irq(irq, ath11k_ahb_ce_interrupt_handler,\n \t\t\t\t IRQF_TRIGGER_RISING, irq_name[irq_idx],\n \t\t\t\t ce_pipe);\n-\t\tif (ret)\n+\t\tif (ret) {\n+\t\t\tath11k_err(ab, \"failed request_irq for %d\\n\", irq);\n+\t\t\tath11k_ahb_free_ce_irqs(ab, i);\n \t\t\treturn ret;\n+\t\t}\n \n \t\tab-\u003eirq_num[irq_idx] = irq;\n \t}\n \n \t/* Configure external interrupts */\n \tret = ath11k_ahb_config_ext_irq(ab);\n+\tif (ret) {\n+\t\tath11k_err(ab, \"failed to configure ext irq: %d\\n\", ret);\n+\t\tath11k_ahb_free_ce_irqs(ab, ab-\u003ehw_params.ce_count);\n+\t\treturn ret;\n+\t}\n \n-\treturn ret;\n+\treturn 0;\n }\n \n static int ath11k_ahb_map_service_to_pipe(struct ath11k_base *ab, u16 service_id,\n"
} |
| 2/1 | 2026/07/28 22:18 | agent | patch-evaluator |
0mModel:best-expensive Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver's AHB bus support (drivers/net/wireless/ath/ath11k/ahb.c), which is a platform driver for specific Qualcomm SoCs (e.g., IPQ8074, IPQ6018, WCN6750). Standard QEMU environments do not emulate this hardware, making the probe function and the modified IRQ configuration/freeing code paths impossible to reach during 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 5b61832dd3a939e0c45d011440c49025f5f5623e
Author: syz-cluster <triage@syzkaller.com>
Date: Tue Jul 28 22:18:25 2026 +0000
syz-cluster: applied patch under review
diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c
index 1e1dea485760b..ec5bf5c9fd792 100644
--- a/drivers/net/wireless/ath/ath11k/ahb.c
+++ b/drivers/net/wireless/ath/ath11k/ahb.c
@@ -431,36 +431,44 @@ static void ath11k_ahb_init_qmi_ce_config(struct ath11k_base *ab)
ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id;
}
-static void ath11k_ahb_free_ext_irq(struct ath11k_base *ab)
+static void ath11k_ahb_free_ext_irq_grp(struct ath11k_base *ab,
+ struct ath11k_ext_irq_grp *irq_grp)
{
- int i, j;
-
- for (i = 0; i < ATH11K_EXT_IRQ_GRP_NUM_MAX; i++) {
- struct ath11k_ext_irq_grp *irq_grp = &ab->ext_irq_grp[i];
+ int j;
- for (j = 0; j < irq_grp->num_irq; j++)
- free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp);
+ for (j = 0; j < irq_grp->num_irq; j++)
+ free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp);
- netif_napi_del(&irq_grp->napi);
- free_netdev(irq_grp->napi_ndev);
- }
+ netif_napi_del(&irq_grp->napi);
+ free_netdev(irq_grp->napi_ndev);
}
-static void ath11k_ahb_free_irq(struct ath11k_base *ab)
+static void ath11k_ahb_free_ext_irq(struct ath11k_base *ab)
{
- int irq_idx;
int i;
- if (ab->hw_params.hybrid_bus_type)
- return ath11k_pcic_free_irq(ab);
+ for (i = 0; i < ATH11K_EXT_IRQ_GRP_NUM_MAX; i++)
+ ath11k_ahb_free_ext_irq_grp(ab, &ab->ext_irq_grp[i]);
+}
- for (i = 0; i < ab->hw_params.ce_count; i++) {
+static void ath11k_ahb_free_ce_irqs(struct ath11k_base *ab, int max_idx)
+{
+ int irq_idx, i;
+
+ for (i = 0; i < max_idx; i++) {
if (ath11k_ce_get_attr_flags(ab, i) & CE_ATTR_DIS_INTR)
continue;
irq_idx = ATH11K_IRQ_CE0_OFFSET + i;
free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]);
}
+}
+
+static void ath11k_ahb_free_irq(struct ath11k_base *ab)
+{
+ if (ab->hw_params.hybrid_bus_type)
+ return ath11k_pcic_free_irq(ab);
+ ath11k_ahb_free_ce_irqs(ab, ab->hw_params.ce_count);
ath11k_ahb_free_ext_irq(ab);
}
@@ -524,20 +532,25 @@ static irqreturn_t ath11k_ahb_ext_interrupt_handler(int irq, void *arg)
static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)
{
struct ath11k_hw_params *hw = &ab->hw_params;
+ struct ath11k_ext_irq_grp *irq_grp;
int i, j;
int irq;
int ret;
for (i = 0; i < ATH11K_EXT_IRQ_GRP_NUM_MAX; i++) {
- struct ath11k_ext_irq_grp *irq_grp = &ab->ext_irq_grp[i];
u32 num_irq = 0;
+ irq_grp = &ab->ext_irq_grp[i];
+
irq_grp->ab = ab;
irq_grp->grp_id = i;
irq_grp->napi_ndev = alloc_netdev_dummy(0);
- if (!irq_grp->napi_ndev)
- return -ENOMEM;
+ if (!irq_grp->napi_ndev) {
+ ret = -ENOMEM;
+ irq_grp->num_irq = 0;
+ goto err_request_irq;
+ }
netif_napi_add(irq_grp->napi_ndev, &irq_grp->napi,
ath11k_ahb_ext_grp_napi_poll);
@@ -585,14 +598,11 @@ static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)
}
}
}
- irq_grp->num_irq = num_irq;
-
- for (j = 0; j < irq_grp->num_irq; j++) {
+ for (j = 0; j < num_irq; j++) {
int irq_idx = irq_grp->irqs[j];
irq = platform_get_irq_byname(ab->pdev,
irq_name[irq_idx]);
- ab->irq_num[irq_idx] = irq;
irq_set_status_flags(irq, IRQ_NOAUTOEN | IRQ_DISABLE_UNLAZY);
ret = request_irq(irq, ath11k_ahb_ext_interrupt_handler,
IRQF_TRIGGER_RISING,
@@ -600,11 +610,24 @@ static int ath11k_ahb_config_ext_irq(struct ath11k_base *ab)
if (ret) {
ath11k_err(ab, "failed request_irq for %d\n",
irq);
+ irq_grp->num_irq = j;
+ ath11k_ahb_free_ext_irq_grp(ab, irq_grp);
+ goto err_request_irq;
}
+ ab->irq_num[irq_idx] = irq;
}
+
+ irq_grp->num_irq = num_irq;
}
return 0;
+
+err_request_irq:
+ for (i--; i >= 0; i--) {
+ irq_grp = &ab->ext_irq_grp[i];
+ ath11k_ahb_free_ext_irq_grp(ab, irq_grp);
+ }
+ return ret;
}
static int ath11k_ahb_config_irq(struct ath11k_base *ab)
@@ -629,16 +652,24 @@ static int ath11k_ahb_config_irq(struct ath11k_base *ab)
ret = request_irq(irq, ath11k_ahb_ce_interrupt_handler,
IRQF_TRIGGER_RISING, irq_name[irq_idx],
ce_pipe);
- if (ret)
+ if (ret) {
+ ath11k_err(ab, "failed request_irq for %d\n", irq);
+ ath11k_ahb_free_ce_irqs(ab, i);
return ret;
+ }
ab->irq_num[irq_idx] = irq;
}
/* Configure external interrupts */
ret = ath11k_ahb_config_ext_irq(ab);
+ if (ret) {
+ ath11k_err(ab, "failed to configure ext irq: %d\n", ret);
+ ath11k_ahb_free_ce_irqs(ab, ab->hw_params.ce_count);
+ return ret;
+ }
- return ret;
+ return 0;
}
static int ath11k_ahb_map_service_to_pipe(struct ath11k_base *ab, u16 service_id,
|
| 3/2 | 2026/07/28 22:18 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 4251 output: 46 thoughts: 378 Thoughts: **Analyzing the Reachability of This Patch** Okay, so I'm looking at this patch for `drivers/net/wireless/ath/ath11k/ahb.c`. It's cleaning up error handling in `ath11k_ahb_config_ext_irq` and `ath11k_ahb_config_irq`, which is always a good thing, freeing resources properly. I see they've refactored some freeing functions too, which is also a nice touch. Now, the critical question: can we actually get this code path to trigger? Right, this is the `ath11k` driver, which means Qualcomm's 802.11ax WLAN. And the file `ahb.c` focuses on the AHB bus – which usually means SoCs like IPQ8074, IPQ6018. Ah, right, AHB devices are typically *platform* devices. So, not PCI or USB, which immediately makes me think about whether we can actually fuzz this. Can we get this to run in QEMU? Generally, platform devices are instantiated through the Device Tree, which usually makes it harder to inject and fuzz. If there's no QEMU emulation for a specific SoC or this particular device, it's pretty much a no-go for standard fuzzing. But wait a minute, Syzkaller *can* sometimes fuzz platform devices. It depends if it can inject them or if it's within a virtualized environment. However, Wi-Fi drivers, especially those tied to specific SoCs, are usually *not* easily fuzzed unless there's mac80211_hwsim (which is a software solution) or something like USB/PCI that can be emulated/injected. It's a long shot. Right, Syzkaller's platform device injection is pretty limited. I think I'll focus on seeing if `ath11k_ahb_probe` itself is reachable. That’s probably the key starting point. |
| 4/2 | 2026/07/28 22:18 | tool | grepper |
0mArgs:{
"Expression": "ath11k_ahb_probe",
"PathPrefix": "drivers/net/wireless/ath/ath11k/ahb.c"
}Results: {
"Output": "drivers/net/wireless/ath/ath11k/ahb.c=1104=static int ath11k_ahb_fw_resource_deinit(struct ath11k_base *ab)\n--\ndrivers/net/wireless/ath/ath11k/ahb.c-1138-\ndrivers/net/wireless/ath/ath11k/ahb.c:1139:static int ath11k_ahb_probe(struct platform_device *pdev)\ndrivers/net/wireless/ath/ath11k/ahb.c-1140-{\n--\ndrivers/net/wireless/ath/ath11k/ahb.c=1334=static struct platform_driver ath11k_ahb_driver = {\n--\ndrivers/net/wireless/ath/ath11k/ahb.c-1338-\t},\ndrivers/net/wireless/ath/ath11k/ahb.c:1339:\t.probe = ath11k_ahb_probe,\ndrivers/net/wireless/ath/ath11k/ahb.c-1340-\t.remove = ath11k_ahb_remove,\n"
} |
| 5/2 | 2026/07/28 22:18 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 5418 output: 47 thoughts: 362 Thoughts: **Fuzzing This Platform Driver** Okay, so this is a platform driver, and my immediate thought is, can we fuzz it? Let's see. The prompt gives us some criteria for what's *not* worth fuzzing. It says to return `WorthFuzzing=false` if the patch involves code paths unreachable in virtualized environments like GCE or QEMU, specifically mentioning things like vendor-specific PCIe drivers that require physical hardware. Alright, so this particular driver is a vendor-specific Wi-Fi driver designed for an AHB bus. That's a built-in bus within ARM SoCs. Standard QEMU isn't going to emulate Qualcomm IPQ8074/IPQ6018 Wi-Fi hardware, which is what this driver likely needs. That means this code path is almost certainly unreachable in a virtualized setting like QEMU. Syzkaller has the `syz_devlink_netns` and other facilities for net namespaces, but this is a hardware driver; so that's not going to cut it. The real question is, how could we *possibly* reach `ath11k_ahb_probe`? Even if we somehow managed to inject a platform device, the driver would still try to access hardware registers using `ioremap` and `readl`/`writel`. Without the actual Qualcomm hardware, or at least a very good emulation of it, those reads and writes are going to fail spectacularly, likely leading to a crash. I should probably dive into `ath11k_ahb_probe` itself and see exactly what it's trying to do and if there are any subtle edges I'm missing. |
| 6/2 | 2026/07/28 22:18 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath11k/ahb.c",
"FirstLine": 1139,
"LineCount": 100
}Results: {
"Contents": "1139:\tstatic int ath11k_ahb_probe(struct platform_device *pdev)\n1140:\t{\n1141:\t\tstruct ath11k_base *ab;\n1142:\t\tconst struct ath11k_hif_ops *hif_ops;\n1143:\t\tconst struct ath11k_pci_ops *pci_ops;\n1144:\t\tenum ath11k_hw_rev hw_rev;\n1145:\t\tint ret;\n1146:\t\n1147:\t\thw_rev = (uintptr_t)device_get_match_data(\u0026pdev-\u003edev);\n1148:\t\n1149:\t\tswitch (hw_rev) {\n1150:\t\tcase ATH11K_HW_IPQ8074:\n1151:\t\tcase ATH11K_HW_IPQ6018_HW10:\n1152:\t\tcase ATH11K_HW_IPQ5018_HW10:\n1153:\t\t\thif_ops = \u0026ath11k_ahb_hif_ops_ipq8074;\n1154:\t\t\tpci_ops = NULL;\n1155:\t\t\tbreak;\n1156:\t\tcase ATH11K_HW_WCN6750_HW10:\n1157:\t\t\thif_ops = \u0026ath11k_ahb_hif_ops_wcn6750;\n1158:\t\t\tpci_ops = \u0026ath11k_ahb_pci_ops_wcn6750;\n1159:\t\t\tbreak;\n1160:\t\tdefault:\n1161:\t\t\tdev_err(\u0026pdev-\u003edev, \"unsupported device type %d\\n\", hw_rev);\n1162:\t\t\treturn -EOPNOTSUPP;\n1163:\t\t}\n1164:\t\n1165:\t\tret = dma_set_mask_and_coherent(\u0026pdev-\u003edev, DMA_BIT_MASK(32));\n1166:\t\tif (ret) {\n1167:\t\t\tdev_err(\u0026pdev-\u003edev, \"failed to set 32-bit consistent dma\\n\");\n1168:\t\t\treturn ret;\n1169:\t\t}\n1170:\t\n1171:\t\tab = ath11k_core_alloc(\u0026pdev-\u003edev, sizeof(struct ath11k_ahb),\n1172:\t\t\t\t ATH11K_BUS_AHB);\n1173:\t\tif (!ab) {\n1174:\t\t\tdev_err(\u0026pdev-\u003edev, \"failed to allocate ath11k base\\n\");\n1175:\t\t\treturn -ENOMEM;\n1176:\t\t}\n1177:\t\n1178:\t\tab-\u003ehif.ops = hif_ops;\n1179:\t\tab-\u003epdev = pdev;\n1180:\t\tab-\u003ehw_rev = hw_rev;\n1181:\t\tab-\u003efw_mode = ATH11K_FIRMWARE_MODE_NORMAL;\n1182:\t\tplatform_set_drvdata(pdev, ab);\n1183:\t\n1184:\t\tret = ath11k_pcic_register_pci_ops(ab, pci_ops);\n1185:\t\tif (ret) {\n1186:\t\t\tath11k_err(ab, \"failed to register PCI ops: %d\\n\", ret);\n1187:\t\t\tgoto err_core_free;\n1188:\t\t}\n1189:\t\n1190:\t\tret = ath11k_core_pre_init(ab);\n1191:\t\tif (ret)\n1192:\t\t\tgoto err_core_free;\n1193:\t\n1194:\t\tret = ath11k_ahb_setup_resources(ab);\n1195:\t\tif (ret)\n1196:\t\t\tgoto err_core_free;\n1197:\t\n1198:\t\tret = ath11k_ahb_ce_remap(ab);\n1199:\t\tif (ret)\n1200:\t\t\tgoto err_core_free;\n1201:\t\n1202:\t\tret = ath11k_ahb_fw_resources_init(ab);\n1203:\t\tif (ret)\n1204:\t\t\tgoto err_ce_unmap;\n1205:\t\n1206:\t\tret = ath11k_ahb_setup_smp2p_handle(ab);\n1207:\t\tif (ret)\n1208:\t\t\tgoto err_fw_deinit;\n1209:\t\n1210:\t\tret = ath11k_hal_srng_init(ab);\n1211:\t\tif (ret)\n1212:\t\t\tgoto err_release_smp2p_handle;\n1213:\t\n1214:\t\tret = ath11k_ce_alloc_pipes(ab);\n1215:\t\tif (ret) {\n1216:\t\t\tath11k_err(ab, \"failed to allocate ce pipes: %d\\n\", ret);\n1217:\t\t\tgoto err_hal_srng_deinit;\n1218:\t\t}\n1219:\t\n1220:\t\tath11k_ahb_init_qmi_ce_config(ab);\n1221:\t\n1222:\t\tret = ath11k_core_get_rproc(ab);\n1223:\t\tif (ret)\n1224:\t\t\tgoto err_ce_free;\n1225:\t\n1226:\t\tret = ath11k_core_init(ab);\n1227:\t\tif (ret) {\n1228:\t\t\tath11k_err(ab, \"failed to init core: %d\\n\", ret);\n1229:\t\t\tgoto err_ce_free;\n1230:\t\t}\n1231:\t\n1232:\t\tret = ath11k_ahb_config_irq(ab);\n1233:\t\tif (ret) {\n1234:\t\t\tath11k_err(ab, \"failed to configure irq: %d\\n\", ret);\n1235:\t\t\tgoto err_ce_free;\n1236:\t\t}\n1237:\t\n1238:\t\tath11k_qmi_fwreset_from_cold_boot(ab);\n"
} |
| 7/2 | 2026/07/28 22:18 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 7856 output: 134 thoughts: 404 Thoughts: **Fuzzing Feasibility Assessment** Okay, let me think this through. The driver in question is specifically designed for Qualcomm hardware – the IPQ8074, IPQ6018, IPQ5018, and WCN6750 SoCs. And this particular patch targets the AHB bus support within that driver, modifying the `ath11k_ahb_config_ext_irq` and `ath11k_ahb_config_irq` functions. These functions are, as far as I can see, called only through `ath11k_ahb_probe`. The problem is, this is a *platform* driver, meaning it's tied to specific, real hardware. And the standard QEMU setup, which is what we're likely using for fuzzing, doesn't emulate those chips. GCE would be the same – not applicable. So, the key here is that the `ath11k_ahb_probe` function, the entry point for all of this modified code, is completely unreachable in a virtualized fuzzing environment. The entire code path – including those functions manipulating the IRQ configuration – just won't be executed. Let's do a quick sanity check to be absolutely certain. Okay, let's trace the calls, `ath11k_ahb_config_ext_irq` is called from `ath11k_ahb_config_irq`, which, in turn, is only called from `ath11k_ahb_probe`. We should also consider de-allocation calls; `ath11k_ahb_free_irq` is called from `ath11k_ahb_remove` or error paths. So, since the probe function is unreachable without the physical hardware, it doesn't matter. None of this code can be effectively fuzzed. Therefore, given that the code relies on hardware not emulated in standard fuzzing environments, I'm going to set `WorthFuzzing` to `false`. The reasoning is clear: the relevant code paths are simply inaccessible. |
| 8/2 | 2026/07/28 22:18 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver's AHB bus support (drivers/net/wireless/ath/ath11k/ahb.c), which is a platform driver for specific Qualcomm SoCs (e.g., IPQ8074, IPQ6018, WCN6750). Standard QEMU environments do not emulate this hardware, making the probe function and the modified IRQ configuration/freeing code paths impossible to reach during fuzzing.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver's AHB bus support (drivers/net/wireless/ath/ath11k/ahb.c), which is a platform driver for specific Qualcomm SoCs (e.g., IPQ8074, IPQ6018, WCN6750). Standard QEMU environments do not emulate this hardware, making the probe function and the modified IRQ configuration/freeing code paths impossible to reach during fuzzing.",
"WorthFuzzing": false
} |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|