View Issue Details

IDProjectCategoryView StatusLast Update
0004610Kali LinuxGeneral Bugpublic2018-08-23 21:38
ReporterMister_X Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2018.1 
Summary0004610: Kernel oops after a few secs when plugging ath9k_htc on linux-4.14.17 in ieee80211_rx_napi
Description

When plugging a TP-Link WN722N v1.0 on 2018.1, a kernel oops is displayed in dmesg.

It doesn't seem to affect packet injection/capture.

Steps To Reproduce
  1. Boot Kali VM
  2. Login
  3. Plug the card
  4. Wait a little bit
  5. Check dmesg

Leave it plugged and it will keep displaying more of those oops.

Note: Using VMware Workstation Pro 12.5.9.

Additional Information

[ 80.868672] e1000: eth0 NIC Link is Down
[ 81.000742] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 81.436482] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
[ 81.436489] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 81.436493] usb 1-1: Product: USB2.0 WLAN
[ 81.436497] usb 1-1: Manufacturer: ATHEROS
[ 81.436500] usb 1-1: SerialNumber: 12345
[ 81.525858] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.dev.0.fw requested
[ 81.526466] usbcore: registered new interface driver ath9k_htc
[ 81.527107] usb 1-1: firmware: direct-loading firmware ath9k_htc/htc_9271-1.dev.0.fw
[ 81.824783] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.dev.0.fw, size: 51008
[ 82.084801] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[ 82.590685] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[ 82.590689] ath9k_htc 1-1:1.0: FW RMW support: On
[ 82.590691] ath: EEPROM regdomain: 0x809c
[ 82.590692] ath: EEPROM indicates we should expect a country code
[ 82.590693] ath: doing EEPROM country->regdmn map search
[ 82.590694] ath: country maps to regdmn code: 0x52
[ 82.590696] ath: Country alpha2 being used: CN
[ 82.590697] ath: Regpair used: 0x52
[ 82.618740] ieee80211 phy0: Atheros AR9271 Rev:1
[ 82.660819] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 83.182860] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 83.888577] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 83.928392] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 86.922228] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 111.688587] ------------[ cut here ]------------
[ 111.688611] WARNING: CPU: 1 PID: 0 at /build/linux-Zpo6LU/linux-4.14.17/net/mac80211/rx.c:629 ieee80211_rx_napi+0x8c4/0x9f0 [mac80211]
[ 111.688612] Modules linked in: arc4 ath9k_htc ath9k_common ath9k_hw ath mac80211 cfg80211 rfkill hid_generic usbhid hid vmw_vsock_vmci_transport vsock vmwgfx coretemp ttm vmw_balloon intel_rapl_perf evdev joydev pcspkr drm_kms_helper serio_raw snd_ens1371 drm vmw_vmci snd_ac97_codec ac97_bus gameport snd_rawmidi snd_seq_device sg snd_pcm snd_timer snd soundcore shpchp binfmt_misc button ac fuse ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb sd_mod ata_generic crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc aesni_intel uhci_hcd ehci_pci aes_x86_64 crypto_simd glue_helper cryptd psmouse ata_piix ehci_hcd usbcore usb_common e1000 i2c_piix4 mptspi scsi_transport_spi libata mptscsih mptbase scsi_mod
[ 111.688653] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.0-kali3-amd64 0000001 Debian 4.14.17-1kali1
[ 111.688654] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/02/2015
[ 111.688655] task: ffff8f187cd45000 task.stack: ffffb5bcc039c000
[ 111.688666] RIP: 0010:ieee80211_rx_napi+0x8c4/0x9f0 [mac80211]
[ 111.688667] RSP: 0018:ffff8f187fd03df0 EFLAGS: 00010246
[ 111.688669] RAX: 0000000000010000 RBX: ffff8f187a1f4400 RCX: 0000000000000002
[ 111.688669] RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffffffc057e000
[ 111.688670] RBP: ffff8f187a238780 R08: ffff8f187fd03e58 R09: ffff8f187754c000
[ 111.688671] R10: 000000000000001d R11: 0000000000000000 R12: 0000000000000000
[ 111.688672] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000004
[ 111.688673] FS: 0000000000000000(0000) GS:ffff8f187fd00000(0000) knlGS:0000000000000000
[ 111.688674] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 111.688675] CR2: 000055e9225fffe0 CR3: 000000000de0a006 CR4: 00000000003606e0
[ 111.688715] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 111.688716] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 111.688717] Call Trace:
[ 111.688720] <IRQ>
[ 111.688725] ? ath9k_rx_prepare.isra.10+0x226/0x270 [ath9k_htc]
[ 111.688730] ? enqueue_hrtimer+0x37/0x80
[ 111.688733] ath9k_rx_tasklet+0x17e/0x1e0 [ath9k_htc]
[ 111.688736] tasklet_action+0x5f/0x110
[ 111.688740] __do_softirq+0xde/0x2b3
[ 111.688742] irq_exit+0xae/0xb0
[ 111.688744] do_IRQ+0x81/0xd0
[ 111.688746] common_interrupt+0x98/0x98
[ 111.688748] </IRQ>
[ 111.688749] RIP: 0010:native_safe_halt+0x2/0x10
[ 111.688750] RSP: 0018:ffffb5bcc039fed0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff6b
[ 111.688752] RAX: ffffffff87c8b0c0 RBX: ffffffff887164e0 RCX: 0000000000000000
[ 111.688752] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 111.688753] RBP: 0000000000000001 R08: 00000019eb7c23cb R09: ffff8f1877d72b00
[ 111.688754] R10: 0000000000000000 R11: 000000808ca25544 R12: 0000000000000000
[ 111.688754] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 111.688756] ? __cpuidle_text_start+0x8/0x8
[ 111.688758] default_idle+0x1a/0x100
[ 111.688761] do_idle+0x167/0x1e0
[ 111.688763] cpu_startup_entry+0x6f/0x80
[ 111.688773] start_secondary+0x1a9/0x200
[ 111.688775] secondary_startup_64+0xa5/0xb0
[ 111.688776] Code: e8 72 56 3f c7 48 85 c0 0f 84 b7 fa ff ff 48 8b 54 24 40 4c 8b b3 d8 00 00 00 44 8b 44 24 10 4c 8b ba d8 00 00 00 e9 93 f9 ff ff <0f> ff 48 89 df e8 c2 34 3f c7 e9 00 f8 ff ff 48 89 de 48 89 ef
[ 111.688803] ---[ end trace 993f4de489ba5656 ]---

Activities

Mister_X

Mister_X

2018-03-07 02:22

reporter   ~0008880

Happens on real hardware too (different computer). Tested Kali light 2018 Weekly W10.

Mister_X

Mister_X

2018-03-07 16:45

reporter   ~0008883

According to steev, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.14.y&amp;id=ebf7d035c39a70756a9b68a6a670ee8a39ecc586 might help.

It was added in 4.14.22 (Kali is at 4.14.17).

Mister_X

Mister_X

2018-08-23 19:51

reporter   ~0009515

It can be closed, it doesn't seem to happen on 4.17.

Issue History

Date Modified Username Field Change
2018-03-07 01:05 Mister_X New Issue
2018-03-07 02:22 Mister_X Note Added: 0008880
2018-03-07 16:45 Mister_X Note Added: 0008883
2018-08-23 19:51 Mister_X Note Added: 0009515
2018-08-23 21:38 rhertzog Assigned To => rhertzog
2018-08-23 21:38 rhertzog Status new => closed
2018-08-23 21:38 rhertzog Resolution open => no change required