You are not logged in.

#1 2022-12-23 04:49:10

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

[SOLVED] Kernel 6.1.1-arch1-1 ath9k Call Trace

With Linux kernel 6.1.1, I see this Call Trace in journal log:

dic 23 00:52:36 adriik-dell kernel: ------------[ cut here ]------------
dic 23 00:52:36 adriik-dell kernel: memcpy: detected field-spanning write (size 32) of single field "hk.kv_val" at drivers/net/wireless/ath/key.c:506 (size 16)
dic 23 00:52:36 adriik-dell kernel: WARNING: CPU: 3 PID: 558 at drivers/net/wireless/ath/key.c:506 ath_key_config+0x3f7/0x440 [ath]
dic 23 00:52:36 adriik-dell kernel: Modules linked in: ccm snd_hda_codec_hdmi rtsx_usb_ms ath3k memstick uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops btbcm btintel videobuf2_v4l2 btmtk videobuf2_common videodev bluetooth mc ecdh_generic snd_soc_avs snd_soc_hda_codec snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_tcc_cooling snd_soc_acpi x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_core kvm_intel snd_compress joydev snd_ctl_led kvm ac97_bus snd_hda_codec_realtek ath9k snd_pcm_dmaengine snd_hda_codec_generic irqbypass ath9k_common crct10dif_pclmul mousedev crc32_pclmul snd_hda_intel polyval_clmulni ath9k_hw snd_intel_dspcfg polyval_generic gf128mul snd_intel_sdw_acpi ath ghash_clmulni_intel snd_hda_codec intel_hid mac80211 sha512_ssse3 processor_thermal_device_pci_legacy iTCO_wdt snd_hda_core aesni_intel dell_laptop libarc4 processor_thermal_device intel_pmc_bxt hid_rmi crypto_simd rmi_core ee1004 intel_rapl_msr
dic 23 00:52:36 adriik-dell kernel:  iTCO_vendor_support mei_pxp mei_hdcp processor_thermal_rfim r8169 snd_hwdep cryptd dell_smm_hwmon processor_thermal_mbox rapl dell_wmi snd_pcm realtek processor_thermal_rapl dell_smbios intel_cstate intel_uncore psmouse dcdbas pcspkr ledtrig_audio intel_rapl_common cfg80211 i2c_i801 snd_timer mdio_devres dell_wmi_descriptor wmi_bmof sparse_keymap snd int340x_thermal_zone intel_lpss_pci i2c_smbus mei_me soundcore libphy intel_lpss rfkill vfat i2c_hid_acpi intel_xhci_usb_role_switch mei fat intel_pch_thermal roles intel_soc_dts_iosf idma64 i2c_hid int3400_thermal acpi_thermal_rel acpi_pad mac_hid ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip6table_filter ip6_tables iptable_filter dm_multipath dm_mod sg crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_usb_sdmmc mmc_core rtsx_usb i915 serio_raw
dic 23 00:52:36 adriik-dell kernel:  atkbd libps2 vivaldi_fmap drm_buddy intel_gtt xhci_pci crc32c_intel drm_display_helper cec video xhci_pci_renesas ttm i8042 serio wmi
dic 23 00:52:36 adriik-dell kernel: CPU: 3 PID: 558 Comm: wpa_supplicant Not tainted 6.1.1-arch1-1 #1 9bd09188b430be630e611f984454e4f3c489be77
dic 23 00:52:36 adriik-dell kernel: Hardware name: Dell Inc. Inspiron 14-3467/0JXKVV, BIOS 2.9.0 01/17/2019
dic 23 00:52:36 adriik-dell kernel: RIP: 0010:ath_key_config+0x3f7/0x440 [ath]
dic 23 00:52:36 adriik-dell kernel: Code: 00 00 0f 85 e1 fc ff ff b9 10 00 00 00 48 c7 c2 78 53 ba c0 48 89 ee 48 c7 c7 b0 53 ba c0 c6 05 46 56 00 00 01 e8 f4 0a 62 c9 <0f> 0b e9 b8 fc ff ff 0f be 6b 0f e9 2b fd ff ff 48 c7 c2 10 56 ba
dic 23 00:52:36 adriik-dell kernel: RSP: 0018:ffffad4ec095f708 EFLAGS: 00010286
dic 23 00:52:36 adriik-dell kernel: RAX: 0000000000000000 RBX: ffff8dfc54826630 RCX: 0000000000000027
dic 23 00:52:36 adriik-dell kernel: RDX: ffff8dfc8b5a1668 RSI: 0000000000000001 RDI: ffff8dfc8b5a1660
dic 23 00:52:36 adriik-dell kernel: RBP: 0000000000000020 R08: 0000000000000000 R09: ffffad4ec095f590
dic 23 00:52:36 adriik-dell kernel: R10: 0000000000000003 R11: ffffffff8b4cb768 R12: ffff8dfc47184078
dic 23 00:52:36 adriik-dell kernel: R13: 0000000000000000 R14: ffff8dfc441bdba8 R15: ffff8dfc54826644
dic 23 00:52:36 adriik-dell kernel: FS:  00007f35ba06dc00(0000) GS:ffff8dfc8b580000(0000) knlGS:0000000000000000
dic 23 00:52:36 adriik-dell kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
dic 23 00:52:36 adriik-dell kernel: CR2: 00005601cf6b8290 CR3: 0000000102e5c006 CR4: 00000000003706e0
dic 23 00:52:36 adriik-dell kernel: Call Trace:
dic 23 00:52:36 adriik-dell kernel:  <TASK>
dic 23 00:52:36 adriik-dell kernel:  ath9k_set_key+0x1e6/0x2f0 [ath9k 34fd89e5111ea79db103ccb12bdddb1c05865756]
dic 23 00:52:36 adriik-dell kernel:  drv_set_key+0xa5/0x1b0 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  ieee80211_key_enable_hw_accel+0x15e/0x2a0 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  ieee80211_key_replace+0x22d/0x8b0 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  ? synchronize_rcu+0x75/0xb0
dic 23 00:52:36 adriik-dell kernel:  ? __call_rcu_nocb_wake+0x2b0/0x2b0
dic 23 00:52:36 adriik-dell kernel:  ieee80211_key_link+0x237/0x390 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  ? __kmalloc+0x4d/0x150
dic 23 00:52:36 adriik-dell kernel:  ? ieee80211_key_alloc+0x12d/0x3c0 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  ieee80211_add_key+0x17b/0x300 [mac80211 2aa67d625369245e01884f2b0dc759eae5c20c7f]
dic 23 00:52:36 adriik-dell kernel:  nl80211_new_key+0x216/0x390 [cfg80211 5e9ae944bff665674dd710fdea59d3a8ecca8922]
dic 23 00:52:36 adriik-dell kernel:  genl_family_rcv_msg_doit+0xfd/0x160
dic 23 00:52:36 adriik-dell kernel:  genl_rcv_msg+0x126/0x250
dic 23 00:52:36 adriik-dell kernel:  ? nl80211_msg_put_channel+0x650/0x650 [cfg80211 5e9ae944bff665674dd710fdea59d3a8ecca8922]
dic 23 00:52:36 adriik-dell kernel:  ? genl_start+0x170/0x170
dic 23 00:52:36 adriik-dell kernel:  netlink_rcv_skb+0x52/0x100
dic 23 00:52:36 adriik-dell kernel:  genl_rcv+0x28/0x40
dic 23 00:52:36 adriik-dell kernel:  netlink_unicast+0x243/0x390
dic 23 00:52:36 adriik-dell kernel:  netlink_sendmsg+0x254/0x4d0
dic 23 00:52:36 adriik-dell kernel:  sock_sendmsg+0x60/0x70
dic 23 00:52:36 adriik-dell kernel:  ____sys_sendmsg+0x277/0x2f0
dic 23 00:52:36 adriik-dell kernel:  ? copy_msghdr_from_user+0x7d/0xc0
dic 23 00:52:36 adriik-dell kernel:  ___sys_sendmsg+0x9a/0xe0
dic 23 00:52:36 adriik-dell kernel:  __sys_sendmsg+0x7a/0xd0
dic 23 00:52:36 adriik-dell kernel:  do_syscall_64+0x5c/0x90
dic 23 00:52:36 adriik-dell kernel:  ? syscall_exit_to_user_mode+0x1b/0x40
dic 23 00:52:36 adriik-dell kernel:  ? do_syscall_64+0x6b/0x90
dic 23 00:52:36 adriik-dell kernel:  ? do_syscall_64+0x6b/0x90
dic 23 00:52:36 adriik-dell kernel:  ? exc_page_fault+0x74/0x170
dic 23 00:52:36 adriik-dell kernel:  entry_SYSCALL_64_after_hwframe+0x63/0xcd
dic 23 00:52:36 adriik-dell kernel: RIP: 0033:0x7f35b9b22da4
dic 23 00:52:36 adriik-dell kernel: Code: 15 e9 df 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 80 3d 7d 67 0d 00 00 74 13 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 89 54 24 1c 48 89
dic 23 00:52:36 adriik-dell kernel: RSP: 002b:00007ffde287cfe8 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
dic 23 00:52:36 adriik-dell kernel: RAX: ffffffffffffffda RBX: 0000561442f7a8f0 RCX: 00007f35b9b22da4
dic 23 00:52:36 adriik-dell kernel: RDX: 0000000000000000 RSI: 00007ffde287d020 RDI: 0000000000000006
dic 23 00:52:36 adriik-dell kernel: RBP: 0000561442ff8170 R08: 0000000000000004 R09: 00007f35b9bf2220
dic 23 00:52:36 adriik-dell kernel: R10: 00007ffde287d100 R11: 0000000000000202 R12: 0000561442f7abd0
dic 23 00:52:36 adriik-dell kernel: R13: 00007ffde287d020 R14: 0000000000000000 R15: 00007ffde287d100
dic 23 00:52:36 adriik-dell kernel:  </TASK>
dic 23 00:52:36 adriik-dell kernel: ---[ end trace 0000000000000000 ]---

Complete log: https://0x0.st/o5Wo.txt

When I saw that call trace, I thought the problem was the same as previous kernel versions, where randomly when I boot the system, the wifi just didn't work and the system was unresponsive: https://0x0.st/o5WH.txt
Or sometimes when wifi cuts off: https://0x0.st/o5W8.txt
Context problem of that issue: https://bbs.archlinux.org/viewtopic.php?id=276765 (and sorry for not mentioning that the problem was still there. They happened a few times and I ended up forgetting about it.)

But now, I don't have any problems with wifi. The system is ok, I can use it normally.
So, my question is: What's the issue? I'm trying to understand the call trace, but I can't.

LTS kernel doesn't have this issue: https://0x0.st/o5WX.txt

Last edited by Adriik (2022-12-23 21:48:44)


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#2 2022-12-23 12:34:29

loqs
Member
Registered: 2014-03-06
Posts: 17,714

Re: [SOLVED] Kernel 6.1.1-arch1-1 ath9k Call Trace

Offline

#3 2022-12-23 21:48:26

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

Re: [SOLVED] Kernel 6.1.1-arch1-1 ath9k Call Trace

Thanks for the link.

So, how the link says: "This change ONLY adds a run-time warning. As false positives are currently still expected, this will not block the overflow."
I can just ignore it, right? If that the case, I'm going to mark the thread as solved.


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

Board footer

Powered by FluxBB