| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/07/16 00:47 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": [
"MAC80211"
],
"FocusSymbols": [
"ieee80211_rx_mgmt_deauth_ibss",
"ieee80211_rx_mgmt_deauth"
],
"Reasoning": "The patch fixes an out-of-bounds read by moving the access to the deauth reason code after the frame length check. This is a functional change in the mac80211 stack, which is reachable via mac80211_hwsim.",
"WorthFuzzing": true
} |
| 1/1 | 2026/07/16 00:47 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 1a9158beb3c30b9344b28fefca1637fa7b96e59a\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Thu Jul 16 00:47:36 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c\nindex d0fd6054f18200..9915dd5c36df91 100644\n--- a/net/mac80211/ibss.c\n+++ b/net/mac80211/ibss.c\n@@ -881,11 +881,13 @@ static void ieee80211_rx_mgmt_deauth_ibss(struct ieee80211_sub_if_data *sdata,\n \t\t\t\t\t struct ieee80211_mgmt *mgmt,\n \t\t\t\t\t size_t len)\n {\n-\tu16 reason = le16_to_cpu(mgmt-\u003eu.deauth.reason_code);\n+\tu16 reason;\n \n \tif (len \u003c IEEE80211_DEAUTH_FRAME_LEN)\n \t\treturn;\n \n+\treason = le16_to_cpu(mgmt-\u003eu.deauth.reason_code);\n+\n \tibss_dbg(sdata, \"RX DeAuth SA=%pM DA=%pM\\n\", mgmt-\u003esa, mgmt-\u003eda);\n \tibss_dbg(sdata, \"\\tBSSID=%pM (reason: %d)\\n\", mgmt-\u003ebssid, reason);\n \tsta_info_destroy_addr(sdata, mgmt-\u003esa);\ndiff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c\nindex 9e92337bb6f9e5..f180fcd477d084 100644\n--- a/net/mac80211/mlme.c\n+++ b/net/mac80211/mlme.c\n@@ -5641,13 +5641,15 @@ static void ieee80211_rx_mgmt_deauth(struct ieee80211_sub_if_data *sdata,\n \t\t\t\t struct ieee80211_mgmt *mgmt, size_t len)\n {\n \tstruct ieee80211_if_managed *ifmgd = \u0026sdata-\u003eu.mgd;\n-\tu16 reason_code = le16_to_cpu(mgmt-\u003eu.deauth.reason_code);\n+\tu16 reason_code;\n \n \tlockdep_assert_wiphy(sdata-\u003elocal-\u003ehw.wiphy);\n \n-\tif (len \u003c 24 + 2)\n+\tif (len \u003c IEEE80211_DEAUTH_FRAME_LEN)\n \t\treturn;\n \n+\treason_code = le16_to_cpu(mgmt-\u003eu.deauth.reason_code);\n+\n \tif (!ether_addr_equal(mgmt-\u003ebssid, mgmt-\u003esa)) {\n \t\tieee80211_tdls_handle_disconnect(sdata, mgmt-\u003esa, reason_code);\n \t\treturn;\n"
} |
| 2/1 | 2026/07/16 00:47 | agent | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: {
"EnableConfigs": [
"MAC80211"
],
"FocusSymbols": [
"ieee80211_rx_mgmt_deauth_ibss",
"ieee80211_rx_mgmt_deauth"
],
"Reasoning": "The patch fixes an out-of-bounds read by moving the access to the deauth reason code after the frame length check. This is a functional change in the mac80211 stack, which is reachable via mac80211_hwsim.",
"WorthFuzzing": true
}Instruction: You are an expert Linux kernel maintainer. Your job is to review a provided patch series and determine if it makes functional changes to the kernel that should be fuzzed. IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in your workspace. Do NOT rely on your internal knowledge of the kernel. You must actively use your code access tools to examine the actual source code and confirm any assumptions. Return WorthFuzzing=false if the patch only contains: - Modifications to Documentation/, Kconfig files, or code comments. - Purely decorative changes, such as logging (e.g., pr_err, printk) or tracepoints. - Changes to numeric constants or macros that do not functionally alter execution flow. - Code paths that are impossible to reach in virtualized environments like GCE or QEMU, even when utilizing software-emulated hardware (e.g., usb gadget, mac80211_hwsim). 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. 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. Do not list too generic configs (we already have them enabled). Only list those that specifically cover the modified code. 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 1a9158beb3c30b9344b28fefca1637fa7b96e59a
Author: syz-cluster <triage@syzkaller.com>
Date: Thu Jul 16 00:47:36 2026 +0000
syz-cluster: applied patch under review
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index d0fd6054f18200..9915dd5c36df91 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -881,11 +881,13 @@ static void ieee80211_rx_mgmt_deauth_ibss(struct ieee80211_sub_if_data *sdata,
struct ieee80211_mgmt *mgmt,
size_t len)
{
- u16 reason = le16_to_cpu(mgmt->u.deauth.reason_code);
+ u16 reason;
if (len < IEEE80211_DEAUTH_FRAME_LEN)
return;
+ reason = le16_to_cpu(mgmt->u.deauth.reason_code);
+
ibss_dbg(sdata, "RX DeAuth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da);
ibss_dbg(sdata, "\tBSSID=%pM (reason: %d)\n", mgmt->bssid, reason);
sta_info_destroy_addr(sdata, mgmt->sa);
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 9e92337bb6f9e5..f180fcd477d084 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -5641,13 +5641,15 @@ static void ieee80211_rx_mgmt_deauth(struct ieee80211_sub_if_data *sdata,
struct ieee80211_mgmt *mgmt, size_t len)
{
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
- u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code);
+ u16 reason_code;
lockdep_assert_wiphy(sdata->local->hw.wiphy);
- if (len < 24 + 2)
+ if (len < IEEE80211_DEAUTH_FRAME_LEN)
return;
+ reason_code = le16_to_cpu(mgmt->u.deauth.reason_code);
+
if (!ether_addr_equal(mgmt->bssid, mgmt->sa)) {
ieee80211_tdls_handle_disconnect(sdata, mgmt->sa, reason_code);
return;
|
| 3/2 | 2026/07/16 00:47 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 2393 output: 43 thoughts: 486 Thoughts: **Analyzing a Critical Wi-Fi Deauthentication Vulnerability Fix** Okay, so I'm looking at this patch and immediately, the core of the issue becomes clear: we're dealing with an out-of-bounds read vulnerability in the `net/mac80211` subsystem, specifically within `ibss.c` and `mlme.c`. The core problem seems to be an incorrect length check before accessing the `reason_code` field within a deauthentication frame. The fix is straightforward, and elegant really. The developer has correctly identified that the `le16_to_cpu(mgmt->u.deauth.reason_code)` call, which converts the byte order of the reason code, *should* be performed *after* the length check (`len < IEEE80211_DEAUTH_FRAME_LEN`). By moving the assignment of the `reason` or `reason_code` variable after the length validation, we prevent the code from attempting to read past the end of the received buffer if the frame is malformed or truncated. Specifically, in `ieee80211_rx_mgmt_deauth_ibss` and `ieee80211_rx_mgmt_deauth`, the patch properly delays the call to `le16_to_cpu()` for the reason code until *after* the length check has verified that the necessary bytes are present in the frame. This simple reordering effectively eliminates the potential for a read past the end of the packet, which could lead to crashing the system and a denial of service. The fact that the affected functions, `ieee80211_rx_mgmt_deauth_ibss` and `ieee80211_rx_mgmt_deauth`, are reachable via `mac80211_hwsim` means this vulnerability could, theoretically, be triggered in a test environment, even if the user isn't using an actual Wi-Fi adapter. I would need to check which configs enable this code. I should probably dig into the `net/mac80211/Kconfig` to confirm the required configurations. I'm expecting `MAC80211` to be required, but it's always good to be thorough. I'll also double-check the definitions of the two functions and their calling context to make certain my understanding is complete. |
| 4/2 | 2026/07/16 00:47 | tool | grepper |
0mArgs:{
"Expression": "ieee80211_rx_mgmt_deauth",
"PathPrefix": "net/mac80211/"
}Results: {
"Output": "net/mac80211/ibss.c=864=ieee80211_rx_mgmt_spectrum_mgmt(struct ieee80211_sub_if_data *sdata,\n--\nnet/mac80211/ibss.c-879-\nnet/mac80211/ibss.c:880:static void ieee80211_rx_mgmt_deauth_ibss(struct ieee80211_sub_if_data *sdata,\nnet/mac80211/ibss.c-881-\t\t\t\t\t struct ieee80211_mgmt *mgmt,\n--\nnet/mac80211/ibss.c=1552=void ieee80211_ibss_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,\n--\nnet/mac80211/ibss.c-1580-\tcase IEEE80211_STYPE_DEAUTH:\nnet/mac80211/ibss.c:1581:\t\tieee80211_rx_mgmt_deauth_ibss(sdata, mgmt, skb-\u003elen);\nnet/mac80211/ibss.c-1582-\t\tbreak;\n--\nnet/mac80211/mlme.c=5586=const char *ieee80211_get_reason_code_string(u16 reason_code)\n--\nnet/mac80211/mlme.c-5639-\nnet/mac80211/mlme.c:5640:static void ieee80211_rx_mgmt_deauth(struct ieee80211_sub_if_data *sdata,\nnet/mac80211/mlme.c-5641-\t\t\t\t struct ieee80211_mgmt *mgmt, size_t len)\n--\nnet/mac80211/mlme.c=11760=void ieee80211_sta_rx_queued_frame(struct ieee80211_sub_if_data *sdata,\n--\nnet/mac80211/mlme.c-11800-\tcase IEEE80211_STYPE_DEAUTH:\nnet/mac80211/mlme.c:11801:\t\tieee80211_rx_mgmt_deauth(sdata, mgmt, skb-\u003elen);\nnet/mac80211/mlme.c-11802-\t\tbreak;\n"
} |
| 5/2 | 2026/07/16 00:47 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 3624 output: 36 thoughts: 159 Thoughts: **Analyzing a Recent Patch** Okay, so I've been looking over this patch. It's addressing an out-of-bounds read vulnerability, specifically within the `ieee80211_rx_mgmt_deauth_ibss` and `ieee80211_rx_mgmt_deauth` functions. The core of the fix is straightforward: the access to `mgmt->u.deauth.reason_code` is being moved *after* a length check. This is a classic example of defensive programming, ensuring we don't try to read data beyond the bounds of the provided management frame. It's a functional change, a bug fix really, which is good. Nothing complex, just making sure we're validating the incoming data properly. Both functions seem to be involved in processing deauthentication management frames, which makes perfect sense. My next step would be to see if this `MAC80211` config has any related configurations or dependencies that need to be considered. |
| 6/2 | 2026/07/16 00:48 | tool | grepper |
0mArgs:{
"Expression": "config MAC80211",
"PathPrefix": "net/mac80211/"
}Results: {
"Output": "net/mac80211/Kconfig-1-# SPDX-License-Identifier: GPL-2.0-only\nnet/mac80211/Kconfig:2:config MAC80211\nnet/mac80211/Kconfig-3-\ttristate \"Generic IEEE 802.11 Networking Stack (mac80211)\"\n--\nnet/mac80211/Kconfig=19=if MAC80211 != n\nnet/mac80211/Kconfig-20-\nnet/mac80211/Kconfig:21:config MAC80211_HAS_RC\nnet/mac80211/Kconfig-22-\tbool\nnet/mac80211/Kconfig-23-\nnet/mac80211/Kconfig:24:config MAC80211_RC_MINSTREL\nnet/mac80211/Kconfig-25-\tbool \"Minstrel\" if EXPERT\n--\nnet/mac80211/Kconfig=31=choice\n--\nnet/mac80211/Kconfig-40-\nnet/mac80211/Kconfig:41:config MAC80211_RC_DEFAULT_MINSTREL\nnet/mac80211/Kconfig-42-\tbool \"Minstrel\"\n--\nnet/mac80211/Kconfig=48=endchoice\nnet/mac80211/Kconfig-49-\nnet/mac80211/Kconfig:50:config MAC80211_RC_DEFAULT\nnet/mac80211/Kconfig-51-\tstring\n--\nnet/mac80211/Kconfig=57=comment \"Some wireless drivers require a rate control algorithm\"\n--\nnet/mac80211/Kconfig-59-\nnet/mac80211/Kconfig:60:config MAC80211_KUNIT_TEST\nnet/mac80211/Kconfig-61-\ttristate \"KUnit tests for mac80211\" if !KUNIT_ALL_TESTS\n--\nnet/mac80211/Kconfig-69-\nnet/mac80211/Kconfig:70:config MAC80211_MESH\nnet/mac80211/Kconfig-71-\tbool \"Enable mac80211 mesh networking support\"\n--\nnet/mac80211/Kconfig-78-\nnet/mac80211/Kconfig:79:config MAC80211_LEDS\nnet/mac80211/Kconfig-80-\tbool \"Enable LED triggers\"\n--\nnet/mac80211/Kconfig-87-\nnet/mac80211/Kconfig:88:config MAC80211_DEBUGFS\nnet/mac80211/Kconfig-89-\tbool \"Export mac80211 internals in DebugFS\"\n--\nnet/mac80211/Kconfig-96-\nnet/mac80211/Kconfig:97:config MAC80211_MESSAGE_TRACING\nnet/mac80211/Kconfig-98-\tbool \"Trace all mac80211 debug messages\"\n--\nnet/mac80211/Kconfig-109-\nnet/mac80211/Kconfig:110:menuconfig MAC80211_DEBUG_MENU\nnet/mac80211/Kconfig-111-\tbool \"Select mac80211 debugging features\"\n--\nnet/mac80211/Kconfig-115-\nnet/mac80211/Kconfig:116:config MAC80211_NOINLINE\nnet/mac80211/Kconfig-117-\tbool \"Do not inline TX/RX handlers\"\n--\nnet/mac80211/Kconfig-131-\nnet/mac80211/Kconfig:132:config MAC80211_VERBOSE_DEBUG\nnet/mac80211/Kconfig-133-\tbool \"Verbose debugging output\"\n--\nnet/mac80211/Kconfig-142-\nnet/mac80211/Kconfig:143:config MAC80211_MLME_DEBUG\nnet/mac80211/Kconfig-144-\tbool \"Verbose managed MLME output\"\n--\nnet/mac80211/Kconfig-153-\nnet/mac80211/Kconfig:154:config MAC80211_STA_DEBUG\nnet/mac80211/Kconfig-155-\tbool \"Verbose station debugging\"\n--\nnet/mac80211/Kconfig-162-\nnet/mac80211/Kconfig:163:config MAC80211_HT_DEBUG\nnet/mac80211/Kconfig-164-\tbool \"Verbose HT debugging\"\n--\nnet/mac80211/Kconfig-174-\nnet/mac80211/Kconfig:175:config MAC80211_OCB_DEBUG\nnet/mac80211/Kconfig-176-\tbool \"Verbose OCB debugging\"\n--\nnet/mac80211/Kconfig-185-\nnet/mac80211/Kconfig:186:config MAC80211_IBSS_DEBUG\nnet/mac80211/Kconfig-187-\tbool \"Verbose IBSS debugging\"\n--\nnet/mac80211/Kconfig-196-\nnet/mac80211/Kconfig:197:config MAC80211_PS_DEBUG\nnet/mac80211/Kconfig-198-\tbool \"Verbose powersave mode debugging\"\n--\nnet/mac80211/Kconfig-208-\nnet/mac80211/Kconfig:209:config MAC80211_MPL_DEBUG\nnet/mac80211/Kconfig-210-\tbool \"Verbose mesh peer link debugging\"\n--\nnet/mac80211/Kconfig-221-\nnet/mac80211/Kconfig:222:config MAC80211_MPATH_DEBUG\nnet/mac80211/Kconfig-223-\tbool \"Verbose mesh path debugging\"\n--\nnet/mac80211/Kconfig-234-\nnet/mac80211/Kconfig:235:config MAC80211_MHWMP_DEBUG\nnet/mac80211/Kconfig-236-\tbool \"Verbose mesh HWMP routing debugging\"\n--\nnet/mac80211/Kconfig-247-\nnet/mac80211/Kconfig:248:config MAC80211_MESH_SYNC_DEBUG\nnet/mac80211/Kconfig-249-\tbool \"Verbose mesh synchronization debugging\"\n--\nnet/mac80211/Kconfig-258-\nnet/mac80211/Kconfig:259:config MAC80211_MESH_CSA_DEBUG\nnet/mac80211/Kconfig-260-\tbool \"Verbose mesh channel switch debugging\"\n--\nnet/mac80211/Kconfig-269-\nnet/mac80211/Kconfig:270:config MAC80211_MESH_PS_DEBUG\nnet/mac80211/Kconfig-271-\tbool \"Verbose mesh powersave debugging\"\n--\nnet/mac80211/Kconfig-280-\nnet/mac80211/Kconfig:281:config MAC80211_TDLS_DEBUG\nnet/mac80211/Kconfig-282-\tbool \"Verbose TDLS debugging\"\n--\nnet/mac80211/Kconfig-292-\nnet/mac80211/Kconfig:293:config MAC80211_DEBUG_COUNTERS\nnet/mac80211/Kconfig-294-\tbool \"Extra statistics for TX/RX debugging\"\n--\nnet/mac80211/Kconfig-307-\nnet/mac80211/Kconfig:308:config MAC80211_STA_HASH_MAX_SIZE\nnet/mac80211/Kconfig-309-\tint \"Station hash table maximum size\" if MAC80211_DEBUG_MENU\n"
} |
| 7/2 | 2026/07/16 00:48 | llm | patch-evaluator |
0mModel:gemini-3.1-pro-preview Args: null Results: null Tokens: input: 6055 output: 130 thoughts: 614 Thoughts: **Analyzing a Mac80211 Out-of-Bounds Read Fix** Okay, so here's what I've got: a patch that touches `ieee80211_rx_mgmt_deauth_ibss` in `ibss.c` and `ieee80211_rx_mgmt_deauth` in `mlme.c`, both within the `net/mac80211` subsystem. The key change is moving the assignment of the `reason` variable, extracted from `mgmt->u.deauth.reason_code`, *after* the length check (`len < IEEE80211_DEAUTH_FRAME_LEN`). This is a classic out-of-bounds read fix, plain and simple. We're making sure we have enough data in the frame before accessing the reason code. My initial assessment is that this looks like a worthwhile target for fuzzing. It's a functional change directly in the core logic of `mac80211`, a crucial part of the kernel's wireless networking stack. The fact that `mac80211_hwsim` offers a way to reach this code makes it even more compelling. I need to confirm the configuration requirements. Looks like `MAC80211` is the only necessary config. `ieee80211_rx_mgmt_deauth_ibss` is specifically within the IBSS context, but it doesn't appear to have any additional specific config flags. And `ieee80211_rx_mgmt_deauth` also appears to depend solely on `MAC80211`. I think I'm ready to call this. The fix prevents an out-of-bounds read, and it's within a critical area of the wireless networking stack. So I'll set the results as: * **WorthFuzzing: true** * **FocusSymbols:** \["ieee80211\_rx\_mgmt\_deauth\_ibss", "ieee80211\_rx\_mgmt\_deauth"] * **EnableConfigs:** \["MAC80211"] * **Reasoning:** "The patch fixes an out-of-bounds read by moving the access to the deauth reason code after the frame length check. This is a functional change in the mac80211 stack, which is reachable via mac80211\_hwsim." Now, let's see what we can find. |
| 8/2 | 2026/07/16 00:48 | tool | set-results |
0mArgs:{
"EnableConfigs": [
"MAC80211"
],
"FocusSymbols": [
"ieee80211_rx_mgmt_deauth_ibss",
"ieee80211_rx_mgmt_deauth"
],
"Reasoning": "The patch fixes an out-of-bounds read by moving the access to the deauth reason code after the frame length check. This is a functional change in the mac80211 stack, which is reachable via mac80211_hwsim.",
"WorthFuzzing": true
}Results: {
"EnableConfigs": [
"MAC80211"
],
"FocusSymbols": [
"ieee80211_rx_mgmt_deauth_ibss",
"ieee80211_rx_mgmt_deauth"
],
"Reasoning": "The patch fixes an out-of-bounds read by moving the access to the deauth reason code after the frame length check. This is a functional change in the mac80211 stack, which is reachable via mac80211_hwsim.",
"WorthFuzzing": true
} |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|