You are not logged in.
I'm reporting a recurring kernel panic issue on my system related to the mt7921e driver (MediaTek Wi-Fi card). This crash is happening more frequently now, so I decided it was time to report it.
System Info:
Kernel: 6.15.3-arch1-1
Architecture: x86_64
Laptop Model: ASUS ROG Strix G513IC
Wi-Fi Adapter: MediaTek MT7921E
Driver in use: mt7921e (from the mt76 stack)Crash Summary:
[ 6017.935764] mt7921e 0000:03:00.0: driver own failed
[ 6023.964383] mt7921e 0000:03:00.0: Timeout for driver own
[ 6023.964401] mt7921e 0000:03:00.0: chip reset failed
[ 6023.964444] BUG: unable to handle page fault for address: ffffd0f981d67ff0
[ 6023.965230] Kernel panic - not syncing: Fatal exception in interruptThe crash appears to stem from a null pointer dereference in mt76_dma_add_buf() in the mt76 driver:
RIP: mt76_dma_add_buf.isra.0+0x88/0x1f0 [mt76]This seems to occur when the card fails to respond during a MAC reset (via mt7921_mac_reset_work). I’ve attached the full trace if needed.
Upon scanning the QR showed on the blue screen of death i got this:
Panic Report
Arch: x86_64
Version: 6.15.3-arch1-1
[ 6017.935764] mt7921e 0000:03:00.0: driver own failed
[ 6019.216437] mt7921e 0000:03:00.0: Timeout for driver own
[ 6020.387623] mt7921e 0000:03:00.0: driver own failed
[ 6021.661386] mt7921e 0000:03:00.0: Timeout for driver own
[ 6022.708373] mt7921e 0000:03:00.0: driver own failed
[ 6023.964383] mt7921e 0000:03:00.0: Timeout for driver own
[ 6023.964401] mt7921e 0000:03:00.0: chip reset failed
[ 6023.964434] wlp3s0: Driver requested disconnection from AP b2:72:05:87:93:2b
[ 6023.964444] BUG: unable to handle page fault for address: ffffd0f981d67ff0
[ 6023.964451] #PF: supervisor write access in kernel mode
[ 6023.964455] #PF: error_code(0x0002) - not-present page
[ 6023.964458] PGD 100000067 P4D 100000067 PUD 100268067 PMD 10ac3b067 PTE 0
[ 6023.964467] Oops: Oops: 0002 [#1] SMP NOPTI
[ 6023.964475] CPU: 6 UID: 0 PID: 71439 Comm: kworker/u64:0 Tainted: G W 6.15.3-arch1-1 #1 PREEMPT(full) d8e4be090634982aecb41eb415d6a2689ce50bdb
[ 6023.964483] Tainted: [W]=WARN
[ 6023.964486] Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513IC_G513IC/G513IC, BIOS G513IC.329 03/01/2023
[ 6023.964490] Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
[ 6023.964522] RIP: 0010:mt76_dma_add_buf.isra.0+0x88/0x1f0 [mt76]
[ 6023.964558] Code: 60 ff 83 e8 02 4c 89 54 24 10 45 31 c9 89 44 24 0c 44 0f b7 47 2a 48 89 4c 24 18 eb 3a 89 c1 80 cd 40 44 39 4c 24 0c 0f 44 c1 <45> 89 28 41 83 c1 02 48 83 c6 20 45 89 78 08 41 89 68 0c 41 89 40
[ 6023.964562] RSP: 0018:ffffd0f99d037be8 EFLAGS: 00010206
[ 6023.964566] RAX: 0000000040400000 RBX: 0000000000000000 RCX: ffff8e1e591ec000
[ 6023.964569] RDX: 0000000000000000 RSI: ffffd0f99d037c40 RDI: ffff8e1e48ddf2e8
[ 6023.964571] RBP: 0000000000000000 R08: ffffd0f981d67ff0 R09: 0000000000000000
[ 6023.964574] R10: 00000000004ffe02 R11: 0000000000400000 R12: 0000000000000000
[ 6023.964576] R13: 00000000ff58a910 R14: 000000000000ffff R15: 0000000000000000
[ 6023.964580] FS: 0000000000000000(0000) GS:ffff8e216b8af000(0000) knlGS:0000000000000000
[ 6023.964584] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6023.964585] CR2: ffffd0f981d67ff0 CR3: 0000000136d2b000 CR4: 0000000000350ef0
[ 6023.964589] Call Trace:
[ 6023.964598] <TASK>
[ 6023.964606] mt76_dma_tx_queue_skb_raw+0x116/0x1b0 [mt76 74305b71e6d943ad04e0b0752fe03ade5abd1c70]
[ 6023.964618] mt76_mcu_skb_send_and_get_msg+0xf7/0x280 [mt76 74305b71e6d943ad04e0b0752fe03ade5abd1c70]
[ 6023.964632] mt76_connac_mcu_uni_add_dev+0x156/0x200 [mt76_connac_lib c37c7bdcfc7f56f62663e4de5e23d17a1db2e578]
[ 6023.964662] mt7921_vif_connect_iter+0x46/0xc0 [mt7921_common eeef7daa2b40156ed321d6531f12d0a555d8c4d2]
[ 6023.964670] __iterate_interfaces+0x90/0x130 [mac80211 d3e2617404634cbf95a51501b9639e9ff65fa92d]
[ 6023.964831] ? __pfx_mt7921_vif_connect_iter+0x10/0x10 [mt7921_common eeef7daa2b40156ed321d6531f12d0a555d8c4d2]
[ 6023.964840] ieee80211_iterate_interfaces+0x40/0x60 [mac80211 d3e2617404634cbf95a51501b9639e9ff65fa92d]
[ 6023.964882] ? __pfx_mt7921_vif_connect_iter+0x10/0x10 [mt7921_common eeef7daa2b40156ed321d6531f12d0a555d8c4d2]
[ 6023.964887] mt7921_mac_reset_work+0x101/0x180 [mt7921_common eeef7daa2b40156ed321d6531f12d0a555d8c4d2]
[ 6023.964893] ? srso_return_thunk+0x5/0x5f
[ 6023.964904] process_one_work+0x193/0x350
[ 6023.964913] worker_thread+0x2d7/0x410
[ 6023.964917] ? __pfx_worker_thread+0x10/0x10
[ 6023.964921] kthread+0xfc/0x240
[ 6023.964926] ? __pfx_kthread+0x10/0x10
[ 6023.964929] ret_from_fork+0x34/0x50
[ 6023.964936] ? __pfx_kthread+0x10/0x10
[ 6023.964939] ret_from_fork_asm+0x1a/0x30
[ 6023.964950] </TASK>
[ 6023.964953] Modules linked in: uinput snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg bnep vfat fat snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt amd_atl intel_rapl_msr snd_sof_amd_renoir snd_sof_amd_acp intel_rapl_common snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps snd_soc_acpi_amd_match snd_amd_sdw_acpi soundwire_amd kvm_amd mt7921e soundwire_generic_allocation soundwire_bus mt7921_common snd_soc_sdca mt792x_lib kvm snd_soc_core mt76_connac_lib irqbypass snd_compress snd_hda_codec_realtek ac97_bus mt76 polyval_clmulni snd_hda_codec_generic snd_pcm_dmaengine polyval_generic snd_rpl_pci_acp6x ghash_clmulni_intel snd_hda_scodec_component snd_hda_codec_hdmi snd_acp_pci btusb sha512_ssse3 snd_amd_acpi_mach snd_hda_intel btrtl sha256_ssse3 snd_acp_legacy_common mac80211 snd_intel_dspcfg mousedev btintel snd_pci_acp6x sha1_ssse3 snd_intel_sdw_acpi r8169 snd_pci_acp5x ee1004 aesni_intel btbcm snd_rn_pci_acp3x snd_hda_codec
[ 6023.965063] sp5100_tco realtek btmtk crypto_simd libarc4 ucsi_acpi snd_acp_config hid_multitouch snd_hda_core i2c_piix4 cryptd mdio_devres typec_ucsi snd_soc_acpi bluetooth cfg80211 asus_nb_wmi psmouse rapl wmi_bmof pcspkr typec libphy i2c_smbus ccp snd_hwdep snd_pci_acp3x k10temp joydev roles i2c_hid_acpi i2c_hid amd_pmc asus_wireless mac_hid snd_aloop snd_pcm snd_timer snd soundcore videodev mc crypto_user loop dm_mod nfnetlink ip_tables x_tables hid_asus asus_wmi sparse_keymap platform_profile rfkill amdgpu nouveau drm_gpuvm mxm_wmi amdxcp i2c_algo_bit drm_ttm_helper ttm drm_suballoc_helper drm_exec drm_panel_backlight_quirks nvme gpu_sched drm_buddy nvme_core drm_display_helper nvme_keyring serio_raw video cec nvme_auth wmi
[ 6023.965170] CR2: ffffd0f981d67ff0
[ 6023.965179] ---[ end trace 0000000000000000 ]---
[ 6023.965187] RIP: 0010:mt76_dma_add_buf.isra.0+0x88/0x1f0 [mt76]
[ 6023.965203] Code: 60 ff 83 e8 02 4c 89 54 24 10 45 31 c9 89 44 24 0c 44 0f b7 47 2a 48 89 4c 24 18 eb 3a 89 c1 80 cd 40 44 39 4c 24 0c 0f 44 c1 <45> 89 28 41 83 c1 02 48 83 c6 20 45 89 78 08 41 89 68 0c 41 89 40
[ 6023.965206] RSP: 0018:ffffd0f99d037be8 EFLAGS: 00010206
[ 6023.965210] RAX: 0000000040400000 RBX: 0000000000000000 RCX: ffff8e1e591ec000
[ 6023.965212] RDX: 0000000000000000 RSI: ffffd0f99d037c40 RDI: ffff8e1e48ddf2e8
[ 6023.965215] RBP: 0000000000000000 R08: ffffd0f981d67ff0 R09: 0000000000000000
[ 6023.965217] R10: 00000000004ffe02 R11: 0000000000400000 R12: 0000000000000000
[ 6023.965219] R13: 00000000ff58a910 R14: 000000000000ffff R15: 0000000000000000
[ 6023.965221] FS: 0000000000000000(0000) GS:ffff8e216b8af000(0000) knlGS:0000000000000000
[ 6023.965224] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6023.965226] CR2: ffffd0f981d67ff0 CR3: 0000000136d2b000 CR4: 0000000000350ef0
[ 6023.965230] Kernel panic - not syncing: Fatal exception in interrupt
[ 6023.965325] Kernel Offset: 0x2fa00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)Last edited by beast41514 (2025-06-29 17:41:43)
Offline
Online