| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/09/08 17:00 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch modifies the ath11k driver (Qualcomm 802.11ax wireless driver), which operates exclusively on physical PCIe/AHB hardware devices not emulated in standard virtualized fuzzing environments (QEMU/GCE). As such, the modified code is structurally unreachable for syzkaller.",
"WorthFuzzing": false
} |
| 1/1 | 2026/09/08 17:00 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit c523b94e64d4dde52b9b548cb1c6dc2caf99cc74\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Tue Sep 8 17:00:20 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h\nindex a0d725923ef24..40895d276de5f 100644\n--- a/drivers/net/wireless/ath/ath11k/core.h\n+++ b/drivers/net/wireless/ath/ath11k/core.h\n@@ -709,6 +709,11 @@ struct ath11k {\n \t */\n \tspinlock_t data_lock;\n \n+\t/* serialises one scheduling round per access category against the\n+\t * other contexts that drive it\n+\t */\n+\tspinlock_t txq_lock[IEEE80211_NUM_ACS];\n+\n \tstruct list_head arvifs;\n \t/* should never be NULL; needed for regular htt rx */\n \tstruct ieee80211_channel *rx_channel;\ndiff --git a/drivers/net/wireless/ath/ath11k/debugfs.c b/drivers/net/wireless/ath/ath11k/debugfs.c\nindex 70922612d3fb9..ffe1f466aefb6 100644\n--- a/drivers/net/wireless/ath/ath11k/debugfs.c\n+++ b/drivers/net/wireless/ath/ath11k/debugfs.c\n@@ -714,6 +714,16 @@ static ssize_t ath11k_debugfs_dump_soc_dp_stats(struct file *file,\n \t\t\t \"\\nMisc Transmit Failures: %d\\n\",\n \t\t\t atomic_read(\u0026soc_stats-\u003etx_err.misc_fail));\n \n+\t/* Descriptors the hardware has not completed. */\n+\tlen += scnprintf(buf + len, size - len, \"\\nPending Tx MSDUs:\\n\");\n+\tfor (i = 0; i \u003c ab-\u003enum_radios; i++) {\n+\t\tstruct ath11k *ar = ab-\u003epdevs[i].ar;\n+\n+\t\tif (ar)\n+\t\t\tlen += scnprintf(buf + len, size - len, \"radio%d: %d\\n\",\n+\t\t\t\t\t i, atomic_read(\u0026ar-\u003edp.num_tx_pending));\n+\t}\n+\n \tlen += ath11k_debugfs_dump_soc_ring_bp_stats(ab, buf + len, size - len);\n \n \tif (len \u003e size)\ndiff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c\nindex be65d73b904b6..ddb434c513e0b 100644\n--- a/drivers/net/wireless/ath/ath11k/dp.c\n+++ b/drivers/net/wireless/ath/ath11k/dp.c\n@@ -783,8 +783,14 @@ int ath11k_dp_service_srng(struct ath11k_base *ab,\n \n \tfor (i = 0; i \u003c ab-\u003ehw_params.hal_params-\u003enum_tx_rings; i++) {\n \t\tif (BIT(ab-\u003ehw_params.hal_params-\u003etcl2wbm_rbm_map[i].wbm_ring_num) \u0026\n-\t\t ab-\u003ehw_params.ring_mask-\u003etx[grp_id])\n-\t\t\tath11k_dp_tx_completion_handler(ab, i);\n+\t\t ab-\u003ehw_params.ring_mask-\u003etx[grp_id]) {\n+\t\t\twork_done =\n+\t\t\t\tath11k_dp_tx_completion_handler(ab, i, budget);\n+\t\t\tbudget -= work_done;\n+\t\t\ttot_work_done += work_done;\n+\t\t\tif (budget \u003c= 0)\n+\t\t\t\tgoto done;\n+\t\t}\n \t}\n \n \tif (ab-\u003ehw_params.ring_mask-\u003erx_err[grp_id]) {\ndiff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c\nindex 33425707c0842..a7b9bb295728b 100644\n--- a/drivers/net/wireless/ath/ath11k/dp_rx.c\n+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c\n@@ -1377,6 +1377,7 @@ ath11k_update_per_peer_tx_stats(struct ath11k *ar,\n \tu16 rate = 0, succ_pkts = 0;\n \tu32 tx_duration = 0;\n \tu8 tid = HTT_PPDU_STATS_NON_QOS_TID;\n+\tu8 airtime_tid;\n \tbool is_ampdu = false;\n \n \tif (!(usr_stats-\u003etlv_flags \u0026 BIT(HTT_PPDU_STATS_TAG_USR_RATE)))\n@@ -1485,6 +1486,22 @@ ath11k_update_per_peer_tx_stats(struct ath11k *ar,\n \n \tarsta-\u003etxrate.bw = ath11k_mac_bw_to_mac80211_bw(bw);\n \tarsta-\u003etx_duration += tx_duration;\n+\n+\t/* The ack/BA status TLV names the TID only for a PPDU that drew a\n+\t * response; fall back to the completion and rate TLVs, then to BE.\n+\t */\n+\tairtime_tid = tid;\n+\tif (airtime_tid \u003e= IEEE80211_NUM_TIDS \u0026\u0026\n+\t usr_stats-\u003etlv_flags \u0026 BIT(HTT_PPDU_STATS_TAG_USR_COMPLTN_COMMON))\n+\t\tairtime_tid = usr_stats-\u003ecmpltn_cmn.tid_num;\n+\tif (airtime_tid \u003e= IEEE80211_NUM_TIDS)\n+\t\tairtime_tid = user_rate-\u003etid_num;\n+\tif (airtime_tid \u003e= IEEE80211_NUM_TIDS)\n+\t\tairtime_tid = 0;\n+\n+\tif (tx_duration)\n+\t\tieee80211_sta_register_airtime(sta, airtime_tid, tx_duration, 0);\n+\n \tmemcpy(\u0026arsta-\u003elast_txrate, \u0026arsta-\u003etxrate, sizeof(struct rate_info));\n \n \t/* PPDU stats reported for mgmt packet doesn't have valid tx bytes.\n@@ -5253,6 +5270,7 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,\n \tstruct sk_buff_head skb_list;\n \tstruct ath11k_peer *peer;\n \tstruct ath11k_sta *arsta;\n+\tstruct ieee80211_sta *sta;\n \tint num_buffs_reaped = 0;\n \tu32 rx_buf_sz;\n \tu16 log_type;\n@@ -5307,6 +5325,7 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,\n \t\t\tcontinue;\n \t\t}\n \n+\t\tsta = NULL;\n \t\trcu_read_lock();\n \t\tspin_lock_bh(\u0026ab-\u003ebase_lock);\n \t\tpeer = ath11k_peer_find_by_id(ab, ppdu_info-\u003epeer_id);\n@@ -5320,12 +5339,25 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,\n \n \t\tarsta = ath11k_sta_to_arsta(peer-\u003esta);\n \t\tath11k_dp_rx_update_peer_stats(arsta, ppdu_info);\n+\t\tsta = peer-\u003esta;\n \n \t\tif (ath11k_debugfs_is_pktlog_peer_valid(ar, peer-\u003eaddr))\n \t\t\ttrace_ath11k_htt_rxdesc(ar, skb-\u003edata, log_type, rx_buf_sz);\n \n next_skb:\n \t\tspin_unlock_bh(\u0026ab-\u003ebase_lock);\n+\n+\t\t/* The airtime a station spends transmitting is taken from\n+\t\t * the others, so its deficit is charged for it too, with the\n+\t\t * duration the hardware measured for the whole PPDU, as on\n+\t\t * the transmit side. The TLV that names the TID is not in\n+\t\t * the default monitor status filter, so the charge goes to\n+\t\t * BE. Outside base_lock, which tx completion contends for;\n+\t\t * sta is held by the rcu read lock.\n+\t\t */\n+\t\tif (sta \u0026\u0026 ppdu_info-\u003erx_duration)\n+\t\t\tieee80211_sta_register_airtime(sta, 0, 0,\n+\t\t\t\t\t\t ppdu_info-\u003erx_duration);\n \t\trcu_read_unlock();\n \n \t\tdev_kfree_skb_any(skb);\ndiff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c\nindex cac970c92806a..3997bd336942a 100644\n--- a/drivers/net/wireless/ath/ath11k/dp_tx.c\n+++ b/drivers/net/wireless/ath/ath11k/dp_tx.c\n@@ -305,9 +305,10 @@ static void ath11k_dp_tx_free_txbuf(struct ath11k_base *ab, u8 mac_id,\n \tskb_cb = ATH11K_SKB_CB(msdu);\n \n \tdma_unmap_single(ab-\u003edev, skb_cb-\u003epaddr, msdu-\u003elen, DMA_TO_DEVICE);\n-\tdev_kfree_skb_any(msdu);\n \n \tar = ab-\u003epdevs[mac_id].ar;\n+\tieee80211_free_txskb(ar-\u003ehw, msdu);\n+\n \tif (atomic_dec_and_test(\u0026ar-\u003edp.num_tx_pending))\n \t\twake_up(\u0026ar-\u003edp.tx_empty_waitq);\n }\n@@ -684,7 +685,8 @@ static inline void ath11k_dp_tx_status_parse(struct ath11k_base *ab,\n \t\tts-\u003erate_stats = 0;\n }\n \n-void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)\n+int ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id,\n+\t\t\t\t int budget)\n {\n \tstruct ath11k *ar;\n \tstruct ath11k_dp *dp = \u0026ab-\u003edp;\n@@ -693,9 +695,11 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)\n \tstruct sk_buff *msdu;\n \tstruct hal_tx_status ts = {};\n \tstruct dp_tx_ring *tx_ring = \u0026dp-\u003etx_ring[ring_id];\n+\tunsigned long push = 0;\n+\tint done = 0;\n \tu32 *desc;\n \tu32 msdu_id;\n-\tu8 mac_id;\n+\tu8 mac_id, i;\n \n \tspin_lock_bh(\u0026status_ring-\u003elock);\n \n@@ -721,10 +725,13 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)\n \n \tspin_unlock_bh(\u0026status_ring-\u003elock);\n \n-\twhile (ATH11K_TX_COMPL_NEXT(tx_ring-\u003etx_status_tail) != tx_ring-\u003etx_status_head) {\n+\twhile (done \u003c budget \u0026\u0026\n+\t ATH11K_TX_COMPL_NEXT(tx_ring-\u003etx_status_tail) !=\n+\t tx_ring-\u003etx_status_head) {\n \t\tstruct hal_wbm_release_ring *tx_status;\n \t\tu32 desc_id;\n \n+\t\tdone++;\n \t\ttx_ring-\u003etx_status_tail =\n \t\t\tATH11K_TX_COMPL_NEXT(tx_ring-\u003etx_status_tail);\n \t\ttx_status = \u0026tx_ring-\u003etx_status[tx_ring-\u003etx_status_tail];\n@@ -755,12 +762,25 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)\n \t\tspin_unlock(\u0026tx_ring-\u003etx_idr_lock);\n \n \t\tar = ab-\u003epdevs[mac_id].ar;\n+\t\t__set_bit(mac_id * IEEE80211_NUM_ACS + skb_get_queue_mapping(msdu),\n+\t\t\t \u0026push);\n \n \t\tif (atomic_dec_and_test(\u0026ar-\u003edp.num_tx_pending))\n \t\t\twake_up(\u0026ar-\u003edp.tx_empty_waitq);\n \n \t\tath11k_dp_tx_complete_msdu(ar, msdu, \u0026ts);\n \t}\n+\n+\t/* A completion returns the airtime the frame was charged, which is\n+\t * what an airtime-limited station in that access category is waiting\n+\t * on. The arrivals that would otherwise start a round are themselves\n+\t * queued behind that limit.\n+\t */\n+\tfor_each_set_bit(i, \u0026push, ab-\u003enum_radios * IEEE80211_NUM_ACS)\n+\t\tath11k_mac_tx_push_pending(ab-\u003epdevs[i / IEEE80211_NUM_ACS].ar,\n+\t\t\t\t\t i % IEEE80211_NUM_ACS);\n+\n+\treturn done;\n }\n \n int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,\ndiff --git a/drivers/net/wireless/ath/ath11k/dp_tx.h b/drivers/net/wireless/ath/ath11k/dp_tx.h\nindex 9303b5ba6e012..b5296cda73e30 100644\n--- a/drivers/net/wireless/ath/ath11k/dp_tx.h\n+++ b/drivers/net/wireless/ath/ath11k/dp_tx.h\n@@ -21,7 +21,8 @@ void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);\n int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);\n int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,\n \t\t struct ath11k_sta *arsta, struct sk_buff *skb);\n-void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);\n+int ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id,\n+\t\t\t\t int budget);\n int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,\n \t\t\t enum hal_reo_cmd_type type,\n \t\t\t struct ath11k_hal_reo_cmd *cmd,\ndiff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c\nindex 2d55cdc4d165d..12535926631b8 100644\n--- a/drivers/net/wireless/ath/ath11k/mac.c\n+++ b/drivers/net/wireless/ath/ath11k/mac.c\n@@ -6499,9 +6499,9 @@ static int ath11k_mac_mgmt_tx(struct ath11k *ar, struct sk_buff *skb,\n \treturn 0;\n }\n \n-static void ath11k_mac_op_tx(struct ieee80211_hw *hw,\n-\t\t\t struct ieee80211_tx_control *control,\n-\t\t\t struct sk_buff *skb)\n+static int ath11k_mac_tx(struct ieee80211_hw *hw,\n+\t\t\t struct ieee80211_tx_control *control,\n+\t\t\t struct sk_buff *skb)\n {\n \tstruct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb);\n \tstruct ath11k *ar = hw-\u003epriv;\n@@ -6533,7 +6533,7 @@ static void ath11k_mac_op_tx(struct ieee80211_hw *hw,\n \t\t\t\t ret);\n \t\t\tieee80211_free_txskb(ar-\u003ehw, skb);\n \t\t}\n-\t\treturn;\n+\t\treturn ret;\n \t}\n \n \tif (control-\u003esta)\n@@ -6544,6 +6544,69 @@ static void ath11k_mac_op_tx(struct ieee80211_hw *hw,\n \t\tath11k_warn(ar-\u003eab, \"failed to transmit frame %d\\n\", ret);\n \t\tieee80211_free_txskb(ar-\u003ehw, skb);\n \t}\n+\n+\treturn ret;\n+}\n+\n+static void ath11k_mac_op_tx(struct ieee80211_hw *hw,\n+\t\t\t struct ieee80211_tx_control *control,\n+\t\t\t struct sk_buff *skb)\n+{\n+\tath11k_mac_tx(hw, control, skb);\n+}\n+\n+static int ath11k_mac_tx_push_txq(struct ath11k *ar, struct ieee80211_txq *txq)\n+{\n+\tstruct ieee80211_tx_control control = { .sta = txq-\u003esta };\n+\tstruct sk_buff *skb;\n+\tint ret;\n+\n+\t/* ieee80211_tx_dequeue() applies the airtime queue limit itself, so a\n+\t * selection ends where the airtime queue limit binds, where the\n+\t * hardware queue is stopped, or when the queue empties, as the generic\n+\t * handler does today, and additionally when the hardware refuses a\n+\t * frame.\n+\t */\n+\twhile ((skb = ieee80211_tx_dequeue(ar-\u003ehw, txq))) {\n+\t\tret = ath11k_mac_tx(ar-\u003ehw, \u0026control, skb);\n+\t\tif (unlikely(ret == -ENOSPC || ret == -ENOMEM))\n+\t\t\treturn ret;\n+\t}\n+\n+\treturn 0;\n+}\n+\n+static void ath11k_mac_schedule_txq(struct ath11k *ar, u8 ac)\n+{\n+\tstruct ieee80211_hw *hw = ar-\u003ehw;\n+\tstruct ieee80211_txq *txq;\n+\n+\tspin_lock_bh(\u0026ar-\u003etxq_lock[ac]);\n+\n+\tieee80211_txq_schedule_start(hw, ac);\n+\twhile ((txq = ieee80211_next_txq(hw, ac))) {\n+\t\tint ret = ath11k_mac_tx_push_txq(ar, txq);\n+\n+\t\tieee80211_return_txq(hw, txq, false);\n+\t\tif (unlikely(ret))\n+\t\t\tbreak;\n+\t}\n+\tieee80211_txq_schedule_end(hw, ac);\n+\n+\tspin_unlock_bh(\u0026ar-\u003etxq_lock[ac]);\n+}\n+\n+static void ath11k_mac_op_wake_tx_queue(struct ieee80211_hw *hw,\n+\t\t\t\t\tstruct ieee80211_txq *txq)\n+{\n+\tath11k_mac_schedule_txq(hw-\u003epriv, txq-\u003eac);\n+}\n+\n+void ath11k_mac_tx_push_pending(struct ath11k *ar, u8 ac)\n+{\n+\trcu_read_lock();\n+\tath11k_mac_schedule_txq(ar, ac);\n+\trcu_read_unlock();\n }\n \n void ath11k_mac_drain_tx(struct ath11k *ar)\n@@ -10067,7 +10130,7 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,\n \n static const struct ieee80211_ops ath11k_ops = {\n \t.tx\t\t\t\t= ath11k_mac_op_tx,\n-\t.wake_tx_queue\t\t\t= ieee80211_handle_wake_tx_queue,\n+\t.wake_tx_queue\t\t\t= ath11k_mac_op_wake_tx_queue,\n \t.start = ath11k_mac_op_start,\n \t.stop = ath11k_mac_op_stop,\n \t.reconfig_complete = ath11k_mac_op_reconfig_complete,\n@@ -10592,6 +10655,9 @@ static int __ath11k_mac_register(struct ath11k *ar)\n \tar-\u003ehw-\u003esta_data_size = sizeof(struct ath11k_sta);\n \n \twiphy_ext_feature_set(ar-\u003ehw-\u003ewiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);\n+\twiphy_ext_feature_set(ar-\u003ehw-\u003ewiphy, NL80211_EXT_FEATURE_AQL);\n+\twiphy_ext_feature_set(ar-\u003ehw-\u003ewiphy,\n+\t\t\t NL80211_EXT_FEATURE_AIRTIME_FAIRNESS);\n \twiphy_ext_feature_set(ar-\u003ehw-\u003ewiphy, NL80211_EXT_FEATURE_STA_TX_PWR);\n \tif (test_bit(WMI_TLV_SERVICE_BSS_COLOR_OFFLOAD,\n \t\t ar-\u003eab-\u003ewmi_ab.svc_map)) {\n@@ -10754,7 +10820,7 @@ int ath11k_mac_allocate(struct ath11k_base *ab)\n \tstruct ath11k *ar;\n \tstruct ath11k_pdev *pdev;\n \tint ret;\n-\tint i;\n+\tint i, j;\n \n \tif (test_bit(ATH11K_FLAG_REGISTERED, \u0026ab-\u003edev_flags))\n \t\treturn 0;\n@@ -10788,6 +10854,9 @@ int ath11k_mac_allocate(struct ath11k_base *ab)\n \n \t\tpdev-\u003ear = ar;\n \t\tspin_lock_init(\u0026ar-\u003edata_lock);\n+\n+\t\tfor (j = 0; j \u003c IEEE80211_NUM_ACS; j++)\n+\t\t\tspin_lock_init(\u0026ar-\u003etxq_lock[j]);\n \t\tINIT_LIST_HEAD(\u0026ar-\u003earvifs);\n \t\tINIT_LIST_HEAD(\u0026ar-\u003eppdu_stats_info);\n \t\tmutex_init(\u0026ar-\u003econf_mutex);\ndiff --git a/drivers/net/wireless/ath/ath11k/mac.h b/drivers/net/wireless/ath/ath11k/mac.h\nindex 59f83c7175fd1..d577c5ca249cc 100644\n--- a/drivers/net/wireless/ath/ath11k/mac.h\n+++ b/drivers/net/wireless/ath/ath11k/mac.h\n@@ -161,6 +161,7 @@ struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id)\n struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);\n \n void ath11k_mac_drain_tx(struct ath11k *ar);\n+void ath11k_mac_tx_push_pending(struct ath11k *ar, u8 ac);\n void ath11k_mac_peer_cleanup_all(struct ath11k *ar);\n int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);\n u8 ath11k_mac_bw_to_mac80211_bw(u8 bw);\n"
} |
| 2/1 | 2026/09/08 17:00 | agent | patch-evaluator |
0mModel:core Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver (Qualcomm 802.11ax wireless driver), which operates exclusively on physical PCIe/AHB hardware devices not emulated in standard virtualized fuzzing environments (QEMU/GCE). As such, the modified code is structurally unreachable for syzkaller.",
"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 c523b94e64d4dde52b9b548cb1c6dc2caf99cc74
Author: syz-cluster <triage@syzkaller.com>
Date: Tue Sep 8 17:00:20 2026 +0000
syz-cluster: applied patch under review
diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h
index a0d725923ef24..40895d276de5f 100644
--- a/drivers/net/wireless/ath/ath11k/core.h
+++ b/drivers/net/wireless/ath/ath11k/core.h
@@ -709,6 +709,11 @@ struct ath11k {
*/
spinlock_t data_lock;
+ /* serialises one scheduling round per access category against the
+ * other contexts that drive it
+ */
+ spinlock_t txq_lock[IEEE80211_NUM_ACS];
+
struct list_head arvifs;
/* should never be NULL; needed for regular htt rx */
struct ieee80211_channel *rx_channel;
diff --git a/drivers/net/wireless/ath/ath11k/debugfs.c b/drivers/net/wireless/ath/ath11k/debugfs.c
index 70922612d3fb9..ffe1f466aefb6 100644
--- a/drivers/net/wireless/ath/ath11k/debugfs.c
+++ b/drivers/net/wireless/ath/ath11k/debugfs.c
@@ -714,6 +714,16 @@ static ssize_t ath11k_debugfs_dump_soc_dp_stats(struct file *file,
"\nMisc Transmit Failures: %d\n",
atomic_read(&soc_stats->tx_err.misc_fail));
+ /* Descriptors the hardware has not completed. */
+ len += scnprintf(buf + len, size - len, "\nPending Tx MSDUs:\n");
+ for (i = 0; i < ab->num_radios; i++) {
+ struct ath11k *ar = ab->pdevs[i].ar;
+
+ if (ar)
+ len += scnprintf(buf + len, size - len, "radio%d: %d\n",
+ i, atomic_read(&ar->dp.num_tx_pending));
+ }
+
len += ath11k_debugfs_dump_soc_ring_bp_stats(ab, buf + len, size - len);
if (len > size)
diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c
index be65d73b904b6..ddb434c513e0b 100644
--- a/drivers/net/wireless/ath/ath11k/dp.c
+++ b/drivers/net/wireless/ath/ath11k/dp.c
@@ -783,8 +783,14 @@ int ath11k_dp_service_srng(struct ath11k_base *ab,
for (i = 0; i < ab->hw_params.hal_params->num_tx_rings; i++) {
if (BIT(ab->hw_params.hal_params->tcl2wbm_rbm_map[i].wbm_ring_num) &
- ab->hw_params.ring_mask->tx[grp_id])
- ath11k_dp_tx_completion_handler(ab, i);
+ ab->hw_params.ring_mask->tx[grp_id]) {
+ work_done =
+ ath11k_dp_tx_completion_handler(ab, i, budget);
+ budget -= work_done;
+ tot_work_done += work_done;
+ if (budget <= 0)
+ goto done;
+ }
}
if (ab->hw_params.ring_mask->rx_err[grp_id]) {
diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 33425707c0842..a7b9bb295728b 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -1377,6 +1377,7 @@ ath11k_update_per_peer_tx_stats(struct ath11k *ar,
u16 rate = 0, succ_pkts = 0;
u32 tx_duration = 0;
u8 tid = HTT_PPDU_STATS_NON_QOS_TID;
+ u8 airtime_tid;
bool is_ampdu = false;
if (!(usr_stats->tlv_flags & BIT(HTT_PPDU_STATS_TAG_USR_RATE)))
@@ -1485,6 +1486,22 @@ ath11k_update_per_peer_tx_stats(struct ath11k *ar,
arsta->txrate.bw = ath11k_mac_bw_to_mac80211_bw(bw);
arsta->tx_duration += tx_duration;
+
+ /* The ack/BA status TLV names the TID only for a PPDU that drew a
+ * response; fall back to the completion and rate TLVs, then to BE.
+ */
+ airtime_tid = tid;
+ if (airtime_tid >= IEEE80211_NUM_TIDS &&
+ usr_stats->tlv_flags & BIT(HTT_PPDU_STATS_TAG_USR_COMPLTN_COMMON))
+ airtime_tid = usr_stats->cmpltn_cmn.tid_num;
+ if (airtime_tid >= IEEE80211_NUM_TIDS)
+ airtime_tid = user_rate->tid_num;
+ if (airtime_tid >= IEEE80211_NUM_TIDS)
+ airtime_tid = 0;
+
+ if (tx_duration)
+ ieee80211_sta_register_airtime(sta, airtime_tid, tx_duration, 0);
+
memcpy(&arsta->last_txrate, &arsta->txrate, sizeof(struct rate_info));
/* PPDU stats reported for mgmt packet doesn't have valid tx bytes.
@@ -5253,6 +5270,7 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,
struct sk_buff_head skb_list;
struct ath11k_peer *peer;
struct ath11k_sta *arsta;
+ struct ieee80211_sta *sta;
int num_buffs_reaped = 0;
u32 rx_buf_sz;
u16 log_type;
@@ -5307,6 +5325,7 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,
continue;
}
+ sta = NULL;
rcu_read_lock();
spin_lock_bh(&ab->base_lock);
peer = ath11k_peer_find_by_id(ab, ppdu_info->peer_id);
@@ -5320,12 +5339,25 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,
arsta = ath11k_sta_to_arsta(peer->sta);
ath11k_dp_rx_update_peer_stats(arsta, ppdu_info);
+ sta = peer->sta;
if (ath11k_debugfs_is_pktlog_peer_valid(ar, peer->addr))
trace_ath11k_htt_rxdesc(ar, skb->data, log_type, rx_buf_sz);
next_skb:
spin_unlock_bh(&ab->base_lock);
+
+ /* The airtime a station spends transmitting is taken from
+ * the others, so its deficit is charged for it too, with the
+ * duration the hardware measured for the whole PPDU, as on
+ * the transmit side. The TLV that names the TID is not in
+ * the default monitor status filter, so the charge goes to
+ * BE. Outside base_lock, which tx completion contends for;
+ * sta is held by the rcu read lock.
+ */
+ if (sta && ppdu_info->rx_duration)
+ ieee80211_sta_register_airtime(sta, 0, 0,
+ ppdu_info->rx_duration);
rcu_read_unlock();
dev_kfree_skb_any(skb);
diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c
index cac970c92806a..3997bd336942a 100644
--- a/drivers/net/wireless/ath/ath11k/dp_tx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_tx.c
@@ -305,9 +305,10 @@ static void ath11k_dp_tx_free_txbuf(struct ath11k_base *ab, u8 mac_id,
skb_cb = ATH11K_SKB_CB(msdu);
dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE);
- dev_kfree_skb_any(msdu);
ar = ab->pdevs[mac_id].ar;
+ ieee80211_free_txskb(ar->hw, msdu);
+
if (atomic_dec_and_test(&ar->dp.num_tx_pending))
wake_up(&ar->dp.tx_empty_waitq);
}
@@ -684,7 +685,8 @@ static inline void ath11k_dp_tx_status_parse(struct ath11k_base *ab,
ts->rate_stats = 0;
}
-void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)
+int ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id,
+ int budget)
{
struct ath11k *ar;
struct ath11k_dp *dp = &ab->dp;
@@ -693,9 +695,11 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)
struct sk_buff *msdu;
struct hal_tx_status ts = {};
struct dp_tx_ring *tx_ring = &dp->tx_ring[ring_id];
+ unsigned long push = 0;
+ int done = 0;
u32 *desc;
u32 msdu_id;
- u8 mac_id;
+ u8 mac_id, i;
spin_lock_bh(&status_ring->lock);
@@ -721,10 +725,13 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)
spin_unlock_bh(&status_ring->lock);
- while (ATH11K_TX_COMPL_NEXT(tx_ring->tx_status_tail) != tx_ring->tx_status_head) {
+ while (done < budget &&
+ ATH11K_TX_COMPL_NEXT(tx_ring->tx_status_tail) !=
+ tx_ring->tx_status_head) {
struct hal_wbm_release_ring *tx_status;
u32 desc_id;
+ done++;
tx_ring->tx_status_tail =
ATH11K_TX_COMPL_NEXT(tx_ring->tx_status_tail);
tx_status = &tx_ring->tx_status[tx_ring->tx_status_tail];
@@ -755,12 +762,25 @@ void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id)
spin_unlock(&tx_ring->tx_idr_lock);
ar = ab->pdevs[mac_id].ar;
+ __set_bit(mac_id * IEEE80211_NUM_ACS + skb_get_queue_mapping(msdu),
+ &push);
if (atomic_dec_and_test(&ar->dp.num_tx_pending))
wake_up(&ar->dp.tx_empty_waitq);
ath11k_dp_tx_complete_msdu(ar, msdu, &ts);
}
+
+ /* A completion returns the airtime the frame was charged, which is
+ * what an airtime-limited station in that access category is waiting
+ * on. The arrivals that would otherwise start a round are themselves
+ * queued behind that limit.
+ */
+ for_each_set_bit(i, &push, ab->num_radios * IEEE80211_NUM_ACS)
+ ath11k_mac_tx_push_pending(ab->pdevs[i / IEEE80211_NUM_ACS].ar,
+ i % IEEE80211_NUM_ACS);
+
+ return done;
}
int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,
diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.h b/drivers/net/wireless/ath/ath11k/dp_tx.h
index 9303b5ba6e012..b5296cda73e30 100644
--- a/drivers/net/wireless/ath/ath11k/dp_tx.h
+++ b/drivers/net/wireless/ath/ath11k/dp_tx.h
@@ -21,7 +21,8 @@ void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);
int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);
int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
struct ath11k_sta *arsta, struct sk_buff *skb);
-void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);
+int ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id,
+ int budget);
int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,
enum hal_reo_cmd_type type,
struct ath11k_hal_reo_cmd *cmd,
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 2d55cdc4d165d..12535926631b8 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -6499,9 +6499,9 @@ static int ath11k_mac_mgmt_tx(struct ath11k *ar, struct sk_buff *skb,
return 0;
}
-static void ath11k_mac_op_tx(struct ieee80211_hw *hw,
- struct ieee80211_tx_control *control,
- struct sk_buff *skb)
+static int ath11k_mac_tx(struct ieee80211_hw *hw,
+ struct ieee80211_tx_control *control,
+ struct sk_buff *skb)
{
struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb);
struct ath11k *ar = hw->priv;
@@ -6533,7 +6533,7 @@ static void ath11k_mac_op_tx(struct ieee80211_hw *hw,
ret);
ieee80211_free_txskb(ar->hw, skb);
}
- return;
+ return ret;
}
if (control->sta)
@@ -6544,6 +6544,69 @@ static void ath11k_mac_op_tx(struct ieee80211_hw *hw,
ath11k_warn(ar->ab, "failed to transmit frame %d\n", ret);
ieee80211_free_txskb(ar->hw, skb);
}
+
+ return ret;
+}
+
+static void ath11k_mac_op_tx(struct ieee80211_hw *hw,
+ struct ieee80211_tx_control *control,
+ struct sk_buff *skb)
+{
+ ath11k_mac_tx(hw, control, skb);
+}
+
+static int ath11k_mac_tx_push_txq(struct ath11k *ar, struct ieee80211_txq *txq)
+{
+ struct ieee80211_tx_control control = { .sta = txq->sta };
+ struct sk_buff *skb;
+ int ret;
+
+ /* ieee80211_tx_dequeue() applies the airtime queue limit itself, so a
+ * selection ends where the airtime queue limit binds, where the
+ * hardware queue is stopped, or when the queue empties, as the generic
+ * handler does today, and additionally when the hardware refuses a
+ * frame.
+ */
+ while ((skb = ieee80211_tx_dequeue(ar->hw, txq))) {
+ ret = ath11k_mac_tx(ar->hw, &control, skb);
+ if (unlikely(ret == -ENOSPC || ret == -ENOMEM))
+ return ret;
+ }
+
+ return 0;
+}
+
+static void ath11k_mac_schedule_txq(struct ath11k *ar, u8 ac)
+{
+ struct ieee80211_hw *hw = ar->hw;
+ struct ieee80211_txq *txq;
+
+ spin_lock_bh(&ar->txq_lock[ac]);
+
+ ieee80211_txq_schedule_start(hw, ac);
+ while ((txq = ieee80211_next_txq(hw, ac))) {
+ int ret = ath11k_mac_tx_push_txq(ar, txq);
+
+ ieee80211_return_txq(hw, txq, false);
+ if (unlikely(ret))
+ break;
+ }
+ ieee80211_txq_schedule_end(hw, ac);
+
+ spin_unlock_bh(&ar->txq_lock[ac]);
+}
+
+static void ath11k_mac_op_wake_tx_queue(struct ieee80211_hw *hw,
+ struct ieee80211_txq *txq)
+{
+ ath11k_mac_schedule_txq(hw->priv, txq->ac);
+}
+
+void ath11k_mac_tx_push_pending(struct ath11k *ar, u8 ac)
+{
+ rcu_read_lock();
+ ath11k_mac_schedule_txq(ar, ac);
+ rcu_read_unlock();
}
void ath11k_mac_drain_tx(struct ath11k *ar)
@@ -10067,7 +10130,7 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,
static const struct ieee80211_ops ath11k_ops = {
.tx = ath11k_mac_op_tx,
- .wake_tx_queue = ieee80211_handle_wake_tx_queue,
+ .wake_tx_queue = ath11k_mac_op_wake_tx_queue,
.start = ath11k_mac_op_start,
.stop = ath11k_mac_op_stop,
.reconfig_complete = ath11k_mac_op_reconfig_complete,
@@ -10592,6 +10655,9 @@ static int __ath11k_mac_register(struct ath11k *ar)
ar->hw->sta_data_size = sizeof(struct ath11k_sta);
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
+ wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_AQL);
+ wiphy_ext_feature_set(ar->hw->wiphy,
+ NL80211_EXT_FEATURE_AIRTIME_FAIRNESS);
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_STA_TX_PWR);
if (test_bit(WMI_TLV_SERVICE_BSS_COLOR_OFFLOAD,
ar->ab->wmi_ab.svc_map)) {
@@ -10754,7 +10820,7 @@ int ath11k_mac_allocate(struct ath11k_base *ab)
struct ath11k *ar;
struct ath11k_pdev *pdev;
int ret;
- int i;
+ int i, j;
if (test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))
return 0;
@@ -10788,6 +10854,9 @@ int ath11k_mac_allocate(struct ath11k_base *ab)
pdev->ar = ar;
spin_lock_init(&ar->data_lock);
+
+ for (j = 0; j < IEEE80211_NUM_ACS; j++)
+ spin_lock_init(&ar->txq_lock[j]);
INIT_LIST_HEAD(&ar->arvifs);
INIT_LIST_HEAD(&ar->ppdu_stats_info);
mutex_init(&ar->conf_mutex);
diff --git a/drivers/net/wireless/ath/ath11k/mac.h b/drivers/net/wireless/ath/ath11k/mac.h
index 59f83c7175fd1..d577c5ca249cc 100644
--- a/drivers/net/wireless/ath/ath11k/mac.h
+++ b/drivers/net/wireless/ath/ath11k/mac.h
@@ -161,6 +161,7 @@ struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id)
struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
void ath11k_mac_drain_tx(struct ath11k *ar);
+void ath11k_mac_tx_push_pending(struct ath11k *ar, u8 ac);
void ath11k_mac_peer_cleanup_all(struct ath11k *ar);
int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);
u8 ath11k_mac_bw_to_mac80211_bw(u8 bw);
|
| 3/2 | 2026/09/08 17:00 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 9103 output: 37 thoughts: 196 Thoughts: **My Initial Assessment and Troubleshooting Path** Okay, so the patch is nestled within `drivers/net/wireless/ath/ath11k/`. My first instinct is to immediately dive into what `ath11k` actually *is* and confirm its accessibility within my environment. Is this something I can readily test within an emulated setting, or am I dealing with a driver that intrinsically requires physical hardware, like a dedicated Wi-Fi card? I'm thinking, potentially, a Qualcomm Atheros 802.11ax card? Hold on a second. Before I get too far down that rabbit hole, I need to be more methodical. Let me double-check the instructions, particularly Section 2. I need to make sure this isn't something that's explicitly ruled out due to being structurally unreachable. The text points to vendor-specific hardware like PCIe switches, SmartNICs, or GPU drivers. I quickly need to ascertain if `ath11k` falls into *that* category. Alright, back to the main question: is `ath11k` a physical Wi-Fi card driver, specifically something like a Qualcomm Atheros 802.11ax? To determine this, I need to check the kernel itself. I'll need to use `grepper` or check the `Kconfig` files for ATH11K's configuration. This will give me a better understanding of what the driver enables and, consequently, its hardware dependency. |
| 4/2 | 2026/09/08 17:00 | tool | grepper |
0mArgs:{
"Expression": "config ATH11K",
"PathPrefix": "drivers/net/wireless/ath/ath11k"
}Results: {
"Output": "drivers/net/wireless/ath/ath11k/Kconfig-1-# SPDX-License-Identifier: BSD-3-Clause-Clear\ndrivers/net/wireless/ath/ath11k/Kconfig:2:config ATH11K\ndrivers/net/wireless/ath/ath11k/Kconfig-3-\ttristate \"Qualcomm 802.11ax chipset support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-12-\ndrivers/net/wireless/ath/ath11k/Kconfig:13:config ATH11K_AHB\ndrivers/net/wireless/ath/ath11k/Kconfig-14-\ttristate \"Atheros ath11k AHB support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-22-\ndrivers/net/wireless/ath/ath11k/Kconfig:23:config ATH11K_PCI\ndrivers/net/wireless/ath/ath11k/Kconfig-24-\ttristate \"Atheros ath11k PCI support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-32-\ndrivers/net/wireless/ath/ath11k/Kconfig:33:config ATH11K_DEBUG\ndrivers/net/wireless/ath/ath11k/Kconfig-34-\tbool \"QCA ath11k debugging\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-40-\ndrivers/net/wireless/ath/ath11k/Kconfig:41:config ATH11K_DEBUGFS\ndrivers/net/wireless/ath/ath11k/Kconfig-42-\tbool \"QCA ath11k debugfs support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-48-\ndrivers/net/wireless/ath/ath11k/Kconfig:49:config ATH11K_TRACING\ndrivers/net/wireless/ath/ath11k/Kconfig-50-\tbool \"ath11k tracing support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-54-\ndrivers/net/wireless/ath/ath11k/Kconfig:55:config ATH11K_SPECTRAL\ndrivers/net/wireless/ath/ath11k/Kconfig-56-\tbool \"QCA ath11k spectral scan support\"\n--\ndrivers/net/wireless/ath/ath11k/Kconfig-63-\ndrivers/net/wireless/ath/ath11k/Kconfig:64:config ATH11K_CFR\ndrivers/net/wireless/ath/ath11k/Kconfig-65-\tbool \"ath11k channel frequency response support\"\n"
} |
| 5/2 | 2026/09/08 17:00 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 10329 output: 34 thoughts: 272 Thoughts: **My Assessment of ath11k's Fuzzing Landscape** Okay, so let's break down the implications for fuzzing ath11k. My initial thought is that ath11k is all about Qualcomm's 802.11ax chipsets, specifically the PCI and AHB interfaces. I was wondering if it had some sort of virtual or USB support, maybe something like `mac80211_hwsim`, but it looks like that's a completely separate driver, completely distinct. And no USB support either, just AHB and PCI, so that's a dead end. Next, I thought about QEMU emulation. Is ath11k emulated at all in a virtual environment? Nope. That would make it much easier. So the million-dollar question: Can syzkaller fuzz this? Well, wait a minute, syzkaller typically hits mac80211 through either `mac80211_hwsim` or, more realistically, through USB WiFi dongles via something like raw-gadget or a USB fuzzer approach like with ath9k_htc, rtl8187, or something similar. But with ath11k, it's just AHB and PCI, like with the IPQ8074, QCA6390, or WCN6855. We're talking about direct access to Qualcomm's physical hardware or ASICs. That's a different ballgame. Okay, back to the drawing board. I need to make sure I haven't missed anything. I'm going to search through the ath11k codebase again, particularly for anything related to probes or bus implementations, just to be absolutely sure I'm not overlooking a USB or virtual component. |
| 6/2 | 2026/09/08 17:00 | tool | grepper |
0mArgs:{
"Expression": "module_",
"PathPrefix": "drivers/net/wireless/ath/ath11k"
}Results: {
"Output": "drivers/net/wireless/ath/ath11k/ahb.c=1343=static struct platform_driver ath11k_ahb_driver = {\n--\ndrivers/net/wireless/ath/ath11k/ahb.c-1352-\ndrivers/net/wireless/ath/ath11k/ahb.c:1353:module_platform_driver(ath11k_ahb_driver);\ndrivers/net/wireless/ath/ath11k/ahb.c-1354-\n--\ndrivers/net/wireless/ath/ath11k/core.c=23=EXPORT_SYMBOL(ath11k_debug_mask);\ndrivers/net/wireless/ath/ath11k/core.c:24:module_param_named(debug_mask, ath11k_debug_mask, uint, 0644);\ndrivers/net/wireless/ath/ath11k/core.c-25-MODULE_PARM_DESC(debug_mask, \"Debugging mask\");\n--\ndrivers/net/wireless/ath/ath11k/core.c=27=static unsigned int ath11k_crypto_mode;\ndrivers/net/wireless/ath/ath11k/core.c:28:module_param_named(crypto_mode, ath11k_crypto_mode, uint, 0644);\ndrivers/net/wireless/ath/ath11k/core.c-29-MODULE_PARM_DESC(crypto_mode, \"crypto mode: 0-hardware, 1-software\");\n--\ndrivers/net/wireless/ath/ath11k/core.c=32=unsigned int ath11k_frame_mode = ATH11K_HW_TXRX_NATIVE_WIFI;\ndrivers/net/wireless/ath/ath11k/core.c:33:module_param_named(frame_mode, ath11k_frame_mode, uint, 0644);\ndrivers/net/wireless/ath/ath11k/core.c-34-MODULE_PARM_DESC(frame_mode,\n--\ndrivers/net/wireless/ath/ath11k/core.c=37=bool ath11k_ftm_mode;\ndrivers/net/wireless/ath/ath11k/core.c:38:module_param_named(ftm_mode, ath11k_ftm_mode, bool, 0444);\ndrivers/net/wireless/ath/ath11k/core.c-39-MODULE_PARM_DESC(ftm_mode, \"Boots up in factory test mode\");\n--\ndrivers/net/wireless/ath/ath11k/core.h=632=struct ath11k_debug {\n--\ndrivers/net/wireless/ath/ath11k/core.h-642-\tu32 mem_offset;\ndrivers/net/wireless/ath/ath11k/core.h:643:\tu32 module_id_bitmap[MAX_MODULE_ID_BITMAP_WORDS];\ndrivers/net/wireless/ath/ath11k/core.h-644-\tstruct ath11k_debug_dbr *dbr_debug[WMI_DIRECT_BUF_MAX];\n--\ndrivers/net/wireless/ath/ath11k/dbring.c=155=int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar,\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-164-\ndrivers/net/wireless/ath/ath11k/dbring.c:165:\tparam.module_id\t\t= id;\ndrivers/net/wireless/ath/ath11k/dbring.c-166-\tparam.base_paddr_lo\t= lower_32_bits(ring-\u003erefill_srng.paddr);\n--\ndrivers/net/wireless/ath/ath11k/dbring.c=281=int ath11k_dbring_buffer_release_event(struct ath11k_base *ab,\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-291-\tu32 num_entry, num_buff_reaped;\ndrivers/net/wireless/ath/ath11k/dbring.c:292:\tu8 pdev_idx, rbm, module_id;\ndrivers/net/wireless/ath/ath11k/dbring.c-293-\tu32 cookie;\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-300-\tpdev_idx = ev-\u003efixed.pdev_id;\ndrivers/net/wireless/ath/ath11k/dbring.c:301:\tmodule_id = ev-\u003efixed.module_id;\ndrivers/net/wireless/ath/ath11k/dbring.c-302-\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-327-\ndrivers/net/wireless/ath/ath11k/dbring.c:328:\tswitch (ev-\u003efixed.module_id) {\ndrivers/net/wireless/ath/ath11k/dbring.c-329-\tcase WMI_DIRECT_BUF_SPECTRAL:\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-337-\t\tath11k_warn(ab, \"Recv dma buffer release ev on unsupp module %d\\n\",\ndrivers/net/wireless/ath/ath11k/dbring.c:338:\t\t\t ev-\u003efixed.module_id);\ndrivers/net/wireless/ath/ath11k/dbring.c-339-\t\tbreak;\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-376-\ndrivers/net/wireless/ath/ath11k/dbring.c:377:\t\tath11k_debugfs_add_dbring_entry(ar, module_id,\ndrivers/net/wireless/ath/ath11k/dbring.c-378-\t\t\t\t\t\tATH11K_DBG_DBR_EVENT_RX, srng);\n--\ndrivers/net/wireless/ath/ath11k/dbring.c-394-\t\tmemset(buff-\u003epayload, 0, size);\ndrivers/net/wireless/ath/ath11k/dbring.c:395:\t\tath11k_dbring_bufs_replenish(ar, ring, buff, module_id);\ndrivers/net/wireless/ath/ath11k/dbring.c-396-\t}\n--\ndrivers/net/wireless/ath/ath11k/debugfs.c=744=static ssize_t ath11k_write_fw_dbglog(struct file *file,\n--\ndrivers/net/wireless/ath/ath11k/debugfs.c-771-\t\t}\ndrivers/net/wireless/ath/ath11k/debugfs.c:772:\t\tar-\u003edebug.module_id_bitmap[mod_id_index] = upper_32_bits(value);\ndrivers/net/wireless/ath/ath11k/debugfs.c-773-\t\tif (!is_end) {\n--\ndrivers/net/wireless/ath/ath11k/debugfs.c-785-\tdbglog.value = lower_32_bits(value);\ndrivers/net/wireless/ath/ath11k/debugfs.c:786:\tret = ath11k_wmi_fw_dbglog_cfg(ar, ar-\u003edebug.module_id_bitmap, \u0026dbglog);\ndrivers/net/wireless/ath/ath11k/debugfs.c-787-\tif (ret) {\n--\ndrivers/net/wireless/ath/ath11k/debugfs.h=136=enum ath11k_dbg_aggr_mode {\n--\ndrivers/net/wireless/ath/ath11k/debugfs.h-141-\ndrivers/net/wireless/ath/ath11k/debugfs.h:142:enum fw_dbglog_wlan_module_id {\ndrivers/net/wireless/ath/ath11k/debugfs.h-143-\tWLAN_MODULE_ID_MIN = 0,\n--\ndrivers/net/wireless/ath/ath11k/debugfs.h=250=struct ath11k_fw_dbglog {\n--\ndrivers/net/wireless/ath/ath11k/debugfs.h-255-\t\t\tu16 log_level;\ndrivers/net/wireless/ath/ath11k/debugfs.h:256:\t\t\t/* module_id values are given in enum fw_dbglog_wlan_module_id */\ndrivers/net/wireless/ath/ath11k/debugfs.h:257:\t\t\tu16 module_id;\ndrivers/net/wireless/ath/ath11k/debugfs.h-258-\t\t};\ndrivers/net/wireless/ath/ath11k/debugfs.h:259:\t\t/* value is either log_level\u0026module_id/vdev_id/vdev_id_bitmap/log_level\ndrivers/net/wireless/ath/ath11k/debugfs.h-260-\t\t * according to param\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c=398=htt_print_hw_stats_wd_timeout_tlv(const void *tag_buf,\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-404-\tu32 buf_len = ATH11K_HTT_STATS_BUF_SIZE;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:405:\tchar hw_module_name[HTT_STATS_MAX_HW_MODULE_NAME_LEN + 1] = {};\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-406-\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-407-\tlen += scnprintf(buf + len, buf_len - len, \"HTT_HW_STATS_WD_TIMEOUT_TLV:\\n\");\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:408:\tmemcpy(hw_module_name, \u0026(htt_stats_buf-\u003ehw_module_name[0]),\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-409-\t HTT_STATS_MAX_HW_MODULE_NAME_LEN);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:410:\tlen += scnprintf(buf + len, buf_len - len, \"hw_module_name = %s\\n\",\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:411:\t\t\t hw_module_name);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-412-\tlen += scnprintf(buf + len, buf_len - len, \"count = %u\\n\",\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c=510=static inline void htt_print_tx_tid_stats_tlv(const void *tag_buf,\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-549-\t\t\t htt_stats_buf-\u003elast_scheduled_tsmp);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:550:\tlen += scnprintf(buf + len, buf_len - len, \"pause_module_id = %u\\n\",\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:551:\t\t\t htt_stats_buf-\u003epause_module_id);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:552:\tlen += scnprintf(buf + len, buf_len - len, \"block_module_id = %u\\n\\n\",\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:553:\t\t\t htt_stats_buf-\u003eblock_module_id);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-554-\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c=563=static inline void htt_print_tx_tid_stats_v1_tlv(const void *tag_buf,\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-602-\t\t\t htt_stats_buf-\u003elast_scheduled_tsmp);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:603:\tlen += scnprintf(buf + len, buf_len - len, \"pause_module_id = %u\\n\",\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:604:\t\t\t htt_stats_buf-\u003epause_module_id);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:605:\tlen += scnprintf(buf + len, buf_len - len, \"block_module_id = %u\\n\",\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c:606:\t\t\t htt_stats_buf-\u003eblock_module_id);\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.c-607-\tlen += scnprintf(buf + len, buf_len - len, \"allow_n_flags = 0x%x\\n\",\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h=276=struct htt_hw_stats_wd_timeout_tlv {\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-277-\t/* Stored as little endian */\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h:278:\tu8 hw_module_name[HTT_STATS_MAX_HW_MODULE_NAME_LEN];\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-279-\tu32 count;\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h=338=struct htt_tx_tid_stats_tlv {\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-351-\tu32 last_scheduled_tsmp;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h:352:\tu32 pause_module_id;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h:353:\tu32 block_module_id;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-354-\tu32 tid_tx_airtime;\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h=363=struct htt_tx_tid_stats_v1_tlv {\n--\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-376-\tu32 last_scheduled_tsmp;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h:377:\tu32 pause_module_id;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h:378:\tu32 block_module_id;\ndrivers/net/wireless/ath/ath11k/debugfs_htt_stats.h-379-\tu32 tid_tx_airtime;\n--\ndrivers/net/wireless/ath/ath11k/pci.c=1307=static int ath11k_pci_init(void)\n--\ndrivers/net/wireless/ath/ath11k/pci.c-1317-}\ndrivers/net/wireless/ath/ath11k/pci.c:1318:module_init(ath11k_pci_init);\ndrivers/net/wireless/ath/ath11k/pci.c-1319-\ndrivers/net/wireless/ath/ath11k/pci.c=1320=static void ath11k_pci_exit(void)\n--\ndrivers/net/wireless/ath/ath11k/pci.c-1324-\ndrivers/net/wireless/ath/ath11k/pci.c:1325:module_exit(ath11k_pci_exit);\ndrivers/net/wireless/ath/ath11k/pci.c-1326-\n--\ndrivers/net/wireless/ath/ath11k/qmi.c=28=EXPORT_SYMBOL(ath11k_cold_boot_cal);\ndrivers/net/wireless/ath/ath11k/qmi.c:29:module_param_named(cold_boot_cal, ath11k_cold_boot_cal, bool, 0644);\ndrivers/net/wireless/ath/ath11k/qmi.c-30-MODULE_PARM_DESC(cold_boot_cal,\n--\ndrivers/net/wireless/ath/ath11k/wmi.c=4574=int ath11k_wmi_pdev_dma_ring_cfg(struct ath11k *ar,\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-4589-\tcmd-\u003epdev_id\t\t= param-\u003epdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.c:4590:\tcmd-\u003emodule_id\t\t= param-\u003emodule_id;\ndrivers/net/wireless/ath/ath11k/wmi.c-4591-\tcmd-\u003ebase_paddr_lo\t= param-\u003ebase_paddr_lo;\n--\ndrivers/net/wireless/ath/ath11k/wmi.c=4984=static int ath11k_wmi_tlv_dma_ring_caps(struct ath11k_base *ab,\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-5016-\tfor (i = 0; i \u003c dma_caps_parse-\u003en_dma_ring_caps; i++) {\ndrivers/net/wireless/ath/ath11k/wmi.c:5017:\t\tif (dma_caps[i].module_id \u003e= WMI_DIRECT_BUF_MAX) {\ndrivers/net/wireless/ath/ath11k/wmi.c:5018:\t\t\tath11k_warn(ab, \"Invalid module id %d\\n\", dma_caps[i].module_id);\ndrivers/net/wireless/ath/ath11k/wmi.c-5019-\t\t\tret = -EINVAL;\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-5022-\ndrivers/net/wireless/ath/ath11k/wmi.c:5023:\t\tdir_buff_caps[i].id = dma_caps[i].module_id;\ndrivers/net/wireless/ath/ath11k/wmi.c-5024-\t\tdir_buff_caps[i].pdev_id = DP_HW2SW_MACID(dma_caps[i].pdev_id);\n--\ndrivers/net/wireless/ath/ath11k/wmi.c=9101=ath11k_wmi_send_unit_test_cmd(struct ath11k *ar,\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-9126-\tcmd-\u003evdev_id = ut_cmd.vdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.c:9127:\tcmd-\u003emodule_id = ut_cmd.module_id;\ndrivers/net/wireless/ath/ath11k/wmi.c-9128-\tcmd-\u003enum_args = ut_cmd.num_args;\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-9152-\t\t \"cmd unit test module %d vdev %d n_args %d token %d\\n\",\ndrivers/net/wireless/ath/ath11k/wmi.c:9153:\t\t cmd-\u003emodule_id, cmd-\u003evdev_id, cmd-\u003enum_args,\ndrivers/net/wireless/ath/ath11k/wmi.c-9154-\t\t cmd-\u003ediag_token);\n--\ndrivers/net/wireless/ath/ath11k/wmi.c=9159=int ath11k_wmi_simulate_radar(struct ath11k *ar)\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-9184-\twmi_ut.vdev_id = arvif-\u003evdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.c:9185:\twmi_ut.module_id = DFS_UNIT_TEST_MODULE;\ndrivers/net/wireless/ath/ath11k/wmi.c-9186-\twmi_ut.num_args = DFS_MAX_TEST_ARGS;\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-9193-\ndrivers/net/wireless/ath/ath11k/wmi.c:9194:int ath11k_wmi_fw_dbglog_cfg(struct ath11k *ar, u32 *module_id_bitmap,\ndrivers/net/wireless/ath/ath11k/wmi.c-9195-\t\t\t struct ath11k_fw_dbglog *dbglog)\n--\ndrivers/net/wireless/ath/ath11k/wmi.c-9226-\t\tcmd-\u003evalue = dbglog-\u003evalue;\ndrivers/net/wireless/ath/ath11k/wmi.c:9227:\t\tmemcpy(tlv-\u003evalue, module_id_bitmap,\ndrivers/net/wireless/ath/ath11k/wmi.c-9228-\t\t MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32));\ndrivers/net/wireless/ath/ath11k/wmi.c-9229-\t\t/* clear current config to be used for next user config */\ndrivers/net/wireless/ath/ath11k/wmi.c:9230:\t\tmemset(module_id_bitmap, 0,\ndrivers/net/wireless/ath/ath11k/wmi.c-9231-\t\t MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32));\n--\ndrivers/net/wireless/ath/ath11k/wmi.h=2575=struct wmi_dma_ring_capabilities {\n--\ndrivers/net/wireless/ath/ath11k/wmi.h-2577-\tu32 pdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.h:2578:\tu32 module_id;\ndrivers/net/wireless/ath/ath11k/wmi.h-2579-\tu32 min_elem;\n--\ndrivers/net/wireless/ath/ath11k/wmi.h=4101=struct wmi_unit_test_cmd {\n--\ndrivers/net/wireless/ath/ath11k/wmi.h-4103-\tu32 vdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.h:4104:\tu32 module_id;\ndrivers/net/wireless/ath/ath11k/wmi.h-4105-\tu32 num_args;\n--\ndrivers/net/wireless/ath/ath11k/wmi.h=5668=struct ath11k_wmi_pdev_dma_ring_cfg_req_cmd {\n--\ndrivers/net/wireless/ath/ath11k/wmi.h-5670-\tu32 pdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.h:5671:\tu32 module_id;\t\t/* see enum wmi_direct_buffer_module */\ndrivers/net/wireless/ath/ath11k/wmi.h-5672-\tu32 base_paddr_lo;\n--\ndrivers/net/wireless/ath/ath11k/wmi.h=5690=struct ath11k_wmi_dma_buf_release_fixed_param {\ndrivers/net/wireless/ath/ath11k/wmi.h-5691-\tu32 pdev_id;\ndrivers/net/wireless/ath/ath11k/wmi.h:5692:\tu32 module_id;\ndrivers/net/wireless/ath/ath11k/wmi.h-5693-\tu32 num_buf_release_entry;\n--\ndrivers/net/wireless/ath/ath11k/wmi.h=6594=int ath11k_wmi_scan_prob_req_oui(struct ath11k *ar,\ndrivers/net/wireless/ath/ath11k/wmi.h-6595-\t\t\t\t const u8 mac_addr[ETH_ALEN]);\ndrivers/net/wireless/ath/ath11k/wmi.h:6596:int ath11k_wmi_fw_dbglog_cfg(struct ath11k *ar, u32 *module_id_bitmap,\ndrivers/net/wireless/ath/ath11k/wmi.h-6597-\t\t\t struct ath11k_fw_dbglog *dbglog);\n"
} |
| 7/2 | 2026/09/08 17:00 | llm | patch-evaluator |
0mModel:gemini-3.7-flash Args: null Results: null Tokens: input: 17549 output: 97 thoughts: 583 Thoughts: **My Assessment of `ath11k` Fuzzing Feasibility** Okay, let's break this down. My initial thought is to investigate the potential for fuzzing the `ath11k` driver. My understanding is that `ath11k` is a Qualcomm Atheros 802.11ax driver, and it's pretty specific – it only plays nicely with PCI and AHB hardware platforms (think IPQ8074, QCA6390, those types). It *doesn't* support USB. This means that, unlike some other drivers, I can't just easily spin up a standard QEMU or GCE environment and expect to hit the code. No software mocks or emulations exist in those standard environments for this driver. It needs special Qualcomm hardware, ASICs, and firmware to even probe and initialize properly. I'm also keeping in mind the structural unreachability guidelines. Specifically, the bit about vendor-specific hardware like PCIe switches, SmartNICs, or GPU drivers – the ones that demand real ASIC/PCIe cards and aren't emulated in the standard QEMU setup. This seems highly relevant here. Looking at the patch itself, all the modified files are neatly tucked under `drivers/net/wireless/ath/ath11k/`: `core.h`, `debugfs.c`, `dp.c`, `dp_rx.c`, `dp_tx.c`, `dp_tx.h`, `mac.c`, and `mac.h`. None of these are related to virtual device drivers, like mac80211_hwsim or virtio-net, or even a USB driver that could *potentially* be faked using a syzkaller USB raw gadget. Therefore, my conclusion is that the code in this patch is structurally unreachable in standard virtualized fuzzing setups like QEMU and GCE. I'd set `WorthFuzzing = false`, the `FocusSymbols` to empty, and `EnableConfigs` to empty. My reasoning is that the `ath11k` driver relies on proprietary Qualcomm hardware (ASICs and firmware) not emulated in the usual fuzzing environments, thus making the code unreachable. Just to be absolutely sure, I've checked that the diff only touches files within the `ath11k` directory. Everything looks good, so I'm going to proceed to call `set-results`. |
| 8/2 | 2026/09/08 17:00 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver (Qualcomm 802.11ax wireless driver), which operates exclusively on physical PCIe/AHB hardware devices not emulated in standard virtualized fuzzing environments (QEMU/GCE). As such, the modified code is structurally unreachable for syzkaller.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies the ath11k driver (Qualcomm 802.11ax wireless driver), which operates exclusively on physical PCIe/AHB hardware devices not emulated in standard virtualized fuzzing environments (QEMU/GCE). As such, the modified code is structurally unreachable for syzkaller.",
"WorthFuzzing": false
} |
| 9/1 | 2026/09/08 17:00 | 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) |
|---|