| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/09/04 09:29 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch modifies the Intel Ethernet Connection E800 Series (`ice`) driver, specifically handling Flow Director filter handle cleanup, rebuild serialization via an adapter-level mutex, and recipe updates on reset. The `ice` driver targets specific physical Intel E800 series PCIe hardware not emulated in standard QEMU/KVM environments, making the code structurally unreachable during fuzzing.",
"WorthFuzzing": false
} |
| 1/1 | 2026/09/04 09:29 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 829397bb83f4cf1e2e03132899aa9f72ed09d1dc\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Fri Sep 4 09:29:27 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h\nindex db3c7015c56c4..4739ff882b9ec 100644\n--- a/drivers/net/ethernet/intel/ice/ice.h\n+++ b/drivers/net/ethernet/intel/ice/ice.h\n@@ -1029,6 +1029,7 @@ ice_get_fdir_fltr_ids(struct ice_hw *hw, struct ethtool_rxnfc *cmd,\n \t\t u32 *rule_locs);\n void ice_fdir_rem_adq_chnl(struct ice_hw *hw, u16 vsi_idx);\n void ice_fdir_release_flows(struct ice_hw *hw);\n+void ice_fdir_clear_flow_handles(struct ice_hw *hw);\n void ice_fdir_replay_flows(struct ice_hw *hw);\n void ice_fdir_replay_fltrs(struct ice_pf *pf);\n int ice_fdir_create_dflt_rules(struct ice_pf *pf);\ndiff --git a/drivers/net/ethernet/intel/ice/ice_adapter.c b/drivers/net/ethernet/intel/ice/ice_adapter.c\nindex 2dc3629d6d0f6..7de9223e971a7 100644\n--- a/drivers/net/ethernet/intel/ice/ice_adapter.c\n+++ b/drivers/net/ethernet/intel/ice/ice_adapter.c\n@@ -64,6 +64,7 @@ static struct ice_adapter *ice_adapter_new(struct pci_dev *pdev)\n \tspin_lock_init(\u0026adapter-\u003etxq_ctx_lock);\n \tfor (int i = 0; i \u003c ARRAY_SIZE(adapter-\u003ecpi_phy_lock); i++)\n \t\tmutex_init(\u0026adapter-\u003ecpi_phy_lock[i]);\n+\tmutex_init(\u0026adapter-\u003erebuild_lock);\n \trefcount_set(\u0026adapter-\u003erefcount, 1);\n \n \tmutex_init(\u0026adapter-\u003eports.lock);\n@@ -77,6 +78,7 @@ static void ice_adapter_free(struct ice_adapter *adapter)\n \tWARN_ON(!list_empty(\u0026adapter-\u003eports.ports));\n \tfor (int i = 0; i \u003c ARRAY_SIZE(adapter-\u003ecpi_phy_lock); i++)\n \t\tmutex_destroy(\u0026adapter-\u003ecpi_phy_lock[i]);\n+\tmutex_destroy(\u0026adapter-\u003erebuild_lock);\n \tmutex_destroy(\u0026adapter-\u003eports.lock);\n \n \tkfree(adapter);\ndiff --git a/drivers/net/ethernet/intel/ice/ice_adapter.h b/drivers/net/ethernet/intel/ice/ice_adapter.h\nindex 4f695f32da3d8..f9265de973efc 100644\n--- a/drivers/net/ethernet/intel/ice/ice_adapter.h\n+++ b/drivers/net/ethernet/intel/ice/ice_adapter.h\n@@ -37,6 +37,7 @@ struct ice_port_list {\n * @cpi_phy_lock: Per-PHY mutex serializing CPI REQ/ACK transactions.\n * Index 0 = PHY0, index 1 = PHY1. Used on E825C devices.\n * @ctrl_pf: Control PF of the adapter\n+ * @rebuild_lock: serialize PFR recovery across PFs of the same adapter\n * @ports: Ports list\n * @index: 64-bit index cached for collision detection on 32bit systems\n */\n@@ -48,6 +49,8 @@ struct ice_adapter {\n \tspinlock_t txq_ctx_lock;\n \t/* Serialize CPI REQ/ACK transactions per PHY (E825C only) */\n \tstruct mutex cpi_phy_lock[ICE_E825_MAX_PHYS];\n+\t/* Serialize PFR recovery touching shared FW global state */\n+\tstruct mutex rebuild_lock;\n \n \tstruct ice_pf *ctrl_pf;\n \tstruct ice_port_list ports;\ndiff --git a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c\nindex aceec184e89b2..faa16b5a12c0d 100644\n--- a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c\n+++ b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c\n@@ -428,6 +428,27 @@ void ice_fdir_release_flows(struct ice_hw *hw)\n \t\tice_fdir_erase_flow_from_hw(hw, ICE_BLK_FD, flow);\n }\n \n+/**\n+ * ice_fdir_clear_flow_handles - clear handles freed during reset\n+ * @hw: pointer to HW instance\n+ */\n+void ice_fdir_clear_flow_handles(struct ice_hw *hw)\n+{\n+\tint flow;\n+\n+\tfor (flow = 0; flow \u003c ICE_FLTR_PTYPE_MAX; flow++) {\n+\t\tstruct ice_fd_hw_prof *prof = hw-\u003efdir_prof[flow];\n+\t\tint tun, i;\n+\n+\t\tif (!prof)\n+\t\t\tcontinue;\n+\n+\t\tfor (tun = 0; tun \u003c ICE_FD_HW_SEG_MAX; tun++)\n+\t\t\tfor (i = 0; i \u003c prof-\u003ecnt; i++)\n+\t\t\t\tprof-\u003eentry_h[i][tun] = 0;\n+\t}\n+}\n+\n /**\n * ice_fdir_replay_flows - replay HW Flow Director filter info\n * @hw: pointer to HW instance\ndiff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c\nindex d88835482d3aa..7aa1235447310 100644\n--- a/drivers/net/ethernet/intel/ice/ice_main.c\n+++ b/drivers/net/ethernet/intel/ice/ice_main.c\n@@ -601,6 +601,8 @@ ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type)\n \t\tnetif_device_detach(vsi-\u003enetdev);\n skip:\n \n+\tif (hw-\u003efdir_prof)\n+\t\tice_fdir_clear_flow_handles(hw);\n \t/* clear SW filtering DB */\n \tice_clear_hw_tbls(hw);\n \t/* disable the VSIs and their queues that are not already DOWN */\n@@ -659,7 +661,9 @@ static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type)\n \t */\n \tif (reset_type == ICE_RESET_PFR) {\n \t\tpf-\u003epfr_count++;\n+\t\tmutex_lock(\u0026pf-\u003eadapter-\u003erebuild_lock);\n \t\tice_rebuild(pf, reset_type);\n+\t\tmutex_unlock(\u0026pf-\u003eadapter-\u003erebuild_lock);\n \t\tclear_bit(ICE_PREPARED_FOR_RESET, pf-\u003estate);\n \t\tclear_bit(ICE_PFR_REQ, pf-\u003estate);\n \t\twake_up(\u0026pf-\u003ereset_wait_queue);\n@@ -704,7 +708,9 @@ static void ice_reset_subtask(struct ice_pf *pf)\n \t\t} else {\n \t\t\t/* done with reset. start rebuild */\n \t\t\tpf-\u003ehw.reset_ongoing = false;\n+\t\t\tmutex_lock(\u0026pf-\u003eadapter-\u003erebuild_lock);\n \t\t\tice_rebuild(pf, reset_type);\n+\t\t\tmutex_unlock(\u0026pf-\u003eadapter-\u003erebuild_lock);\n \t\t\t/* clear bit to resume normal operations, but\n \t\t\t * ICE_NEEDS_RESTART bit is set in case rebuild failed\n \t\t\t */\n@@ -7674,14 +7680,27 @@ static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type)\n \t\tgoto err_init_ctrlq;\n \t}\n \n-\t/* if DDP was previously loaded successfully */\n-\tif (!ice_is_safe_mode(pf)) {\n-\t\t/* reload the SW DB of filter tables */\n-\t\tif (reset_type == ICE_RESET_PFR)\n-\t\t\tice_fill_blk_tbls(hw);\n-\t\telse\n-\t\t\t/* Reload DDP Package after CORER/GLOBR reset */\n-\t\t\tice_load_pkg(NULL, pf);\n+\tif (!ice_is_safe_mode(pf) \u0026\u0026 reset_type == ICE_RESET_PFR) {\n+\t\tenum ice_ddp_state state;\n+\n+\t\tstate = ice_init_pkg(hw, hw-\u003epkg_copy, hw-\u003epkg_size);\n+\t\tice_log_pkg_init(hw, state);\n+\t\tif (!ice_is_init_pkg_successful(state))\n+\t\t\tgoto err_init_ctrlq;\n+\t} else if (!ice_is_safe_mode(pf)) {\n+\t\t/* Reload DDP Package after CORER/GLOBR reset */\n+\t\tice_load_pkg(NULL, pf);\n+\t}\n+\n+\t/* PFR can lose DVM recipes after system suspend. */\n+\tif (!ice_is_safe_mode(pf) \u0026\u0026 reset_type == ICE_RESET_PFR \u0026\u0026\n+\t ice_is_dvm_ena(hw)) {\n+\t\terr = ice_dvm_update_dflt_recipes(hw);\n+\t\tif (err) {\n+\t\t\tdev_err(dev, \"failed to restore default DVM recipes: %d\\n\",\n+\t\t\t\terr);\n+\t\t\tgoto err_init_ctrlq;\n+\t\t}\n \t}\n \n \terr = ice_clear_pf_cfg(hw);\ndiff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c\nindex fb526cb847764..58fb191903a75 100644\n--- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c\n+++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c\n@@ -240,7 +240,7 @@ static struct ice_update_recipe_lkup_idx_params ice_dvm_dflt_recipes[] = {\n * ice_dvm_update_dflt_recipes - update default switch recipes in DVM\n * @hw: hardware structure used to update the recipes\n */\n-static int ice_dvm_update_dflt_recipes(struct ice_hw *hw)\n+int ice_dvm_update_dflt_recipes(struct ice_hw *hw)\n {\n \tunsigned long i;\n \ndiff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h\nindex a0fb743d08e20..5dc705435f56a 100644\n--- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h\n+++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h\n@@ -8,6 +8,7 @@ struct ice_hw;\n \n bool ice_is_dvm_ena(struct ice_hw *hw);\n int ice_set_vlan_mode(struct ice_hw *hw);\n+int ice_dvm_update_dflt_recipes(struct ice_hw *hw);\n void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw);\n \n #endif /* _ICE_VLAN_MODE_H */\n"
} |
| 2/1 | 2026/09/04 09:29 | agent | patch-evaluator |
0mModel:core Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the Intel Ethernet Connection E800 Series (`ice`) driver, specifically handling Flow Director filter handle cleanup, rebuild serialization via an adapter-level mutex, and recipe updates on reset. The `ice` driver targets specific physical Intel E800 series PCIe hardware not emulated in standard QEMU/KVM environments, making the code structurally unreachable during fuzzing.",
"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 829397bb83f4cf1e2e03132899aa9f72ed09d1dc
Author: syz-cluster <triage@syzkaller.com>
Date: Fri Sep 4 09:29:27 2026 +0000
syz-cluster: applied patch under review
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h
index db3c7015c56c4..4739ff882b9ec 100644
--- a/drivers/net/ethernet/intel/ice/ice.h
+++ b/drivers/net/ethernet/intel/ice/ice.h
@@ -1029,6 +1029,7 @@ ice_get_fdir_fltr_ids(struct ice_hw *hw, struct ethtool_rxnfc *cmd,
u32 *rule_locs);
void ice_fdir_rem_adq_chnl(struct ice_hw *hw, u16 vsi_idx);
void ice_fdir_release_flows(struct ice_hw *hw);
+void ice_fdir_clear_flow_handles(struct ice_hw *hw);
void ice_fdir_replay_flows(struct ice_hw *hw);
void ice_fdir_replay_fltrs(struct ice_pf *pf);
int ice_fdir_create_dflt_rules(struct ice_pf *pf);
diff --git a/drivers/net/ethernet/intel/ice/ice_adapter.c b/drivers/net/ethernet/intel/ice/ice_adapter.c
index 2dc3629d6d0f6..7de9223e971a7 100644
--- a/drivers/net/ethernet/intel/ice/ice_adapter.c
+++ b/drivers/net/ethernet/intel/ice/ice_adapter.c
@@ -64,6 +64,7 @@ static struct ice_adapter *ice_adapter_new(struct pci_dev *pdev)
spin_lock_init(&adapter->txq_ctx_lock);
for (int i = 0; i < ARRAY_SIZE(adapter->cpi_phy_lock); i++)
mutex_init(&adapter->cpi_phy_lock[i]);
+ mutex_init(&adapter->rebuild_lock);
refcount_set(&adapter->refcount, 1);
mutex_init(&adapter->ports.lock);
@@ -77,6 +78,7 @@ static void ice_adapter_free(struct ice_adapter *adapter)
WARN_ON(!list_empty(&adapter->ports.ports));
for (int i = 0; i < ARRAY_SIZE(adapter->cpi_phy_lock); i++)
mutex_destroy(&adapter->cpi_phy_lock[i]);
+ mutex_destroy(&adapter->rebuild_lock);
mutex_destroy(&adapter->ports.lock);
kfree(adapter);
diff --git a/drivers/net/ethernet/intel/ice/ice_adapter.h b/drivers/net/ethernet/intel/ice/ice_adapter.h
index 4f695f32da3d8..f9265de973efc 100644
--- a/drivers/net/ethernet/intel/ice/ice_adapter.h
+++ b/drivers/net/ethernet/intel/ice/ice_adapter.h
@@ -37,6 +37,7 @@ struct ice_port_list {
* @cpi_phy_lock: Per-PHY mutex serializing CPI REQ/ACK transactions.
* Index 0 = PHY0, index 1 = PHY1. Used on E825C devices.
* @ctrl_pf: Control PF of the adapter
+ * @rebuild_lock: serialize PFR recovery across PFs of the same adapter
* @ports: Ports list
* @index: 64-bit index cached for collision detection on 32bit systems
*/
@@ -48,6 +49,8 @@ struct ice_adapter {
spinlock_t txq_ctx_lock;
/* Serialize CPI REQ/ACK transactions per PHY (E825C only) */
struct mutex cpi_phy_lock[ICE_E825_MAX_PHYS];
+ /* Serialize PFR recovery touching shared FW global state */
+ struct mutex rebuild_lock;
struct ice_pf *ctrl_pf;
struct ice_port_list ports;
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
index aceec184e89b2..faa16b5a12c0d 100644
--- a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
+++ b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
@@ -428,6 +428,27 @@ void ice_fdir_release_flows(struct ice_hw *hw)
ice_fdir_erase_flow_from_hw(hw, ICE_BLK_FD, flow);
}
+/**
+ * ice_fdir_clear_flow_handles - clear handles freed during reset
+ * @hw: pointer to HW instance
+ */
+void ice_fdir_clear_flow_handles(struct ice_hw *hw)
+{
+ int flow;
+
+ for (flow = 0; flow < ICE_FLTR_PTYPE_MAX; flow++) {
+ struct ice_fd_hw_prof *prof = hw->fdir_prof[flow];
+ int tun, i;
+
+ if (!prof)
+ continue;
+
+ for (tun = 0; tun < ICE_FD_HW_SEG_MAX; tun++)
+ for (i = 0; i < prof->cnt; i++)
+ prof->entry_h[i][tun] = 0;
+ }
+}
+
/**
* ice_fdir_replay_flows - replay HW Flow Director filter info
* @hw: pointer to HW instance
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index d88835482d3aa..7aa1235447310 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -601,6 +601,8 @@ ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type)
netif_device_detach(vsi->netdev);
skip:
+ if (hw->fdir_prof)
+ ice_fdir_clear_flow_handles(hw);
/* clear SW filtering DB */
ice_clear_hw_tbls(hw);
/* disable the VSIs and their queues that are not already DOWN */
@@ -659,7 +661,9 @@ static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type)
*/
if (reset_type == ICE_RESET_PFR) {
pf->pfr_count++;
+ mutex_lock(&pf->adapter->rebuild_lock);
ice_rebuild(pf, reset_type);
+ mutex_unlock(&pf->adapter->rebuild_lock);
clear_bit(ICE_PREPARED_FOR_RESET, pf->state);
clear_bit(ICE_PFR_REQ, pf->state);
wake_up(&pf->reset_wait_queue);
@@ -704,7 +708,9 @@ static void ice_reset_subtask(struct ice_pf *pf)
} else {
/* done with reset. start rebuild */
pf->hw.reset_ongoing = false;
+ mutex_lock(&pf->adapter->rebuild_lock);
ice_rebuild(pf, reset_type);
+ mutex_unlock(&pf->adapter->rebuild_lock);
/* clear bit to resume normal operations, but
* ICE_NEEDS_RESTART bit is set in case rebuild failed
*/
@@ -7674,14 +7680,27 @@ static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type)
goto err_init_ctrlq;
}
- /* if DDP was previously loaded successfully */
- if (!ice_is_safe_mode(pf)) {
- /* reload the SW DB of filter tables */
- if (reset_type == ICE_RESET_PFR)
- ice_fill_blk_tbls(hw);
- else
- /* Reload DDP Package after CORER/GLOBR reset */
- ice_load_pkg(NULL, pf);
+ if (!ice_is_safe_mode(pf) && reset_type == ICE_RESET_PFR) {
+ enum ice_ddp_state state;
+
+ state = ice_init_pkg(hw, hw->pkg_copy, hw->pkg_size);
+ ice_log_pkg_init(hw, state);
+ if (!ice_is_init_pkg_successful(state))
+ goto err_init_ctrlq;
+ } else if (!ice_is_safe_mode(pf)) {
+ /* Reload DDP Package after CORER/GLOBR reset */
+ ice_load_pkg(NULL, pf);
+ }
+
+ /* PFR can lose DVM recipes after system suspend. */
+ if (!ice_is_safe_mode(pf) && reset_type == ICE_RESET_PFR &&
+ ice_is_dvm_ena(hw)) {
+ err = ice_dvm_update_dflt_recipes(hw);
+ if (err) {
+ dev_err(dev, "failed to restore default DVM recipes: %d\n",
+ err);
+ goto err_init_ctrlq;
+ }
}
err = ice_clear_pf_cfg(hw);
diff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c
index fb526cb847764..58fb191903a75 100644
--- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.c
+++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.c
@@ -240,7 +240,7 @@ static struct ice_update_recipe_lkup_idx_params ice_dvm_dflt_recipes[] = {
* ice_dvm_update_dflt_recipes - update default switch recipes in DVM
* @hw: hardware structure used to update the recipes
*/
-static int ice_dvm_update_dflt_recipes(struct ice_hw *hw)
+int ice_dvm_update_dflt_recipes(struct ice_hw *hw)
{
unsigned long i;
diff --git a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h
index a0fb743d08e20..5dc705435f56a 100644
--- a/drivers/net/ethernet/intel/ice/ice_vlan_mode.h
+++ b/drivers/net/ethernet/intel/ice/ice_vlan_mode.h
@@ -8,6 +8,7 @@ struct ice_hw;
bool ice_is_dvm_ena(struct ice_hw *hw);
int ice_set_vlan_mode(struct ice_hw *hw);
+int ice_dvm_update_dflt_recipes(struct ice_hw *hw);
void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw);
#endif /* _ICE_VLAN_MODE_H */
|
| 3/2 | 2026/09/04 09:29 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 5684 output: 33 thoughts: 580 Thoughts: **Triage Time: Assessing the `ice` Driver Patch** Alright, let's dive into this patch and see if it's fuzz-worthy, keeping the triage criteria front and center. First, I need to get a handle on what code is being touched. Okay, I've got: `ice.h`, `ice_adapter.c/h`, `ice_ethtool_fdir.c`, `ice_main.c`, and `ice_vlan_mode.c/h`. Standard stuff, all within the Intel Ethernet Controller E800 series driver, or `ice`. Now, the crucial question: is this a hardware-dependent driver? Does it rely on specific PCIe hardware that's not emulated in the usual QEMU fuzzing environments? Let's refresh our memory on the triage guidelines, specifically the negative criteria. We're looking for vendor-specific hardware that's tough to reach in a standard setup. My understanding, from experience, is that the `ice` driver is for Intel's Columbiaville (E810) and E800 series enterprise NICs. These are PCIe network interface cards, the 100GbE variety. They're definitely not emulated by the standard QEMU devices that we'd use, like e1000, igb, and virtio-net. To be absolutely sure, let's double-check the Kconfig for any virtual or mock devices using `CONFIG_ICE`. My initial thought is that we're dealing with hardware that's difficult to reach, but let's just make sure. |
| 4/2 | 2026/09/04 09:29 | tool | grepper |
0mArgs:{
"Expression": "config ICE\\b",
"PathPrefix": "drivers/net/ethernet/intel/"
}Results: {
"Output": "drivers/net/ethernet/intel/Kconfig=268=config I40EVF\n--\ndrivers/net/ethernet/intel/Kconfig-290-\ndrivers/net/ethernet/intel/Kconfig:291:config ICE\ndrivers/net/ethernet/intel/Kconfig-292-\ttristate \"Intel(R) Ethernet Connection E800 Series Support\"\n"
} |
| 5/2 | 2026/09/04 09:29 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 6751 output: 39 thoughts: 24 Thoughts: Here's my summary, as if I were the one thinking these thoughts, targeting an expert audience: **Examining Intel Ethernet Driver Configuration** Okay, time to dive into the specifics of this Intel Ethernet driver configuration. I need to refresh my memory on some options. Let's start by zeroing in on `drivers/net/ethernet/intel/Kconfig`, and specifically, around line 291. That's usually where the core feature enable flags are grouped, or at least a relevant grouping of configuration parameters related to the driver's default settings. I'm hoping to quickly grasp the relevant parameters there, maybe a hardware specific feature, or a debug setting. Let's see what's there... I want to see how this particular driver handles X. |
| 6/2 | 2026/09/04 09:29 | tool | read-file |
0mArgs:{
"File": "drivers/net/ethernet/intel/Kconfig",
"FirstLine": 290,
"LineCount": 30
}Results: {
"Contents": " 290:\t\n 291:\tconfig ICE\n 292:\t\ttristate \"Intel(R) Ethernet Connection E800 Series Support\"\n 293:\t\tdefault n\n 294:\t\tdepends on PCI_MSI\n 295:\t\tdepends on PTP_1588_CLOCK_OPTIONAL\n 296:\t\tdepends on GNSS || GNSS = n\n 297:\t\tselect AUXILIARY_BUS\n 298:\t\tselect DIMLIB\n 299:\t\tselect LIBETH_XDP\n 300:\t\tselect LIBIE\n 301:\t\tselect LIBIE_ADMINQ\n 302:\t\tselect LIBIE_FWLOG if DEBUG_FS\n 303:\t\tselect NET_DEVLINK\n 304:\t\tselect PACKING\n 305:\t\tselect PLDMFW\n 306:\t\tselect DPLL\n 307:\t\thelp\n 308:\t\t This driver supports Intel(R) Ethernet Connection E800 Series of\n 309:\t\t devices. For more information on how to identify your adapter, go\n 310:\t\t to the Adapter \u0026 Driver ID Guide that can be located at:\n 311:\t\n 312:\t\t \u003chttp://support.intel.com\u003e\n 313:\t\n 314:\t\t More specific information on configuring the driver is in\n 315:\t\t \u003cfile:Documentation/networking/device_drivers/ethernet/intel/ice.rst\u003e.\n 316:\t\n 317:\t\t To compile this driver as a module, choose M here. The module\n 318:\t\t will be called ice.\n 319:\t\n"
} |
| 7/2 | 2026/09/04 09:29 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 7407 output: 109 thoughts: 482 Thoughts: **Analysis of the "ice" Driver Patch for Fuzzing Suitability** Okay, so the `ice` driver, which I know is the Intel Ethernet Connection E800 Series driver, is the focus here. It's a vendor-specific physical PCIe network driver, and that immediately raises a red flag because it requires the Intel E800 series hardware ASIC. Standard QEMU, which is our primary environment for fuzzing, doesn't emulate those cards. My understanding is that, based on section 2 of the guidelines, code that depends on "structurally unreachable hardware" like these vendor-specific PCIe components are not suitable for standard fuzzing. The section specifically calls out drivers like `mlxsw`, `pds_core`, `qed`, `ionic`, and `amdgpu` as examples, all requiring physical hardware. This is a crucial detail for determining `WorthFuzzing`. Now, let's confirm the scope of this patch. I need to make absolutely sure the changes are isolated to this specific `ice` driver. A quick scan of the modified files—`ice.h`, `ice_adapter.c`, `ice_adapter.h`, `ice_ethtool_fdir.c`, `ice_main.c`, `ice_vlan_mode.c`, and `ice_vlan_mode.h`—confirms they all live within the `drivers/net/ethernet/intel/ice/` directory. None of them appear to touch any core networking or virtual netdev components, which is critical. Therefore, since the patch deals solely with the `ice` driver's handling of reset serialization and Flow Director/DVM filter replay, which is all dependent on hardware that isn't emulated, it is structurally unreachable in our standard QEMU environment. This leads me to conclude: `WorthFuzzing = false`. I won't be enabling any special configurations (`EnableConfigs = []`) or focusing on any specific symbols (`FocusSymbols = []`). The reasoning is straightforward: the modified code's execution path is blocked by the lack of emulated hardware. Okay, I'll call `set-results` to record this analysis. |
| 8/2 | 2026/09/04 09:29 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch modifies the Intel Ethernet Connection E800 Series (`ice`) driver, specifically handling Flow Director filter handle cleanup, rebuild serialization via an adapter-level mutex, and recipe updates on reset. The `ice` driver targets specific physical Intel E800 series PCIe hardware not emulated in standard QEMU/KVM environments, making the code structurally unreachable during fuzzing.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the Intel Ethernet Connection E800 Series (`ice`) driver, specifically handling Flow Director filter handle cleanup, rebuild serialization via an adapter-level mutex, and recipe updates on reset. The `ice` driver targets specific physical Intel E800 series PCIe hardware not emulated in standard QEMU/KVM environments, making the code structurally unreachable during fuzzing.",
"WorthFuzzing": false
} |
| 9/1 | 2026/09/04 09:29 | 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) |
|---|