linux/net/wireless
Johannes Berg a4190accbf wifi: cfg80211: fix potential requested_regd leak
If a custom regdomain is registered by a driver by
calling regulatory_set_wiphy_regd() (the async one)
before the wiphy is registered, and then registration
fails or it's unregistered before the worker ran, we
leak the regdomain. Free it on wiphy free.

Link: https://patch.msgid.link/20261013151817.9c197c4779d4.I983cf65a625fbc99e13b0a2710167157c34b6cd9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-10-14 12:19:59 +02:00
..
certs
tests wifi: cfg80211: tests: check BSS lookup failure reasons 2026-07-22 16:11:37 +02:00
.gitignore
ap.c wifi: nl80211: defer AP beacon regulatory check to start_ap 2026-09-28 11:15:25 +02:00
chan.c wifi: cfg80211: regulatory: stop using RTNL 2026-10-09 16:12:49 +02:00
core.c wifi: cfg80211: fix potential requested_regd leak 2026-10-14 12:19:59 +02:00
core.h wifi: cfg80211: switch wiphy netns under cfg80211_mutex 2026-10-13 13:58:35 +02:00
debugfs.c wifi: cfg80211: Pin module for debugfs file operations 2026-10-09 16:10:33 +02:00
debugfs.h
ethtool.c
ibss.c wifi: cfg80211: add Control Integrity Protocol (CIP) APIs 2026-09-28 11:13:39 +02:00
Kconfig
Makefile wifi: mac80211, cfg80211: Export michael_mic() and move it to cfg80211 2026-04-08 08:55:15 +02:00
mesh.c
michael-mic.c wifi: cfg80211: Explicitly include <linux/export.h> in michael-mic.c 2026-04-09 08:54:43 +02:00
mlme.c wifi: nl80211: allow mgmt frame TX without wiphy mutex 2026-10-13 13:58:13 +02:00
nl80211.c wifi: cfg80211: protect wiphy names with cfg80211_mutex 2026-10-13 13:58:36 +02:00
nl80211.h wifi: cfg80211: allow representing NPCA in chandef 2026-05-05 14:49:02 +02:00
ocb.c
of.c wifi: Add SPDX ids to some files in the wireless subsystem 2026-03-06 10:54:23 +01:00
pmsr.c wifi: cfg80211: publish PMSR request before starting the driver 2026-07-28 15:08:57 +02:00
radiotap.c wifi: Add SPDX ids to some files in the wireless subsystem 2026-03-06 10:54:23 +01:00
rdev-ops.h wifi: cfg80211: support unlocked station get/dump 2026-10-13 13:58:14 +02:00
reg.c wifi: cfg80211: drop RTNL from disconnect_work 2026-10-13 13:58:35 +02:00
reg.h wifi: cfg80211: drop RTNL from disconnect_work 2026-10-13 13:58:35 +02:00
scan.c wifi: cfg80211: do not use NAN beacons to update the BSS table 2026-10-05 15:28:53 +02:00
sme.c wifi: cfg80211: track SSID regardless of country data 2026-10-14 12:19:36 +02:00
sysfs.c wifi: cfg80211: use sysfs_emit_at() in addresses_show 2026-09-28 11:17:30 +02:00
sysfs.h
trace.c wifi: Add SPDX ids to some files in the wireless subsystem 2026-03-06 10:54:23 +01:00
trace.h wifi: cfg80211: support unlocked station get/dump 2026-10-13 13:58:14 +02:00
util.c wifi: cfg80211: reject WEP/TKIP with multi-link 2026-10-14 12:19:41 +02:00
wext-compat.c wifi: cfg80211: add Control Integrity Protocol (CIP) APIs 2026-09-28 11:13:39 +02:00
wext-compat.h
wext-core.c wifi: cfg80211: remove WIPHY_FLAG_DISABLE_WEXT 2026-07-06 12:55:29 +02:00
wext-priv.c wifi: Add SPDX ids to some files in the wireless subsystem 2026-03-06 10:54:23 +01:00
wext-proc.c wifi: Add SPDX ids to some files in the wireless subsystem 2026-03-06 10:54:23 +01:00
wext-sme.c wifi: cfg80211: validate WEXT station BSSID 2026-10-09 16:07:57 +02:00