3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-05 19:49:23 +01:00
iwd/src
James Prestwood 64d68b4f08 scan: fix invalid read when canceling an ongoing scan
When the survey code was added it neglected to add the same
cancelation logic that existed for the GET_SCAN call, i.e. if
a scan was canceled and there was a pending GET_SURVEY to the
kernel that needs to be canceled, and the request cleaned up.

Fixes: 35808debae ("scan: use GET_SURVEY for SNR calculation in ranking")
2024-07-24 09:12:42 -05:00
..
80-iwd.link build: Move 50-iwd.link up to 80-iwd.link for less confusion 2019-10-25 01:08:56 +02:00
adhoc.c adhoc: Fix compilation on old systems 2023-11-27 11:26:52 +01:00
agent.c netconfig: Add NetworkConfigurationAgent DBus API 2022-09-13 08:57:55 -05:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
anqp.c frame-xchg: add type to frame_xchg_prefix 2022-09-16 11:02:07 -05:00
anqp.h anqp: refactor to use frame-xchg 2020-07-09 09:58:21 -05:00
anqputil.c anqputil: Avoid potential overflow 2022-01-14 12:08:01 -06:00
anqputil.h anqp: move ANQP parsers into anqputil 2019-07-15 14:53:44 -05:00
ap.c ap: bail in ap_del_station if AP is going down 2024-02-29 14:37:49 -06:00
ap.h ap: Forward DHCP events to AP event handler 2021-06-04 11:55:06 -05:00
auth-proto.h auth-proto: add auth_proto_rx_oci 2021-09-28 10:51:33 -05:00
backtrace.c treewide: Various style fixups 2022-01-11 11:07:05 -06:00
backtrace.h treewide: Various style fixups 2022-01-11 11:07:05 -06:00
band.c band: support band lookup fallback for buggy APs 2024-05-14 10:27:36 -05:00
band.h band: add tx_power to frequency info attributes 2023-01-03 09:16:32 -06:00
blacklist.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
blacklist.h blacklist: Convert to use IWD_MODULE 2019-05-22 09:58:04 -05:00
common.c common: add FT-8021X-SHA384 to AKM_IS_8021X 2023-04-16 13:01:01 -05:00
common.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
crypto.c crypto: fix uninitialized variable coverity warning 2024-02-27 16:04:11 -06:00
crypto.h crypto: remove label from prf_plus, instead use va_args 2023-10-17 10:13:42 -05:00
dbus.c netdev: Move iftype_to_string utility 2021-04-20 09:37:48 -05:00
dbus.h dbus: add net.connman.iwd.SharedCodeAgent DBus interface 2023-11-02 20:31:05 -05:00
device.c wiphy: add two regulatory domain state events 2022-08-04 10:30:46 -05:00
diagnostic.c diagnostic: Fix crash with Open networks 2021-04-28 11:19:38 -05:00
diagnostic.h diagnostic: add diagnostic_akm_suite_to_security 2021-03-29 13:17:36 -05:00
dpp-util.c dpp: fix data corruption around prf_plus() call 2023-12-18 22:14:45 -06:00
dpp-util.h dpp-util: add support for 3rd party JSON fields 2023-11-17 09:48:22 -06:00
dpp.c dpp: check wrapped data exists in authenticate response 2024-03-04 13:48:08 -06:00
eap-aka.c eap-aka: round to nearest word on message buffers 2021-07-30 10:38:26 -05:00
eap-gtc.c treewide: Remove pointless return statement 2022-01-11 11:07:33 -06:00
eap-md5.c eap-md5: Do not check deprecated MD5-Secret 2021-06-01 10:44:57 -05:00
eap-mschapv2.c eap-mschapv2: Check Password-Hash exists when loading settings 2024-03-11 22:08:02 -05:00
eap-mschapv2.h cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
eap-peap.c eap-peap: Fix failures with session resumption 2023-01-03 09:58:29 -06:00
eap-private.h build: treewide: Set retain attribute 2021-11-11 14:27:33 -06:00
eap-pwd.c eap-pwd: fix usage of compressed points (after ELL is fixed) 2023-10-11 10:19:34 -05:00
eap-sim.c eap: Simplify sending EAP method responses 2020-08-13 10:36:43 -05:00
eap-tls-common.c eap-tls: Allow tls_msg_len to be zero 2024-05-31 16:23:15 -05:00
eap-tls-common.h eap-peap: Fix failures with session resumption 2023-01-03 09:58:29 -06:00
eap-tls.c eap-peap: Fix failures with session resumption 2023-01-03 09:58:29 -06:00
eap-ttls.c eap-peap: Fix failures with session resumption 2023-01-03 09:58:29 -06:00
eap-wsc.c eap-wsc: Zero authenticator bytes to fix static analysis warning 2024-02-28 09:13:30 -06:00
eap-wsc.h eap-wsc: Registrar mode message processing 2020-08-17 09:40:25 -05:00
eap.c eap: Silence warning 2023-10-06 23:24:25 -05:00
eap.h eap-tls: Add session caching 2022-11-17 10:04:56 -06:00
eapol.c eapol: move HANDSHAKE_STARTED_EVENT to eapol_start() 2024-07-18 16:08:17 -05:00
eapol.h eapol: set secure on message 2/4 properly 2023-01-11 15:48:17 -06:00
eapolutil.c eapol: More strictly validate key_descriptor_version 2022-10-24 11:05:24 -05:00
eapolutil.h eapol: More strictly validate key_descriptor_version 2022-10-24 11:05:24 -05:00
erp.c dpp: fix data corruption around prf_plus() call 2023-12-18 22:14:45 -06:00
erp.h erp: Fix buffer overflow for 32 byte SSIDs 2023-11-27 11:27:26 +01:00
fils.c files: remove unneeded initialization 2024-03-04 13:48:08 -06:00
fils.h fils: support OCI in reassociation 2021-09-28 16:46:48 -05:00
frame-xchg.c frame-xchg: add type to frame_xchg_prefix 2022-09-16 11:02:07 -05:00
frame-xchg.h frame-xchg: create global group enum 2022-09-16 11:04:31 -05:00
ft.c ft: remove ft_associate and helpers 2023-12-13 10:12:41 -06:00
ft.h ft: remove ft_associate and helpers 2023-12-13 10:12:41 -06:00
genbuiltin make: plugin system for build 2017-11-28 13:20:33 -06:00
handshake.c handshake: add functions to save and set IGTK 2024-05-07 11:15:25 -05:00
handshake.h handshake: add functions to save and set IGTK 2024-05-07 11:15:25 -05:00
hotspot.c hotspot: implement hotspot profile encryption 2022-02-15 17:22:21 -06:00
ie.c ie: remove is_ie_default_sae_group_oui 2024-05-14 10:26:11 -05:00
ie.h ie: remove is_ie_default_sae_group_oui 2024-05-14 10:26:11 -05:00
ip-pool.c treewide: Fix compilation due to missing rtnetlink.h 2023-11-09 09:27:00 -06:00
ip-pool.h ip-pool: Add subnet address selection logic 2021-06-01 10:03:04 -05:00
iwd-dbus.conf dbus: add SharedCodeAgent interface to iwd-dbus.conf 2023-11-17 14:13:31 -06:00
iwd.ap.rst doc: document DisableHT AP setting 2023-02-27 10:26:17 -06:00
iwd.config.rst tree-wide: correct the spelling Ghz -> GHz 2023-11-07 21:11:50 -06:00
iwd.debug.rst docs: Show new usage of IWD_DHCP_DEBUG 2022-05-19 09:47:36 -05:00
iwd.h iwd: add iwd_notice for special event/state type of logging 2024-02-22 10:14:59 -06:00
iwd.network.rst doc: Document UseDefaultEccGroup 2024-02-27 13:55:37 -06:00
iwd.rst doc: Add manual page for debugging information 2019-11-05 22:14:09 +01:00
iwd.service.in build: Add documention of manual pages to systemd service file 2022-11-18 10:50:31 +01:00
json.c json: Set defines before including shared/jsmn.h 2022-11-02 11:25:35 +01:00
json.h json: fix comment typo, "json_object_is_valid" 2023-11-17 09:49:12 -06:00
knownnetworks.c knownnetworks: add option to force a default ECC group 2024-02-27 13:55:37 -06:00
knownnetworks.h knownnetworks: add option to force a default ECC group 2024-02-27 13:55:37 -06:00
main.c main: update usage with logger option 2024-07-12 11:58:51 -05:00
manager.c manager: handle -ENODEV special in interface callback 2023-01-17 13:11:53 -06:00
missing.h build: Add reallocarray to missing.h 2021-09-20 10:32:51 -05:00
module.c module: Declare functions as foo(void) instead of just foo() 2019-11-24 19:44:06 +01:00
module.h build: treewide: Set retain attribute 2021-11-11 14:27:33 -06:00
mpdu.c treewide: Various style fixups 2022-01-11 11:07:05 -06:00
mpdu.h mpdu: add unknown password identifier status 2023-12-06 10:58:38 -06:00
mschaputil.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
mschaputil.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
net.connman.iwd.service net.connman.iwd.service: Change SystemdService name to iwd.service 2018-08-09 10:45:16 -05:00
netconfig-commit.c netconfig: Fix copy-paste error 2024-02-28 11:51:33 -06:00
netconfig.c netconfig: limit DHCPv4 attempts to avoid extended netconfig times 2024-01-30 13:59:22 -06:00
netconfig.h netconfig: Avoid generating events after netconfig_reset 2022-10-26 14:16:22 -05:00
netdev.c netdev: handle disconnect event during a connection 2024-07-18 16:07:41 -05:00
netdev.h netdev: add NETDEV_RESULT_DISCONNECTED 2024-07-18 16:05:14 -05:00
network.c scan: remove force_default_sae_group from scan_bss 2024-05-14 10:25:46 -05:00
network.h network: retain default ECC group for OWE after setting 2024-02-27 13:55:37 -06:00
nl80211cmd.c nl80211cmd: make CH_SWITCH_STARTED_NOTIFY name unique 2021-10-19 13:28:07 -05:00
nl80211cmd.h nl80211cmd: Introduce new utility 2019-07-15 14:06:26 -05:00
nl80211util.c nl80211util: use nl80211_parse_attrs/nested for get_key_seq 2024-06-26 09:38:06 -05:00
nl80211util.h nl80211util: add nl80211_parse_nested 2024-06-20 10:51:00 -05:00
offchannel.c offchannel: handle out of order ACKs/events 2023-10-26 09:30:03 -05:00
offchannel.h offchannel: add priority to start call 2022-09-21 21:17:04 -05:00
ofono.c ofono: convert to module 2020-09-16 14:31:07 -05:00
owe.c network: set use default ECC group in handshake setup 2024-02-27 13:55:37 -06:00
owe.h owe: netdev: refactor to remove OWE as an auth-proto 2021-09-03 14:34:30 -05:00
p2p.c netdev: add NETDEV_RESULT_DISCONNECTED 2024-07-18 16:05:14 -05:00
p2p.h Add minimal p2p.c and p2p.h 2020-04-10 06:31:19 -05:00
p2putil.c p2putil: remove static from const strlen 2024-07-12 16:24:00 -05:00
p2putil.h treewide: Various style fixups 2022-01-11 11:07:05 -06:00
pkcs8.conf build: Provide modules-load.d for loading pkcs8_key_parser module 2019-01-23 18:22:11 +01:00
resolve.c resolve: Add "none" method 2022-05-20 10:03:42 -05:00
resolve.h resolve: configure systemd-resolved's MulticastDNS= setting 2021-02-11 15:06:01 -06:00
rfkill.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
rfkill.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
rrm.c treewide: Prefer flexible arrays to zero-length arrays 2023-04-13 22:20:57 -05:00
sae.c sae: support reception of Confirm frame by AP 2024-05-07 10:50:39 -05:00
sae.h sae: remove sae_sm_set_force_group_19, use handshake 2024-02-27 13:55:37 -06:00
scan.c scan: fix invalid read when canceling an ongoing scan 2024-07-24 09:12:42 -05:00
scan.h scan: add flag if BSS load was advertised 2024-06-20 10:51:00 -05:00
simauth.c simauth: check driver for NULL before canceling request 2020-11-16 17:04:30 -06:00
simauth.h treewide: Various style fixups 2022-01-11 11:07:05 -06:00
simutil.c eap: Simplify sending EAP method responses 2020-08-13 10:36:43 -05:00
simutil.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
station.c station: add handshake-started debug event 2024-07-18 16:08:32 -05:00
station.h station: add additional internal state, STATION_STATE_NETCONFIG 2024-01-08 22:04:41 -06:00
storage.c storage: Refactor storage_tls_session_{load,sync} 2022-11-17 10:04:12 -06:00
storage.h storage: Refactor storage_tls_session_{load,sync} 2022-11-17 10:04:12 -06:00
sysfs.c sysfs: introduce sysfs module 2021-11-03 17:44:00 -05:00
sysfs.h sysfs: introduce sysfs module 2021-11-03 17:44:00 -05:00
udev.c udev: Add module for checking interface renaming actions 2024-04-16 14:57:57 +02:00
util.c util: add scan_freq_set_remove 2022-12-14 15:37:01 -06:00
util.h util: add scan_freq_set_remove 2022-12-14 15:37:01 -06:00
watchlist.c watchlist: Remove unused APIs 2024-05-29 17:52:23 -05:00
watchlist.h watchlist: Remove unused APIs 2024-05-29 17:52:23 -05:00
wiphy.c wiphy: handle -ENETUNREACH for rate estimation 2024-04-15 16:51:54 -05:00
wiphy.h netdev: Fix buffer overflow with 32 character ssids 2023-11-27 11:27:26 +01:00
wsc.c station: add additional internal state, STATION_STATE_NETCONFIG 2024-01-08 22:04:41 -06:00
wsc.h wsc: Rework wsc_enrollee_destroy 2020-01-17 12:50:23 -06:00
wscutil.c wscutil: Avoid potential overflow 2022-01-14 09:49:47 -06:00
wscutil.h wscutil: Move DeviceType parsing from p2p & eap-wsc to a function 2021-04-26 10:48:03 -05:00