| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/10/03 13:47 | flow | patch-triage |
1mArgs:null Results: {
"EnableConfigs": [
"MAC80211",
"CFG80211",
"MAC80211_HWSIM"
],
"FocusSymbols": [
"ieee80211_uninit",
"ieee80211_unlist_sdata",
"ieee80211_teardown_sdata"
],
"KMSANReasoning": "The patch modifies interface teardown synchronization in mac80211 (`ieee80211_uninit` and `ieee80211_unlist_sdata`), acquiring `wiphy_lock` around `ieee80211_teardown_sdata` if the interface was successfully unlisted from the local list.\n\nThe changes involve only locking, control flow around synchronization, and interface unlisting. There are no allocations, no reads or writes of uninitialized memory, no user-space copies/info-leaks, and no alterations to data buffer boundaries or lengths. Any potential issues introduced by this patch (such as locking inversions, deadlocks, or race conditions) are within the scope of LOCKDEP and KASAN, not KMSAN. Therefore, a dedicated KMSAN fuzzing session is not warranted.",
"NeedsKMSAN": false,
"Reasoning": "The patch modifies mac80211 network interface teardown logic (ndo_uninit) to acquire wiphy_lock during ieee80211_teardown_sdata() when the interface is unlisted outside mac80211 (such as during network namespace destruction or netdev unregistration). This changes locking semantics and hierarchy under RTNL in a core wireless networking path that is directly reachable and fuzzable via netlink (nl80211) and virtual devices (mac80211_hwsim).",
"WorthFuzzing": true
} |
| 1/1 | 2026/10/03 13:47 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit c21b2dc9e843fb33d1cadde08dd40cd1fb4e884a\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Sat Oct 3 13:47:35 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/net/mac80211/iface.c b/net/mac80211/iface.c\nindex 5f0c482bd4a5a..175965f4b53cf 100644\n--- a/net/mac80211/iface.c\n+++ b/net/mac80211/iface.c\n@@ -931,7 +931,7 @@ static void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)\n * core when cfg80211 couldn't move it out of a network namespace that's being\n * destroyed. Drop it from the interface list either way.\n */\n-static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n+static bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n {\n \tstruct ieee80211_local *local = sdata-\u003elocal;\n \tstruct ieee80211_sub_if_data *iter;\n@@ -943,16 +943,25 @@ static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n \t\t\tcontinue;\n \t\tguard(mutex)(\u0026local-\u003eiflist_mtx);\n \t\tlist_del_rcu(\u0026sdata-\u003elist);\n-\t\treturn;\n+\t\treturn true;\n \t}\n+\n+\treturn false;\n }\n \n static void ieee80211_uninit(struct net_device *dev)\n {\n \tstruct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);\n+\tstruct wiphy *wiphy = sdata-\u003elocal-\u003ehw.wiphy;\n+\tbool unlisted = ieee80211_unlist_sdata(sdata);\n+\n+\tif (unlisted)\n+\t\twiphy_lock(wiphy);\n \n-\tieee80211_unlist_sdata(sdata);\n \tieee80211_teardown_sdata(sdata);\n+\n+\tif (unlisted)\n+\t\twiphy_unlock(wiphy);\n }\n \n static int ieee80211_netdev_setup_tc(struct net_device *dev,\n"
} |
| 2/1 | 2026/10/03 13:47 | agent | patch-evaluator |
1mModel:core Args: null Results: {
"EnableConfigs": [
"MAC80211",
"CFG80211",
"MAC80211_HWSIM"
],
"FocusSymbols": [
"ieee80211_uninit",
"ieee80211_unlist_sdata",
"ieee80211_teardown_sdata"
],
"Reasoning": "The patch modifies mac80211 network interface teardown logic (ndo_uninit) to acquire wiphy_lock during ieee80211_teardown_sdata() when the interface is unlisted outside mac80211 (such as during network namespace destruction or netdev unregistration). This changes locking semantics and hierarchy under RTNL in a core wireless networking path that is directly reachable and fuzzable via netlink (nl80211) and virtual devices (mac80211_hwsim).",
"WorthFuzzing": true
}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 c21b2dc9e843fb33d1cadde08dd40cd1fb4e884a
Author: syz-cluster <triage@syzkaller.com>
Date: Sat Oct 3 13:47:35 2026 +0000
syz-cluster: applied patch under review
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 5f0c482bd4a5a..175965f4b53cf 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -931,7 +931,7 @@ static void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)
* core when cfg80211 couldn't move it out of a network namespace that's being
* destroyed. Drop it from the interface list either way.
*/
-static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
+static bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
{
struct ieee80211_local *local = sdata->local;
struct ieee80211_sub_if_data *iter;
@@ -943,16 +943,25 @@ static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
continue;
guard(mutex)(&local->iflist_mtx);
list_del_rcu(&sdata->list);
- return;
+ return true;
}
+
+ return false;
}
static void ieee80211_uninit(struct net_device *dev)
{
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
+ struct wiphy *wiphy = sdata->local->hw.wiphy;
+ bool unlisted = ieee80211_unlist_sdata(sdata);
+
+ if (unlisted)
+ wiphy_lock(wiphy);
- ieee80211_unlist_sdata(sdata);
ieee80211_teardown_sdata(sdata);
+
+ if (unlisted)
+ wiphy_unlock(wiphy);
}
static int ieee80211_netdev_setup_tc(struct net_device *dev,
|
| 3/2 | 2026/10/03 13:47 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 3293 output: 35 thoughts: 388 Thoughts: **Analyzing the Patch and Context**
Okay, let's break this down. First, the patch touches `net/mac80211/iface.c`, specifically `ieee80211_unlist_sdata` and `ieee80211_uninit`. Looking at `ieee80211_uninit`, I see this:
```c
static void ieee80211_uninit(struct net_device *dev)
{
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
struct wiphy *wiphy = sdata->local->hw.wiphy;
bool unlisted = ieee80211_unlist_sdata(sdata);
if (unlisted)
wiphy_lock(wiphy);
ieee80211_teardown_sdata(sdata);
if (unlisted)
wiphy_unlock(wiphy);
}
```
Now, before I dig too deep into the code logic, I need to understand the environment this code operates in. I need to quickly assess if the `mac80211` subsystem is even reachable in standard virtualized environments like QEMU or syzkaller. Good, yes, it seems mac80211 interfaces are indeed created and controlled via cfg80211 and nl80211 netlink. I know that `mac80211_hwsim` is a virtual radio simulator, `virt_wifi`, and there are likely more. Syzkaller heavily fuzzes mac80211 and nl80211, meaning this code will get attention. Now, let me verify that `mac80211_hwsim` and `cfg80211` are behaving as expected and review `net/mac80211/iface.c` and Kconfig using the appropriate tools.
|
| 4/2 | 2026/10/03 13:47 | 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"
} |
| 5/2 | 2026/10/03 13:47 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 6348 output: 41 thoughts: 68 Thoughts: Here's my thought process, as it stands: **Navigating the Codebase** Okay, so I need to find the relevant git commit message. My first instinct is to use `git log` or somehow access git info directly. But, hang on, I need to check the tools available. `git log` isn't a directly executable command in this environment, so I'll need to figure out how to access that information through the provided tools. Perhaps grepping, searching the code, or reading files will provide the answer. Alright, I remember that I'm supposed to investigate `net/mac80211/iface.c` file around line 931. Let's start by trying to read that file. I'll need to use the available tools to find that specific location in the code. |
| 6/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "net/mac80211/iface.c",
"FirstLine": 920,
"LineCount": 60
}Results: {
"Contents": " 920:\t\tif (sdata-\u003evif.type == NL80211_IFTYPE_NAN) {\n 921:\t\t\tstruct ieee80211_nan_sched_cfg *nan_sched =\n 922:\t\t\t\t\u0026sdata-\u003evif.cfg.nan_sched;\n 923:\t\n 924:\t\t\tfor (int i = 0; i \u003c ARRAY_SIZE(nan_sched-\u003echannels); i++)\n 925:\t\t\t\tWARN_ON(nan_sched-\u003echannels[i].chanreq.oper.chan);\n 926:\t\t}\n 927:\t}\n 928:\t\n 929:\t/*\n 930:\t * The netdev can be unregistered without mac80211 doing it, e.g. by the netdev\n 931:\t * core when cfg80211 couldn't move it out of a network namespace that's being\n 932:\t * destroyed. Drop it from the interface list either way.\n 933:\t */\n 934:\tstatic bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n 935:\t{\n 936:\t\tstruct ieee80211_local *local = sdata-\u003elocal;\n 937:\t\tstruct ieee80211_sub_if_data *iter;\n 938:\t\n 939:\t\tASSERT_RTNL();\n 940:\t\n 941:\t\tlist_for_each_entry(iter, \u0026local-\u003einterfaces, list) {\n 942:\t\t\tif (iter != sdata)\n 943:\t\t\t\tcontinue;\n 944:\t\t\tguard(mutex)(\u0026local-\u003eiflist_mtx);\n 945:\t\t\tlist_del_rcu(\u0026sdata-\u003elist);\n 946:\t\t\treturn true;\n 947:\t\t}\n 948:\t\n 949:\t\treturn false;\n 950:\t}\n 951:\t\n 952:\tstatic void ieee80211_uninit(struct net_device *dev)\n 953:\t{\n 954:\t\tstruct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);\n 955:\t\tstruct wiphy *wiphy = sdata-\u003elocal-\u003ehw.wiphy;\n 956:\t\tbool unlisted = ieee80211_unlist_sdata(sdata);\n 957:\t\n 958:\t\tif (unlisted)\n 959:\t\t\twiphy_lock(wiphy);\n 960:\t\n 961:\t\tieee80211_teardown_sdata(sdata);\n 962:\t\n 963:\t\tif (unlisted)\n 964:\t\t\twiphy_unlock(wiphy);\n 965:\t}\n 966:\t\n 967:\tstatic int ieee80211_netdev_setup_tc(struct net_device *dev,\n 968:\t\t\t\t\t enum tc_setup_type type, void *type_data)\n 969:\t{\n 970:\t\tstruct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);\n 971:\t\tstruct ieee80211_local *local = sdata-\u003elocal;\n 972:\t\n 973:\t\tif (sdata-\u003evif.type == NL80211_IFTYPE_AP_VLAN)\n 974:\t\t\treturn -EOPNOTSUPP;\n 975:\t\n 976:\t\treturn drv_net_setup_tc(local, sdata, dev, type, type_data);\n 977:\t}\n 978:\t\n 979:\tstatic const struct net_device_ops ieee80211_dataif_ops = {\n"
} |
| 7/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 7670 output: 41 thoughts: 59 Thoughts: Okay, let's dive into this. Here's my thought process on dissecting the code, presented from my perspective as an expert: **Investigating the Data Structure Teardown** Right, so I need to understand the lifecycle of this data structure, particularly how it gets cleaned up. I want to start by looking at `ieee80211_teardown_sdata`. My initial focus is on the *teardown* function itself. What specific actions are performed during the deallocation or cleanup phase? Are resources being freed, data being nulled, locks being released? That's the baseline. Then, the critical piece: where else are similar operations handled? I need to track down all calls to `ieee80211_unlist_sdata` and `ieee80211_uninit` functions. This helps me build a complete picture of the potential ways this data structure is invalidated or prepared for disposal. Are there multiple paths to cleanup? Are there any shared resources? Knowing the entry points to the unlinking and de-initialization is essential for identifying potential race conditions or resource leaks. Finally, I'll pay close attention to the locking that's happening around these calls. It's imperative I understand how concurrency is managed during these lifecycle transitions. Are there mutexes or spinlocks in play? What's the lock hierarchy? I need to confirm whether the locking protects the critical sections around the data structure and associated resources, especially during the teardown and unlinking processes. A solid understanding of the locking is paramount for ensuring thread safety and preventing data corruption. |
| 8/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "net/mac80211/iface.c",
"FirstLine": 890,
"LineCount": 45
}Results: {
"Contents": " 890:\t\t}\n 891:\t\n 892:\t\tspin_lock_bh(\u0026local-\u003efilter_lock);\n 893:\t\t__hw_addr_sync(\u0026local-\u003emc_list, \u0026dev-\u003emc, dev-\u003eaddr_len);\n 894:\t\tspin_unlock_bh(\u0026local-\u003efilter_lock);\n 895:\t\twiphy_work_queue(local-\u003ehw.wiphy, \u0026local-\u003ereconfig_filter);\n 896:\t}\n 897:\t\n 898:\t/*\n 899:\t * Called when the netdev is removed or, by the code below, before\n 900:\t * the interface type changes.\n 901:\t */\n 902:\tstatic void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)\n 903:\t{\n 904:\t\tif (WARN_ON(!list_empty(\u0026sdata-\u003ework.entry)))\n 905:\t\t\twiphy_work_cancel(sdata-\u003elocal-\u003ehw.wiphy, \u0026sdata-\u003ework);\n 906:\t\n 907:\t\t/* free extra data */\n 908:\t\tieee80211_free_keys(sdata, false);\n 909:\t\n 910:\t\tieee80211_debugfs_remove_netdev(sdata);\n 911:\t\n 912:\t\tieee80211_destroy_frag_cache(\u0026sdata-\u003efrags);\n 913:\t\n 914:\t\tif (ieee80211_vif_is_mesh(\u0026sdata-\u003evif))\n 915:\t\t\tieee80211_mesh_teardown_sdata(sdata);\n 916:\t\n 917:\t\tieee80211_vif_clear_links(sdata);\n 918:\t\tieee80211_link_stop(\u0026sdata-\u003edeflink);\n 919:\t\n 920:\t\tif (sdata-\u003evif.type == NL80211_IFTYPE_NAN) {\n 921:\t\t\tstruct ieee80211_nan_sched_cfg *nan_sched =\n 922:\t\t\t\t\u0026sdata-\u003evif.cfg.nan_sched;\n 923:\t\n 924:\t\t\tfor (int i = 0; i \u003c ARRAY_SIZE(nan_sched-\u003echannels); i++)\n 925:\t\t\t\tWARN_ON(nan_sched-\u003echannels[i].chanreq.oper.chan);\n 926:\t\t}\n 927:\t}\n 928:\t\n 929:\t/*\n 930:\t * The netdev can be unregistered without mac80211 doing it, e.g. by the netdev\n 931:\t * core when cfg80211 couldn't move it out of a network namespace that's being\n 932:\t * destroyed. Drop it from the interface list either way.\n 933:\t */\n 934:\tstatic bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n"
} |
| 9/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 8943 output: 42 thoughts: 37 Thoughts: Okay, here's my summary, taking the role of the expert: **Investigating Wireless Driver Initialization and Teardown** Alright, let's dive in. I need to understand the lifecycle of this wireless driver a bit better. My immediate focus is on the initialization and teardown phases. Specifically, I want to trace the execution path for `ieee80211_uninit` and `ieee80211_teardown_sdata`. I'm thinking I'll start by finding all the places in the codebase where these two functions are invoked. Knowing where they're called will give me a solid understanding of how the driver is brought up and taken down, and the contexts in which these operations happen. This could uncover some subtle dependencies or potential race conditions, or maybe reveal some interesting design choices. Let's see what the code tells us. |
| 10/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "ieee80211_teardown_sdata",
"PathPrefix": "net/mac80211"
}Results: {
"Output": "net/mac80211/iface.c=875=static void ieee80211_set_multicast_list(struct net_device *dev)\n--\nnet/mac80211/iface.c-901- */\nnet/mac80211/iface.c:902:static void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)\nnet/mac80211/iface.c-903-{\n--\nnet/mac80211/iface.c=952=static void ieee80211_uninit(struct net_device *dev)\n--\nnet/mac80211/iface.c-960-\nnet/mac80211/iface.c:961:\tieee80211_teardown_sdata(sdata);\nnet/mac80211/iface.c-962-\n--\nnet/mac80211/iface.c=2029=static int ieee80211_runtime_change_iftype(struct ieee80211_sub_if_data *sdata,\n--\nnet/mac80211/iface.c-2095-\nnet/mac80211/iface.c:2096:\tieee80211_teardown_sdata(sdata);\nnet/mac80211/iface.c-2097-\n--\nnet/mac80211/iface.c=2121=int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata,\n--\nnet/mac80211/iface.c-2136-\t\t/* Purge and reset type-dependent state. */\nnet/mac80211/iface.c:2137:\t\tieee80211_teardown_sdata(sdata);\nnet/mac80211/iface.c-2138-\t\tieee80211_setup_sdata(sdata, type);\n--\nnet/mac80211/iface.c=2463=void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata)\n--\nnet/mac80211/iface.c-2483-\tif (!sdata-\u003edev) {\nnet/mac80211/iface.c:2484:\t\tieee80211_teardown_sdata(sdata);\nnet/mac80211/iface.c-2485-\t\tkfree(sdata);\n"
} |
| 11/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 9932 output: 38 thoughts: 20 Thoughts: Here's my thought process, as if I were analyzing that code: **Finding the Usage of `ieee80211_uninit`** Alright, time to dive into this. The task is to understand where `ieee80211_uninit` is being utilized within this system. My immediate approach is to locate all instances where this function is called. This is a crucial step for understanding the lifecycle and dependencies of this particular IEEE 802.11 uninitialization function. I'll need to identify the code paths that trigger it and, from there, infer the context in which a wireless interface is shut down, reset, or otherwise deconfigured. I'll need to determine what are the conditions that would cause an interface to be uninitialized. Knowing the calling functions should quickly help clarify its purpose within the broader driver or stack framework. From that, I can determine implications for device states. |
| 12/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "ieee80211_uninit",
"PathPrefix": "net/mac80211"
}Results: {
"Output": "net/mac80211/iface.c=934=static bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n--\nnet/mac80211/iface.c-951-\nnet/mac80211/iface.c:952:static void ieee80211_uninit(struct net_device *dev)\nnet/mac80211/iface.c-953-{\n--\nnet/mac80211/iface.c=979=static const struct net_device_ops ieee80211_dataif_ops = {\n--\nnet/mac80211/iface.c-981-\t.ndo_stop\t\t= ieee80211_stop,\nnet/mac80211/iface.c:982:\t.ndo_uninit\t\t= ieee80211_uninit,\nnet/mac80211/iface.c-983-\t.ndo_start_xmit\t\t= ieee80211_subif_start_xmit,\n--\nnet/mac80211/iface.c=1017=static const struct net_device_ops ieee80211_monitorif_ops = {\n--\nnet/mac80211/iface.c-1019-\t.ndo_stop\t\t= ieee80211_stop,\nnet/mac80211/iface.c:1020:\t.ndo_uninit\t\t= ieee80211_uninit,\nnet/mac80211/iface.c-1021-\t.ndo_start_xmit\t\t= ieee80211_monitor_start_xmit,\n--\nnet/mac80211/iface.c=1092=static const struct net_device_ops ieee80211_dataif_8023_ops = {\n--\nnet/mac80211/iface.c-1094-\t.ndo_stop\t\t= ieee80211_stop,\nnet/mac80211/iface.c:1095:\t.ndo_uninit\t\t= ieee80211_uninit,\nnet/mac80211/iface.c-1096-\t.ndo_start_xmit\t\t= ieee80211_subif_start_xmit_8023,\n"
} |
| 13/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 10837 output: 42 thoughts: 297 Thoughts: **Analyzing the mac80211 Net Device Uninitialization Process** Okay, so I'm looking at how mac80211 handles the uninitialization of a network device, specifically the `ieee80211_uninit` function, which is registered as the `ndo_uninit` callback. Makes sense, that's the standard way to clean up when a net device goes away, whether it's unregistered directly or as part of a network namespace destruction. Right, I see a change here. The `ieee80211_unlist_sdata` function, which deals with removing a soft device (`sdata`) from the list of interfaces, now returns a boolean. If it actually *did* remove the `sdata` from `local->interfaces`, it returns `true`. Otherwise, it's `false`. That's a clean and efficient way to signal that a change was made. Now, here's where it gets interesting. If `unlisted` is `true` – meaning the `sdata` was indeed removed from the list by `ieee80211_unlist_sdata` – we then acquire the `wiphy` lock, tear down the `sdata` with `ieee80211_teardown_sdata`, and release the lock. But hang on… why the conditional locking? Why only lock if `unlisted` is true? Ah, I get it. The comment clarifies that it's because mac80211 *itself* might have removed the interface already (like through a call to `ieee80211_if_remove`). In that case, the `wiphy` lock might *already* be held or `unlist_sdata` could have already been called. I need to take a quick look at `ieee80211_if_remove` in `net/mac80211/iface.c` to confirm that that's the case. It's important to understand the internal control flow of the driver. |
| 14/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "net/mac80211/iface.c",
"FirstLine": 2460,
"LineCount": 40
}Results: {
"Contents": "2460:\t\treturn 0;\n2461:\t}\n2462:\t\n2463:\tvoid ieee80211_if_remove(struct ieee80211_sub_if_data *sdata)\n2464:\t{\n2465:\t\tASSERT_RTNL();\n2466:\t\tlockdep_assert_wiphy(sdata-\u003elocal-\u003ehw.wiphy);\n2467:\t\n2468:\t\tmutex_lock(\u0026sdata-\u003elocal-\u003eiflist_mtx);\n2469:\t\tlist_del_rcu(\u0026sdata-\u003elist);\n2470:\t\tmutex_unlock(\u0026sdata-\u003elocal-\u003eiflist_mtx);\n2471:\t\n2472:\t\tif (sdata-\u003evif.txq)\n2473:\t\t\tieee80211_txq_purge(sdata-\u003elocal, to_txq_info(sdata-\u003evif.txq));\n2474:\t\n2475:\t\tif (sdata-\u003evif.txq_mgmt)\n2476:\t\t\tieee80211_txq_purge(sdata-\u003elocal,\n2477:\t\t\t\t\t to_txq_info(sdata-\u003evif.txq_mgmt));\n2478:\t\n2479:\t\tsynchronize_rcu();\n2480:\t\n2481:\t\tcfg80211_unregister_wdev(\u0026sdata-\u003ewdev);\n2482:\t\n2483:\t\tif (!sdata-\u003edev) {\n2484:\t\t\tieee80211_teardown_sdata(sdata);\n2485:\t\t\tkfree(sdata);\n2486:\t\t}\n2487:\t}\n2488:\t\n2489:\tvoid ieee80211_sdata_stop(struct ieee80211_sub_if_data *sdata)\n2490:\t{\n2491:\t\tif (WARN_ON_ONCE(!test_bit(SDATA_STATE_RUNNING, \u0026sdata-\u003estate)))\n2492:\t\t\treturn;\n2493:\t\tieee80211_do_stop(sdata, true);\n2494:\t}\n2495:\t\n2496:\tvoid ieee80211_remove_interfaces(struct ieee80211_local *local)\n2497:\t{\n2498:\t\tstruct ieee80211_sub_if_data *sdata, *tmp;\n2499:\t\tLIST_HEAD(unreg_list);\n"
} |
| 15/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 12309 output: 25 thoughts: 631 Thoughts: **Analyzing a Subtle Locking Issue in the mac80211 Driver** Okay, let's break this down. I'm looking at `ieee80211_if_remove`, focusing specifically on how it interacts with the unregistration of a network device (`netdev`). The core of the problem lies in the differing code paths depending on how the netdev is unregistered. First, I see the typical flow: `lockdep_assert_wiphy`, `cfg80211_unregister_wdev`. This `cfg80211` call is what triggers the unregistration of the netdev, and eventually, the call to `ieee80211_uninit` via `dev->netdev_ops->ndo_uninit`. In this *normal* case, `ieee80211_if_remove` has *already* removed the relevant `sdata` structure from the `local->interfaces` list using a mutex. This is key. Therefore, when `ieee80211_uninit` is called, `sdata` is *no longer* in `local->interfaces`. Consequently, when `ieee80211_unlist_sdata` is called, it *won't* find the `sdata` and will return `false`. That false return is *critical* because it prevents the acquisition of the `wiphy_lock` within that function. And `ieee80211_if_remove` has already taken that lock. However, the trouble starts when the netdev is unregistered *without* `cfg80211` involvement, perhaps due to a netns exit or unregistration directly by the netdev core. In these cases, the `sdata` *remains* in the `local->interfaces` list. Critically, and this is where the bug surfaces, `ieee80211_teardown_sdata` is called, and *previously* did *not* acquire the `wiphy_lock`. `ieee80211_teardown_sdata` then calls other functions that *do* require or are protected by `wiphy_lock`. This is a classic race condition waiting to happen. The change addresses this by making `ieee80211_unlist_sdata` return `true` in these scenarios, and *then* acquire the `wiphy_lock` during `ieee80211_teardown_sdata`. So, this change fundamentally alters the locking behavior in a critical path: the unregistration of the netdev, especially during a netns exit. This is a very core change. The question is, how reachable is this bug? Extremely. mac80211 is a standard part of the Linux kernel. And it is also used by `mac80211_hwsim` in QEMU/syzkaller. This is definitely reachable. I need to confirm the presence of `mac80211` and `mac80211_hwsim`. Let's check `drivers/net/wireless/virtual/mac80211_hwsim.c` or similar and see what's what. |
| 16/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "config MAC80211_HWSIM"
}Results: {
"Output": "drivers/net/wireless/virtual/Kconfig:1:config MAC80211_HWSIM\ndrivers/net/wireless/virtual/Kconfig-2-\ttristate \"Simulated radio testing tool for mac80211\"\n"
} |
| 17/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 13740 output: 36 thoughts: 52 Thoughts: Okay, let's dive into this. **Examining Configuration Requirements for Virtual Wireless Devices** Alright, so I need to figure out the specific configuration dependencies for this virtual wireless driver. My first step is to check the relevant Kconfig files. I'll start with `net/mac80211/Kconfig` – that's the core 802.11 stack, and any configuration options there will likely have a ripple effect. Then, I'll definitely need to read `drivers/net/wireless/virtual/Kconfig` itself; that's where the driver-specific requirements will be defined. It's the most direct source. |
| 18/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/virtual/Kconfig",
"FirstLine": 1,
"LineCount": 30
}Results: {
"Contents": " 1:\tconfig MAC80211_HWSIM\n 2:\t\ttristate \"Simulated radio testing tool for mac80211\"\n 3:\t\tdepends on MAC80211\n 4:\t\thelp\n 5:\t\t This driver is a developer testing tool that can be used to test\n 6:\t\t IEEE 802.11 networking stack (mac80211) functionality. This is not\n 7:\t\t needed for normal wireless LAN usage and is only for testing. See\n 8:\t\t Documentation/networking/mac80211_hwsim for more information on how\n 9:\t\t to use this tool.\n 10:\t\n 11:\t\t To compile this driver as a module, choose M here: the module will be\n 12:\t\t called mac80211_hwsim. If unsure, say N.\n 13:\t\n 14:\tconfig VIRT_WIFI\n 15:\t\ttristate \"Wifi wrapper for ethernet drivers\"\n 16:\t\tdepends on CFG80211\n 17:\t\thelp\n 18:\t\t This option adds support for ethernet connections to appear as if they\n 19:\t\t are wifi connections through a special rtnetlink device.\n 20:\t\n"
} |
| 19/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 14294 output: 37 thoughts: 19 Thoughts: Here's a summary of my thought process: **Kconfig Dependencies - Investigating the net/mac80211 Area** Okay, first things first, I need to understand what's going on with the `net/mac80211` configuration. I need to make sure I don't miss anything that's relevant to my current task. The smart approach is to start by looking closely at the `Kconfig` file in that directory, `net/mac80211/Kconfig`. I'm going to run a dependency check immediately. That's the best way to get a quick overview of the conditions and relationships at play in this configuration space. I'm going to quickly drill down on its dependencies. I'll need to know which features are enabled or disabled based on various kernel configurations. This dependency analysis is essential to understand the overall picture. |
| 20/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "net/mac80211/Kconfig",
"FirstLine": 1,
"LineCount": 25
}Results: {
"Contents": " 1:\t# SPDX-License-Identifier: GPL-2.0-only\n 2:\tconfig MAC80211\n 3:\t\ttristate \"Generic IEEE 802.11 Networking Stack (mac80211)\"\n 4:\t\tdepends on CFG80211\n 5:\t\tselect CRYPTO\n 6:\t\tselect CRYPTO_LIB_AES_CBC_MACS\n 7:\t\tselect CRYPTO_LIB_ARC4\n 8:\t\tselect CRYPTO_AES\n 9:\t\tselect CRYPTO_CCM\n 10:\t\tselect CRYPTO_GCM\n 11:\t\tselect CRC32\n 12:\t\thelp\n 13:\t\t This option enables the hardware independent IEEE 802.11\n 14:\t\t networking stack.\n 15:\t\n 16:\tcomment \"CFG80211 needs to be enabled for MAC80211\"\n 17:\t\tdepends on CFG80211=n\n 18:\t\n 19:\tif MAC80211 != n\n 20:\t\n 21:\tconfig MAC80211_HAS_RC\n 22:\t\tbool\n 23:\t\n 24:\tconfig MAC80211_RC_MINSTREL\n 25:\t\tbool \"Minstrel\" if EXPERT\n"
} |
| 21/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 14884 output: 31 thoughts: 23 Thoughts: Okay, here's my take on those thoughts, tailored for an expert audience: **Diving into the `CFG80211` Landscape** Right, let's start with a systematic approach. I need to get a clear picture of the current state of `CFG80211` within the kernel's network stack. To do that, the logical first step is to scrutinize its dependencies, which means I should be looking closely at `net/wireless/Kconfig`. This is the single source of truth, if you will. I need to quickly assess how it links with other wireless subsystems, and identify any external dependencies that should inform my understanding of the system, maybe there is something of note. From here I can start making my mental map of how it fits into the broader picture. |
| 22/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "config CFG80211",
"PathPrefix": "net/wireless"
}Results: {
"Output": "net/wireless/Kconfig=14=config WEXT_PRIV\n--\nnet/wireless/Kconfig-16-\nnet/wireless/Kconfig:17:config CFG80211\nnet/wireless/Kconfig-18-\ttristate \"cfg80211 - wireless configuration API\"\n--\nnet/wireless/Kconfig=38=config NL80211_TESTMODE\n--\nnet/wireless/Kconfig-51-\nnet/wireless/Kconfig:52:config CFG80211_DEVELOPER_WARNINGS\nnet/wireless/Kconfig-53-\tbool \"enable developer warnings\"\n--\nnet/wireless/Kconfig-67-\nnet/wireless/Kconfig:68:config CFG80211_CERTIFICATION_ONUS\nnet/wireless/Kconfig-69-\tbool \"cfg80211 certification onus\"\n--\nnet/wireless/Kconfig-88-\nnet/wireless/Kconfig:89:config CFG80211_REQUIRE_SIGNED_REGDB\nnet/wireless/Kconfig-90-\tbool \"require regdb signature\" if CFG80211_CERTIFICATION_ONUS\n--\nnet/wireless/Kconfig-98-\nnet/wireless/Kconfig:99:config CFG80211_USE_KERNEL_REGDB_KEYS\nnet/wireless/Kconfig-100-\tbool \"allow regdb keys shipped with the kernel\" if CFG80211_CERTIFICATION_ONUS\n--\nnet/wireless/Kconfig-110-\nnet/wireless/Kconfig:111:config CFG80211_EXTRA_REGDB_KEYDIR\nnet/wireless/Kconfig-112-\tstring \"additional regdb key directory\" if CFG80211_CERTIFICATION_ONUS\n--\nnet/wireless/Kconfig-121-\nnet/wireless/Kconfig:122:config CFG80211_REG_CELLULAR_HINTS\nnet/wireless/Kconfig-123-\tbool \"cfg80211 regulatory support for cellular base station hints\"\n--\nnet/wireless/Kconfig-134-\nnet/wireless/Kconfig:135:config CFG80211_REG_RELAX_NO_IR\nnet/wireless/Kconfig-136-\tbool \"cfg80211 support for NO_IR relaxation\"\n--\nnet/wireless/Kconfig-158-\nnet/wireless/Kconfig:159:config CFG80211_DEFAULT_PS\nnet/wireless/Kconfig-160-\tbool \"enable powersave by default\"\n--\nnet/wireless/Kconfig-168-\nnet/wireless/Kconfig:169:config CFG80211_DEBUGFS\nnet/wireless/Kconfig-170-\tbool \"cfg80211 DebugFS entries\"\n--\nnet/wireless/Kconfig-176-\nnet/wireless/Kconfig:177:config CFG80211_CRDA_SUPPORT\nnet/wireless/Kconfig-178-\tbool \"support CRDA\" if EXPERT\n--\nnet/wireless/Kconfig-186-\nnet/wireless/Kconfig:187:config CFG80211_WEXT\nnet/wireless/Kconfig-188-\tbool \"cfg80211 wireless extensions compatibility\"\n--\nnet/wireless/Kconfig-193-\nnet/wireless/Kconfig:194:config CFG80211_KUNIT_TEST\nnet/wireless/Kconfig-195-\ttristate \"KUnit tests for cfg80211\" if !KUNIT_ALL_TESTS\n"
} |
| 23/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 16027 output: 32 thoughts: 23 Thoughts: Here's my thought process, as requested: **Navigating the Kconfig Labyrinth** Okay, so I need to figure out the dependencies for something wireless-related. My initial thought is to go straight to `net/wireless/Kconfig` – that's the canonical place for these sorts of configurations. Now, where to begin? Line 17... that feels like a good starting point. I want to zero in on the `depends on` statements. That's the key to understanding which features are contingent on others. Let's see what secrets are lurking there. This will probably provide the crucial clue that I'm looking for. |
| 24/2 | 2026/10/03 13:48 | tool | read-file |
0mArgs:{
"File": "net/wireless/Kconfig",
"FirstLine": 1,
"LineCount": 30
}Results: {
"Contents": " 1:\t# SPDX-License-Identifier: GPL-2.0-only\n 2:\tconfig WIRELESS_EXT\n 3:\t\tbool\n 4:\t\n 5:\tconfig WEXT_CORE\n 6:\t\tdef_bool y\n 7:\t\tdepends on CFG80211_WEXT || WIRELESS_EXT\n 8:\t\n 9:\tconfig WEXT_PROC\n 10:\t\tdef_bool y\n 11:\t\tdepends on PROC_FS\n 12:\t\tdepends on WEXT_CORE\n 13:\t\n 14:\tconfig WEXT_PRIV\n 15:\t\tbool\n 16:\t\n 17:\tconfig CFG80211\n 18:\t\ttristate \"cfg80211 - wireless configuration API\"\n 19:\t\tdepends on RFKILL || !RFKILL\n 20:\t\tselect FW_LOADER\n 21:\t\tselect CRC32\n 22:\t\t# may need to update this when certificates are changed and are\n 23:\t\t# using a different algorithm, though right now they shouldn't\n 24:\t\t# (this is here rather than below to allow it to be a module)\n 25:\t\tselect CRYPTO_SHA256 if CFG80211_USE_KERNEL_REGDB_KEYS\n 26:\t\thelp\n 27:\t\t cfg80211 is the Linux wireless LAN (802.11) configuration API.\n 28:\t\t Enable this if you have a wireless device.\n 29:\t\n 30:\t\t For more information refer to documentation on the wireless wiki:\n"
} |
| 25/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 16627 output: 40 thoughts: 405 Thoughts: **Analyzing Function Inlining and Usage** Okay, let's dive into these functions. My immediate focus is on those focus symbols, specifically `ieee80211_unlist_sdata` and `ieee80211_uninit`. I need to figure out if they're static or non-static, which is fundamental to understanding their scope and potential for inlining. Right, both are static functions within `net/mac80211/iface.c`. Now, the next question is whether `ieee80211_uninit` is inlined. Given that its address is assigned to `.ndo_uninit` in various `struct net_device_ops` structures like `ieee80211_dataif_ops`, `ieee80211_monitorif_ops`, and `ieee80211_dataif_8023_ops`, it can't be *completely* inlined by the compiler. Because its address is taken, the compiler can't optimize it away completely. It is likely not inlined in those cases. However, since `ieee80211_unlist_sdata` is static and only called within `ieee80211_uninit`, it might be inlined directly into that function. But let's verify there are no other calls to `ieee80211_unlist_sdata`. Let me double-check. Okay, Grepper shows only one place it's called: from that line in `iface.c` (at line 934). That is called from `ieee80211_uninit`. So, it does appear the only call to `ieee80211_unlist_sdata` is from `ieee80211_uninit`. |
| 26/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "ieee80211_unlist_sdata",
"PathPrefix": "net/mac80211"
}Results: {
"Output": "net/mac80211/iface.c=902=static void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)\n--\nnet/mac80211/iface.c-933- */\nnet/mac80211/iface.c:934:static bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\nnet/mac80211/iface.c-935-{\n--\nnet/mac80211/iface.c=952=static void ieee80211_uninit(struct net_device *dev)\n--\nnet/mac80211/iface.c-955-\tstruct wiphy *wiphy = sdata-\u003elocal-\u003ehw.wiphy;\nnet/mac80211/iface.c:956:\tbool unlisted = ieee80211_unlist_sdata(sdata);\nnet/mac80211/iface.c-957-\n"
} |
| 27/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 17775 output: 32 thoughts: 698 Thoughts: **Analyzing the Reachability and Impact of a mac80211 Code Change** Okay, so I'm digging into this code and trying to figure out its fuzzing potential. First, I confirmed that `ieee80211_unlist_sdata` is indeed only called by `ieee80211_uninit`. And `ieee80211_uninit` in turn calls `ieee80211_teardown_sdata`. These three – `ieee80211_uninit`, `ieee80211_unlist_sdata`, and `ieee80211_teardown_sdata` – are definitely the key functions for the analysis. They are definitely candidates for inclusion in `FocusSymbols`. I briefly checked if other symbols were relevant, like `ieee80211_if_remove` which handles interface removal, and `cfg80211_unregister_wdev`, but the first three remain the most relevant. Now, considering the patch's impact, `ieee80211_uninit` is directly modified, along with `ieee80211_unlist_sdata`. `ieee80211_teardown_sdata` is called within a lock, making it indirectly relevant. Applying the Section 3 & 4 rules regarding "WorthFuzzing," this change is *textbook* for fuzzing. mac80211 net devices are created, operated, and destroyed through `nl80211` (netlink) or netdev unregistration/netns exit, using virtual devices like `mac80211_hwsim`. This is *exactly* the kind of reachable code that is standard for syzkaller fuzzing. Furthermore, and this is critical, acquiring `wiphy_lock(wiphy)` within `ieee80211_uninit` has a significant impact! It touches the locking behavior in `ndo_uninit`. `ndo_uninit` runs during netdev unregistration, with RTNL held. So, acquiring `wiphy_lock` while `rtnl_lock` is held could introduce lock-ordering problems with lockdep or re-entrancy issues if not tracked carefully. This is *precisely* the type of change where fuzzing, especially with lockdep, KASAN, etc., can expose deadlocks, assertions, or subtle race conditions. Finally, regarding configurations, we definitely need `MAC80211`, `CFG80211`, and `MAC80211_HWSIM` – the latter is critical for virtual radio simulation in syzkaller. I should check `net/mac80211/Makefile` to ensure there aren't any other crucial configs. |
| 28/2 | 2026/10/03 13:48 | tool | grepper |
0mArgs:{
"Expression": "iface\\.o",
"PathPrefix": "net/mac80211"
}Results: {
"Output": "net/mac80211/Makefile=5=mac80211-y := \\\n--\nnet/mac80211/Makefile-17-\tibss.o \\\nnet/mac80211/Makefile:18:\tiface.o \\\nnet/mac80211/Makefile-19-\tlink.o \\\n"
} |
| 29/2 | 2026/10/03 13:48 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 19222 output: 221 thoughts: 351 Thoughts: **Fuzzing Target Identification: mac80211 Interface Teardown** Okay, so I've got a potential fuzzing target here, focusing on the `mac80211` interface teardown process. The way I'm thinking about it, `iface.o` is always built when `MAC80211` is enabled. That's a given, and `MAC80211` hinges on `CFG80211`, which is critical. Also, `MAC80211_HWSIM` is specifically useful here, as it allows us to emulate mac80211 radios in virtualized environments like QEMU. We also need to have `NET` enabled, of course. I've scoped out the relevant functions. Let's make sure we have the correct focus symbols: `ieee80211_uninit`, `ieee80211_unlist_sdata`, and `ieee80211_teardown_sdata`. I'm confident those are the key functions to target. Just to be absolutely certain, I've checked to see if there are other areas of code that call these, or if any other files are modified, and it's clear the relevant code is contained within `net/mac80211/iface.c`. Now, let's nail down the fuzzing requirements for this target. `WorthFuzzing`? Absolutely, yes. I have a clear `Reasoning`: we're looking at mac80211 interface teardown, which involves locking changes and uninit operations. This is all reachable via netlink or netns destruction, particularly with virtual devices like `mac80211_hwsim`. This is where the vulnerabilities are likely to lurk, due to potential locking issues and race conditions when taking `wiphy_lock` under `rtnl`. My `FocusSymbols` are confirmed: `["ieee80211_uninit", "ieee80211_unlist_sdata", "ieee80211_teardown_sdata"]`. And, to enable this target, the necessary `EnableConfigs` are `["MAC80211", "CFG80211", "MAC80211_HWSIM"]`. With all this information, I can now confidently execute `set-results`. This is a solid fuzzing target. |
| 30/2 | 2026/10/03 13:49 | tool | set-results |
0mArgs:{
"EnableConfigs": [
"MAC80211",
"CFG80211",
"MAC80211_HWSIM"
],
"FocusSymbols": [
"ieee80211_uninit",
"ieee80211_unlist_sdata",
"ieee80211_teardown_sdata"
],
"Reasoning": "The patch modifies mac80211 network interface teardown logic (ndo_uninit) to acquire wiphy_lock during ieee80211_teardown_sdata() when the interface is unlisted outside mac80211 (such as during network namespace destruction or netdev unregistration). This changes locking semantics and hierarchy under RTNL in a core wireless networking path that is directly reachable and fuzzable via netlink (nl80211) and virtual devices (mac80211_hwsim).",
"WorthFuzzing": true
}Results: {
"EnableConfigs": [
"MAC80211",
"CFG80211",
"MAC80211_HWSIM"
],
"FocusSymbols": [
"ieee80211_uninit",
"ieee80211_unlist_sdata",
"ieee80211_teardown_sdata"
],
"Reasoning": "The patch modifies mac80211 network interface teardown logic (ndo_uninit) to acquire wiphy_lock during ieee80211_teardown_sdata() when the interface is unlisted outside mac80211 (such as during network namespace destruction or netdev unregistration). This changes locking semantics and hierarchy under RTNL in a core wireless networking path that is directly reachable and fuzzable via netlink (nl80211) and virtual devices (mac80211_hwsim).",
"WorthFuzzing": true
} |
| 31/1 | 2026/10/03 13:49 | action | If |
0mArgs:{
"WorthFuzzing": true
}Results: null |
| 32/2 | 2026/10/03 13:49 | agent | kmsan-evaluator |
0mModel:core Args: null Results: {
"KMSANReasoning": "The patch modifies interface teardown synchronization in mac80211 (`ieee80211_uninit` and `ieee80211_unlist_sdata`), acquiring `wiphy_lock` around `ieee80211_teardown_sdata` if the interface was successfully unlisted from the local list.\n\nThe changes involve only locking, control flow around synchronization, and interface unlisting. There are no allocations, no reads or writes of uninitialized memory, no user-space copies/info-leaks, and no alterations to data buffer boundaries or lengths. Any potential issues introduced by this patch (such as locking inversions, deadlocks, or race conditions) are within the scope of LOCKDEP and KASAN, not KMSAN. Therefore, a dedicated KMSAN fuzzing session is not warranted.",
"NeedsKMSAN": false
}Instruction: You are an expert Linux kernel security engineer specializing in kernel memory
error detectors (KASAN and KMSAN). Your job is to review the provided patch series and
determine if the code changes justify spawning a dedicated KMSAN (KernelMemorySanitizer)
fuzzing session in addition to standard KASAN fuzzing.
CRITICAL DISTINCTION BETWEEN KASAN AND KMSAN:
- Standard KASAN kernel builds (upstream-apparmor-kasan.config) already enable
a comprehensive suite of debugging tools and sanitizers, including KASAN
(out-of-bounds accesses, use-after-free, double free, invalid free), LOCKDEP
(locking bugs and deadlocks), UB-sanitizers, and memory corruption checks.
- KMSAN (KernelMemorySanitizer) detects reads of UNINITIALIZED memory (stack, heap,
or page allocations) and kernel-to-user memory info-leaks.
Rule: THERE IS NO SENSE IN RUNNING A KMSAN SESSION IF A BUG CAN BE CAUGHT BY KASAN,
LOCKDEP, OR OTHER STANDARD BUG DETECTORS.
A dedicated KMSAN fuzzing session incurs significant resource costs. You must ONLY
set NeedsKMSAN=true if the code changes introduce or expose UNINITIALIZED MEMORY risks
that are detected ONLY by KMSAN.
Look holistically at the patch series and surrounding code. Even if no direct
uninitialized field accesses or new buffer allocations are added in the diff itself,
a patch may alter control flow, bounds checking, or data length calculations in ways
that change how the rest of the code operates on existing buffers (e.g. allowing
uninitialized stack/heap memory to be read, copied to user space, or used in control
flow). Do not hesitate to use your code access tools to inspect the surrounding code,
called functions, and callers.
Set NeedsKMSAN=true ONLY IF the patch introduces or modifies:
1. Kernel structures sent to user space (via copy_to_user, put_user, netlink skb
attributes, ioctl output arguments, socket options, or BPF buffers) where fields
or structure padding might not be fully initialized/zeroed.
2. Conditional logic or branching that depends on potentially uninitialized variables
or struct fields.
3. Allocation or initialization of complex data structures where uninitialized fields
could be read later in reachable code paths.
4. Bounds checks, lengths, or logic in a way that allows surrounding code to access
uninitialized bytes of existing buffers.
Set NeedsKMSAN=false IF:
- The code changes primarily risk out-of-bounds access, array overflows, NULL pointer
dereferences, locking deadlocks, or use-after-free bugs (these are already caught
by KASAN, LOCKDEP, or standard bug detectors).
- All stack/heap structures touched or introduced by the patch are fully zeroed
or initialized (e.g. using = {0}, memset, kzalloc) before being read or copied.
- The patch does not introduce any risk of uninitialized memory usage or info-leaks.
Use your code access tools to inspect the surrounding code if necessary, then provide
detailed KMSANReasoning contrasting KASAN vs KMSAN applicability for this patch.
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 c21b2dc9e843fb33d1cadde08dd40cd1fb4e884a
Author: syz-cluster <triage@syzkaller.com>
Date: Sat Oct 3 13:47:35 2026 +0000
syz-cluster: applied patch under review
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 5f0c482bd4a5a..175965f4b53cf 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -931,7 +931,7 @@ static void ieee80211_teardown_sdata(struct ieee80211_sub_if_data *sdata)
* core when cfg80211 couldn't move it out of a network namespace that's being
* destroyed. Drop it from the interface list either way.
*/
-static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
+static bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
{
struct ieee80211_local *local = sdata->local;
struct ieee80211_sub_if_data *iter;
@@ -943,16 +943,25 @@ static void ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)
continue;
guard(mutex)(&local->iflist_mtx);
list_del_rcu(&sdata->list);
- return;
+ return true;
}
+
+ return false;
}
static void ieee80211_uninit(struct net_device *dev)
{
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
+ struct wiphy *wiphy = sdata->local->hw.wiphy;
+ bool unlisted = ieee80211_unlist_sdata(sdata);
+
+ if (unlisted)
+ wiphy_lock(wiphy);
- ieee80211_unlist_sdata(sdata);
ieee80211_teardown_sdata(sdata);
+
+ if (unlisted)
+ wiphy_unlock(wiphy);
}
static int ieee80211_netdev_setup_tc(struct net_device *dev,
|
| 33/3 | 2026/10/03 13:49 | llm | kmsan-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 2505 output: 41 thoughts: 724 Thoughts: **Analyzing the Patch for Interface Cleanup** Okay, let's dive into this patch. My initial thought is to understand the purpose of this change and its implications, especially since it touches core interface management within mac80211. The core functions are `ieee80211_unlist_sdata` and `ieee80211_teardown_sdata`, which are called during interface uninitialization. Looking at the code, it seems the intent is to safely remove a sub-interface data structure (`sdata`) from the `iflist`. The comment says something about situations where `cfg80211` can't properly move the interface out of a network namespace being destroyed. So, we're dealing with a cleanup scenario, ensuring the interface is removed from the internal list regardless of external failures. The change introduces a boolean return value from `ieee80211_unlist_sdata`. This boolean likely indicates whether the unlisting actually happened. The significant addition here is the `wiphy_lock` and `wiphy_unlock` calls, guarded by the result of `ieee80211_unlist_sdata`. If the unlisting occurs, we acquire the wiphy lock before calling `ieee80211_teardown_sdata`, and release it after. This suggests that the teardown process might be accessing shared data or resources protected by the wiphy lock. The conditional locking implies that the teardown might require the wiphy lock only when the interface is actively being managed in the iflist. It seems we need to hold the wiphy lock during the teardown process if we actually removed the iface from the list. This could be due to shared data structures. This is a good way to handle the locking, and it minimizes the lock contention when the interface is already unlisted, reducing the chance of unnecessary delays. I need to make sure this locking strategy is correct. I need to confirm the exact data structures being protected by the `wiphy` lock and assess whether this patch introduces any race conditions or deadlocks. In particular, I must understand the interaction with any other concurrent operations on the `wiphy` or `sdata` structures. |
| 34/3 | 2026/10/03 13:49 | tool | read-file |
0mArgs:{
"File": "net/mac80211/iface.c",
"FirstLine": 915,
"LineCount": 55
}Results: {
"Contents": " 915:\t\t\tieee80211_mesh_teardown_sdata(sdata);\n 916:\t\n 917:\t\tieee80211_vif_clear_links(sdata);\n 918:\t\tieee80211_link_stop(\u0026sdata-\u003edeflink);\n 919:\t\n 920:\t\tif (sdata-\u003evif.type == NL80211_IFTYPE_NAN) {\n 921:\t\t\tstruct ieee80211_nan_sched_cfg *nan_sched =\n 922:\t\t\t\t\u0026sdata-\u003evif.cfg.nan_sched;\n 923:\t\n 924:\t\t\tfor (int i = 0; i \u003c ARRAY_SIZE(nan_sched-\u003echannels); i++)\n 925:\t\t\t\tWARN_ON(nan_sched-\u003echannels[i].chanreq.oper.chan);\n 926:\t\t}\n 927:\t}\n 928:\t\n 929:\t/*\n 930:\t * The netdev can be unregistered without mac80211 doing it, e.g. by the netdev\n 931:\t * core when cfg80211 couldn't move it out of a network namespace that's being\n 932:\t * destroyed. Drop it from the interface list either way.\n 933:\t */\n 934:\tstatic bool ieee80211_unlist_sdata(struct ieee80211_sub_if_data *sdata)\n 935:\t{\n 936:\t\tstruct ieee80211_local *local = sdata-\u003elocal;\n 937:\t\tstruct ieee80211_sub_if_data *iter;\n 938:\t\n 939:\t\tASSERT_RTNL();\n 940:\t\n 941:\t\tlist_for_each_entry(iter, \u0026local-\u003einterfaces, list) {\n 942:\t\t\tif (iter != sdata)\n 943:\t\t\t\tcontinue;\n 944:\t\t\tguard(mutex)(\u0026local-\u003eiflist_mtx);\n 945:\t\t\tlist_del_rcu(\u0026sdata-\u003elist);\n 946:\t\t\treturn true;\n 947:\t\t}\n 948:\t\n 949:\t\treturn false;\n 950:\t}\n 951:\t\n 952:\tstatic void ieee80211_uninit(struct net_device *dev)\n 953:\t{\n 954:\t\tstruct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);\n 955:\t\tstruct wiphy *wiphy = sdata-\u003elocal-\u003ehw.wiphy;\n 956:\t\tbool unlisted = ieee80211_unlist_sdata(sdata);\n 957:\t\n 958:\t\tif (unlisted)\n 959:\t\t\twiphy_lock(wiphy);\n 960:\t\n 961:\t\tieee80211_teardown_sdata(sdata);\n 962:\t\n 963:\t\tif (unlisted)\n 964:\t\t\twiphy_unlock(wiphy);\n 965:\t}\n 966:\t\n 967:\tstatic int ieee80211_netdev_setup_tc(struct net_device *dev,\n 968:\t\t\t\t\t enum tc_setup_type type, void *type_data)\n 969:\t{\n"
} |
| 35/3 | 2026/10/03 13:49 | llm | kmsan-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 4665 output: 205 thoughts: 655 Thoughts: **KMSAN Assessment: No Need for KMSAN** Okay, let's break this down. We're looking at a change related to `ieee80211_uninit`, which is essentially a netdev cleanup operation. The core of the patch involves `ieee80211_unlist_sdata` now returning a boolean. If the interface was unlisted, we hold the `wiphy_lock` during `ieee80211_teardown_sdata`. This is purely about locking and teardown management, aiming to avoid race conditions or lockdep warnings during the shutdown of `sdata`. Now, the important part: does this introduce any KMSAN-relevant issues? Let's check: * **Kernel Structures to Userspace:** No, the patch doesn't involve any changes that could leak uninitialized data to userspace. * **Uninitialized Variable Dependencies:** Nope. The `unlisted` variable gets its value directly from `ieee80211_unlist_sdata()`, which returns either true or false. No risk there. * **Complex Data Structure Initialization:** Not a factor. There's no new memory allocation or complex data structures being initialized that could lead to uninitialized memory being read. * **Buffer Access Risks:** This doesn't modify or introduce any bounds checks or introduce a risk of accessing uninitialized bytes in existing buffers. Potential bugs are around deadlocks and concurrency, which, based on the description, KASAN and LOCKDEP should catch. The instructions are clear. Standard KASAN builds already cover out-of-bounds accesses, use-after-free, double free, and invalid frees. LOCKDEP catches locking bugs and deadlocks. KMSAN detects reads of *uninitialized* memory, but the patch isn't touching any uninitialized memory. We're covered by existing tooling. Therefore, `NeedsKMSAN=false` is the correct assessment. Time to invoke `set-results` with this reasoning. |
| 36/3 | 2026/10/03 13:49 | tool | set-results |
0mArgs:{
"KMSANReasoning": "The patch modifies interface teardown synchronization in mac80211 (`ieee80211_uninit` and `ieee80211_unlist_sdata`), acquiring `wiphy_lock` around `ieee80211_teardown_sdata` if the interface was successfully unlisted from the local list.\n\nThe changes involve only locking, control flow around synchronization, and interface unlisting. There are no allocations, no reads or writes of uninitialized memory, no user-space copies/info-leaks, and no alterations to data buffer boundaries or lengths. Any potential issues introduced by this patch (such as locking inversions, deadlocks, or race conditions) are within the scope of LOCKDEP and KASAN, not KMSAN. Therefore, a dedicated KMSAN fuzzing session is not warranted.",
"NeedsKMSAN": false
}Results: {
"KMSANReasoning": "The patch modifies interface teardown synchronization in mac80211 (`ieee80211_uninit` and `ieee80211_unlist_sdata`), acquiring `wiphy_lock` around `ieee80211_teardown_sdata` if the interface was successfully unlisted from the local list.\n\nThe changes involve only locking, control flow around synchronization, and interface unlisting. There are no allocations, no reads or writes of uninitialized memory, no user-space copies/info-leaks, and no alterations to data buffer boundaries or lengths. Any potential issues introduced by this patch (such as locking inversions, deadlocks, or race conditions) are within the scope of LOCKDEP and KASAN, not KMSAN. Therefore, a dedicated KMSAN fuzzing session is not warranted.",
"NeedsKMSAN": false
} |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|