Wifi broken after update to F42

I use fedora KDE spin. After I updated to F42 Im having problems connecting to a network that uses wpa2-AES. wpa2&Wpa work just fine. I would keep getting wpa_supplicant timeout errors. I tried switching to iwd. I did disable wpa_supplicant and switched network managers backend to iwd but that just resulted in a loop of connecting and disconnecting and ended up in me switching back to woa_supplicant and changing router settings to wpa2&wpa.

This resulted in a new issue where I couldn’t disconnect from a connected network . It would just say deactivating connection and do nothing. This would also make the system hang. If I tried shutting down my system it would just get stuck at the motherboard logo with fedora under it and a buffer wheel.

I checked journactl and the only thing that stood out to me was a SELinux message saying that there is no policy for nlmsg in couple netlinlk sockets

It could be helpful to post details of your WiFi hardware and driver. Please run inxi -Nzxx in a terminal and post the output (as pre-formatted text using the </> button from the top line of the text entry panel). There may be relevant details in the output from journalctl --no-hostname -b -g wifi after trying to use the wpa2-AES network.

Output for inxi -Nzxx:

Network:
  Device-1: Qualcomm WCN785x Wi-Fi 7 320MHz 2x2 [FastConnect 7800]
    vendor: Foxconn Band Simultaneous Wireless driver: ath12k_pci v: N/A pcie:
    speed: 8 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 17cb:1107
  Device-2: Realtek RTL8126 5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: speed: 8 GT/s lanes: 1 port: e000 bus-ID: 08:00.0
    chip-ID: 10ec:8126

here is the output of journalctl --no-hostname -b -g wifi when I try to disconnect from a network leading to a system hang :

Apr 28 19:13:45 kernel: DMI: Micro-Star International Co., Ltd. MS-7E51/MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A24 01/20/2025
Apr 28 19:13:50 NetworkManager[1614]: <info>  [1745847830.9683] Read config: /etc/NetworkManager/NetworkManager.conf, /usr/lib/NetworkManager/conf.d/{20-connectivity-fedora.conf,22-wifi-mac-addr.conf,99-nvme-nbft-no-ignore-carrier.conf}
Apr 28 19:13:50 NetworkManager[1614]: <info>  [1745847830.9770] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/1.52.0-1.fc42/libnm-device-plugin-wifi.so)
Apr 28 19:14:48 NetworkManager[1614]: <info>  [1745847888.8672] device (wlp7s0): Activation: (wifi) access point 'Sathya2-5G' has security, but secrets are required.
Apr 28 19:14:55 NetworkManager[1614]: <info>  [1745847895.0501] device (wlp7s0): Activation: (wifi) access point 'Sathya2-5G' has security, but secrets are required.
Apr 28 19:14:55 NetworkManager[1614]: <info>  [1745847895.0630] device (wlp7s0): Activation: (wifi) connection 'Sathya2-5G' has security, and secrets exist.  No new secrets needed.
Apr 28 19:14:55 NetworkManager[1614]: <info>  [1745847895.6006] device (wlp7s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Sathya2-5G"
Apr 28 19:16:00 NetworkManager[1614]: <info>  [1745847960.5992] device (wlp7s0): Activation: (wifi) access point 'Airnet_5GHz' has security, but secrets are required.
Apr 28 19:16:00 NetworkManager[1614]: <info>  [1745847960.6105] device (wlp7s0): Activation: (wifi) connection 'Airnet_5GHz' has security, and secrets exist.  No new secrets needed.
Apr 28 19:16:00 NetworkManager[1614]: <info>  [1745847960.9249] device (wlp7s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Airnet_5GHz"
Apr 28 20:10:51 NetworkManager[1614]: <info>  [1745851251.8641] device (wlp7s0): Activation: (wifi) access point 'Airnet_5GHz' has security, but secrets are required.
Apr 28 20:10:51 NetworkManager[1614]: <info>  [1745851251.8735] device (wlp7s0): Activation: (wifi) connection 'Airnet_5GHz' has security, and secrets exist.  No new secrets needed.
Apr 28 20:10:52 NetworkManager[1614]: <info>  [1745851252.1686] device (wlp7s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Airnet_5GHz"
Apr 28 20:15:15 kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E51/MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A24 01/20/2025
Apr 28 20:15:15 kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E51/MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A24 01/20/2025

Im not getting wpa_supplicant timeout error anymore but my entire system is freezing when trying to disconnect from wifi. trying shutdown just makes the screen go black with the motherboard logo indefinately and I need to perform a hard power-off.

my kernel version is : 6.14.3-300.fc42.x86_64

Somewhere in this forum, a few days ago, unread that there is a regression in the wifi driver provided by the kernel. You need to boot 6.14.1 or older or wait for a fix.

Found the post: WiFi taking forever to (re)connect after Fedora 42 - #12 by mxj4

The fix is already in kernel 6.14.3, since OP is already using that, this should be a different issue.

I upgraded to kernel 6.14.4 and issue still persists

logs as follows

Apr 30 03:14:47 fedora kernel: wlp7s0: deauthenticating from 78:17:35:1d:09:8d by local choice (Reason: 3=DEAUTH_LEAVING)
Apr 30 03:14:48 fedora kernel: ------------[ cut here ]------------
Apr 30 03:14:48 fedora kernel: WARNING: CPU: 4 PID: 86304 at kernel/workqueue.c:4205 __flush_work+0x351/0x3b0
Apr 30 03:14:48 fedora kernel: Modules linked in: michael_mic uinput rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables ip_set sunrpc ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci bnep nvidia_drm(OE) nvidia_modeset(OE) nvidia_uvm(OE) binfmt_misc vfat qrtr_mhi fat nvidia(OE) qrtr amd_atl intel_rapl_msr intel_rapl_common ath12k qmi_helpers snd_hda_codec_hdmi mac80211 snd_usb_audio snd_hda_intel edac_mce_amd snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec btusb snd_usbmidi_lib kvm_amd btrtl mc snd_hda_core btintel snd_ump btbcm snd_rawmidi snd_hwdep btmtk libarc4 spd5118 snd_seq kvm cfg80211 snd_seq_device bluetooth snd_pcm irqbypass snd_timer i2c_piix4 thunderbolt rapl wmi_bmof pcspkr i2c_smbus joydev k10temp r8169 snd rfkill mhi realtek soundcore gpio_amdpt gpio_generic loop nfnetlink zram lz4hc_compress
Apr 30 03:14:48 fedora kernel:  lz4_compress amdgpu hid_logitech_hidpp amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_panel_backlight_quirks drm_buddy drm_display_helper polyval_clmulni nvme polyval_generic ghash_clmulni_intel sha512_ssse3 sha256_ssse3 nvme_core sha1_ssse3 cec sp5100_tco nvme_auth video wmi hid_logitech_dj pkcs8_key_parser fuse i2c_dev
Apr 30 03:14:48 fedora kernel: CPU: 4 UID: 0 PID: 86304 Comm: kworker/u97:0 Tainted: G           OE      6.14.3-300.fc42.x86_64 #1
Apr 30 03:14:48 fedora kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Apr 30 03:14:48 fedora kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E51/MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A24 01/20/2025
Apr 30 03:14:48 fedora kernel: Workqueue: events_unbound cfg80211_wiphy_work [cfg80211]
Apr 30 03:14:48 fedora kernel: RIP: 0010:__flush_work+0x351/0x3b0
Apr 30 03:14:48 fedora kernel: Code: 8b 04 24 4c 8b 44 24 08 65 48 8b 15 a9 59 c4 72 48 85 c0 48 89 54 24 60 0f 85 d7 fe ff ff e9 e5 fd ff ff 0f 0b e9 6d ff ff ff <0f> 0b e9 66 ff ff ff 0f 0b e9 0e ff ff ff e8 7c 2f 0c 01 48 89 c6
Apr 30 03:14:48 fedora kernel: RSP: 0018:ffffbb0ac42c7d28 EFLAGS: 00010246
Apr 30 03:14:48 fedora kernel: RAX: 0000000000000000 RBX: ffff9df4c921a378 RCX: 0000000000000000
Apr 30 03:14:48 fedora kernel: RDX: 0000000000000020 RSI: 0000000000000001 RDI: ffffbb0ac42c7d90
Apr 30 03:14:48 fedora kernel: RBP: ffffbb0ac42c7d48 R08: ffff9df4c2e082c0 R09: 8080808080808080
Apr 30 03:14:48 fedora kernel: R10: ffff9df4c02402c0 R11: ffff9df4c2e082c0 R12: 0000000000000001
Apr 30 03:14:48 fedora kernel: R13: ffff9df4c0908e05 R14: 0000000000000000 R15: ffff9df4fadb8378
Apr 30 03:14:48 fedora kernel: FS:  0000000000000000(0000) GS:ffff9e035f600000(0000) knlGS:0000000000000000
Apr 30 03:14:48 fedora kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 30 03:14:48 fedora kernel: CR2: 00007f5dca47afc0 CR3: 00000004ba82c000 CR4: 0000000000f50ef0
Apr 30 03:14:48 fedora kernel: PKRU: 55555554
Apr 30 03:14:48 fedora kernel: Call Trace:
Apr 30 03:14:48 fedora kernel:  <TASK>
Apr 30 03:14:48 fedora kernel:  cancel_delayed_work_sync+0x5e/0x80
Apr 30 03:14:48 fedora kernel:  ath12k_mac_remove_link_interface.isra.0+0x26/0x70 [ath12k]
Apr 30 03:14:48 fedora kernel:  ath12k_scan_vdev_clean_work+0x8b/0xd0 [ath12k]
Apr 30 03:14:48 fedora kernel:  cfg80211_wiphy_work+0x11b/0x190 [cfg80211]
Apr 30 03:14:48 fedora kernel:  process_one_work+0x177/0x340
Apr 30 03:14:48 fedora kernel:  worker_thread+0x255/0x390
Apr 30 03:14:48 fedora kernel:  ? __pfx_worker_thread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  kthread+0xec/0x230
Apr 30 03:14:48 fedora kernel:  ? __pfx_kthread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  ret_from_fork+0x31/0x50
Apr 30 03:14:48 fedora kernel:  ? __pfx_kthread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  ret_from_fork_asm+0x1a/0x30
Apr 30 03:14:48 fedora kernel:  </TASK>
Apr 30 03:14:48 fedora kernel: ---[ end trace 0000000000000000 ]---
Apr 30 03:14:48 fedora kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
Apr 30 03:14:48 fedora kernel: #PF: supervisor read access in kernel mode
Apr 30 03:14:48 fedora kernel: #PF: error_code(0x0000) - not-present page
Apr 30 03:14:48 fedora kernel: PGD 0 P4D 0
Apr 30 03:14:48 fedora kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
Apr 30 03:14:48 fedora kernel: CPU: 2 UID: 0 PID: 86304 Comm: kworker/u97:0 Tainted: G        W  OE      6.14.3-300.fc42.x86_64 #1
Apr 30 03:14:48 fedora kernel: Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Apr 30 03:14:48 fedora kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E51/MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A24 01/20/2025
Apr 30 03:14:48 fedora kernel: Workqueue: events_unbound cfg80211_wiphy_work [cfg80211]
Apr 30 03:14:48 fedora kernel: RIP: 0010:ath12k_mac_remove_link_interface.isra.0+0x26/0x70 [ath12k]
Apr 30 03:14:48 fedora kernel: Code: 90 90 90 90 0f 1f 44 00 00 41 54 55 53 4c 8b a7 b8 02 00 00 48 89 fb 48 81 c7 d8 01 00 00 48 8b af 40 fe ff ff e8 6a 7c 04 cb <41> 83 3c 24 01 74 0f 48 89 de 48 89 ef 5b 5d 41 5c e9 a4 fc ff ff
Apr 30 03:14:48 fedora kernel: RSP: 0018:ffffbb0ac42c7de0 EFLAGS: 00010292
Apr 30 03:14:48 fedora kernel: RAX: 0000000000000000 RBX: ffff9df4c921a1a0 RCX: 0000000000000000
Apr 30 03:14:48 fedora kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9df4c921a378
Apr 30 03:14:48 fedora kernel: RBP: 0000000000000000 R08: ffff9df4c2e082c0 R09: 8080808080808080
Apr 30 03:14:48 fedora kernel: R10: ffff9df4c02402c0 R11: ffff9df4c2e082c0 R12: 0000000000000000
Apr 30 03:14:48 fedora kernel: R13: ffff9df4c0908e05 R14: 0000000000000000 R15: ffff9df4fadb8378
Apr 30 03:14:48 fedora kernel: FS:  0000000000000000(0000) GS:ffff9e035f500000(0000) knlGS:0000000000000000
Apr 30 03:14:48 fedora kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 30 03:14:48 fedora kernel: CR2: 0000000000000000 CR3: 00000004ba82c000 CR4: 0000000000f50ef0
Apr 30 03:14:48 fedora kernel: PKRU: 55555554
Apr 30 03:14:48 fedora kernel: Call Trace:
Apr 30 03:14:48 fedora kernel:  <TASK>
Apr 30 03:14:48 fedora kernel:  ath12k_scan_vdev_clean_work+0x8b/0xd0 [ath12k]
Apr 30 03:14:48 fedora kernel:  cfg80211_wiphy_work+0x11b/0x190 [cfg80211]
Apr 30 03:14:48 fedora kernel:  process_one_work+0x177/0x340
Apr 30 03:14:48 fedora kernel:  worker_thread+0x255/0x390
Apr 30 03:14:48 fedora kernel:  ? __pfx_worker_thread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  kthread+0xec/0x230
Apr 30 03:14:48 fedora kernel:  ? __pfx_kthread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  ret_from_fork+0x31/0x50
Apr 30 03:14:48 fedora kernel:  ? __pfx_kthread+0x10/0x10
Apr 30 03:14:48 fedora kernel:  ret_from_fork_asm+0x1a/0x30
Apr 30 03:14:48 fedora kernel:  </TASK>
Apr 30 03:14:48 fedora kernel: Modules linked in: michael_mic uinput rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables ip_set sunrpc ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci bnep nvidia_drm(OE) nvidia_modeset(OE) nvidia_uvm(OE) binfmt_misc vfat qrtr_mhi fat nvidia(OE) qrtr amd_atl intel_rapl_msr intel_rapl_common ath12k qmi_helpers snd_hda_codec_hdmi mac80211 snd_usb_audio snd_hda_intel edac_mce_amd snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec btusb snd_usbmidi_lib kvm_amd btrtl mc snd_hda_core btintel snd_ump btbcm snd_rawmidi snd_hwdep btmtk libarc4 spd5118 snd_seq kvm cfg80211 snd_seq_device bluetooth snd_pcm irqbypass snd_timer i2c_piix4 thunderbolt rapl wmi_bmof pcspkr i2c_smbus joydev k10temp r8169 snd rfkill mhi realtek soundcore gpio_amdpt gpio_generic loop nfnetlink zram lz4hc_compress
Apr 30 03:14:48 fedora kernel:  lz4_compress amdgpu hid_logitech_hidpp amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_panel_backlight_quirks drm_buddy drm_display_helper polyval_clmulni nvme polyval_generic ghash_clmulni_intel sha512_ssse3 sha256_ssse3 nvme_core sha1_ssse3 cec sp5100_tco nvme_auth video wmi hid_logitech_dj pkcs8_key_parser fuse i2c_dev
Apr 30 03:14:48 fedora kernel: CR2: 0000000000000000
Apr 30 03:14:48 fedora kernel: ---[ end trace 0000000000000000 ]---
Apr 30 03:14:48 fedora kernel: RIP: 0010:ath12k_mac_remove_link_interface.isra.0+0x26/0x70 [ath12k]
Apr 30 03:14:48 fedora kernel: Code: 90 90 90 90 0f 1f 44 00 00 41 54 55 53 4c 8b a7 b8 02 00 00 48 89 fb 48 81 c7 d8 01 00 00 48 8b af 40 fe ff ff e8 6a 7c 04 cb <41> 83 3c 24 01 74 0f 48 89 de 48 89 ef 5b 5d 41 5c e9 a4 fc ff ff
Apr 30 03:14:48 fedora kernel: RSP: 0018:ffffbb0ac42c7de0 EFLAGS: 00010292
Apr 30 03:14:48 fedora kernel: RAX: 0000000000000000 RBX: ffff9df4c921a1a0 RCX: 0000000000000000
Apr 30 03:14:48 fedora kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9df4c921a378
Apr 30 03:14:48 fedora kernel: RBP: 0000000000000000 R08: ffff9df4c2e082c0 R09: 8080808080808080
Apr 30 03:14:48 fedora kernel: R10: ffff9df4c02402c0 R11: ffff9df4c2e082c0 R12: 0000000000000000
Apr 30 03:14:48 fedora kernel: R13: ffff9df4c0908e05 R14: 0000000000000000 R15: ffff9df4fadb8378
Apr 30 03:14:48 fedora kernel: FS:  0000000000000000(0000) GS:ffff9e035f500000(0000) knlGS:0000000000000000
Apr 30 03:14:48 fedora kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 30 03:14:48 fedora kernel: CR2: 0000000000000000 CR3: 00000004ba82c000 CR4: 0000000000f50ef0
Apr 30 03:14:48 fedora kernel: PKRU: 55555554
Apr 30 03:14:48 fedora kernel: note: kworker/u97:0[86304] exited with irqs disabled
Apr 30 03:14:51 fedora abrt-dump-journal-oops[1655]: Reported 2 kernel oopses to Abrt

seems to be something wrong with the qualcomm driver causing a system freeze

Problem also present on 6.14.5

This topic is for ath11k, your logs show you are using ath12k. Please open a new topic with ath12k in title.

@usagemonkey was the original poster, so this topic was always about their issue. If that issue was about ath12k, then this topic is about ath12k, we should not ask OP to create new topics.

The original topic was for ath11k.