System crashes due to list_add double add at iwl_mvm_mac_wake_tx_queue+0x71

Solution Unverified - Updated -

Issue

  • System crashes with the following messages.

    [  210.692298] list_add double add: new=ffff942c5347c358, prev=ffff942c5347c358, next=ffff942c0767a780.
    [  210.692309] ------------[ cut here ]------------
    [  210.692310] kernel BUG at lib/list_debug.c:31!
    [  210.692315] invalid opcode: 0000 [#1] SMP PTI
    [  210.692317] CPU: 11 PID: 958 Comm: irq/189-iwlwifi Kdump: loaded Tainted: G           O     --------- -  - 4.18.0-372.9.1.el8.x86_64 #1
    [  210.692321] Hardware name: LENOVO 20QTCTO1WW/20QTCTO1WW, BIOS N2OET54W (1.41 ) 10/18/2021
    [  210.692322] RIP: 0010:__list_add_valid+0x41/0x50
    [  210.692328] Code: 85 94 00 00 00 48 39 c7 74 0b 48 39 d7 74 06 b8 01 00 00 00 c3 48 89 f2 4c 89 c1 48 89 fe 48 c7 c7 88 65 92 a9 e8 7b
    ee c9 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 8b 07 48 8b 57 08
    [  210.692331] RSP: 0018:ffffb8e3834c04f0 EFLAGS: 00010246
    [  210.692333] RAX: 0000000000000058 RBX: ffff942c5347c340 RCX: 0000000000000000
    [  210.692335] RDX: 0000000000000000 RSI: ffff94335c6d6758 RDI: ffff94335c6d6758
    [  210.692336] RBP: ffff942c5347c358 R08: 0000000000000000 R09: c0000000ffff7fff
    [  210.692338] R10: 0000000000000001 R11: ffffb8e3834c0310 R12: ffff942c0767a4c0
    [  210.692340] R13: ffff942c5347c358 R14: ffff942c0767a780 R15: ffff942c9000b9c0
    [  210.692341] FS:  0000000000000000(0000) GS:ffff94335c6c0000(0000) knlGS:0000000000000000
    [  210.692343] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  210.692345] CR2: 00007f3d78414550 CR3: 000000037d010002 CR4: 00000000003706e0
    [  210.692346] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [  210.692347] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    [  210.692348] Call Trace:
    [  210.692350]  <IRQ>
    [  210.692353]  iwl_mvm_mac_wake_tx_queue+0x71/0xb0 [iwlmvm]
    [  210.692364]  ieee80211_queue_skb+0x4af/0x6e0 [mac80211]
    [  210.692392]  __ieee80211_subif_start_xmit+0xadd/0xda0 [mac80211]
    [  210.692413]  ? 0xffffffffc1509000
    [  210.692417]  ieee80211_subif_start_xmit+0x48/0x300 [mac80211]
    [  210.692438]  ? nf_conntrack_tcp_packet+0x1d7/0xb90 [nf_conntrack]
    [  210.692446]  dev_hard_start_xmit+0xd7/0x230
    [  210.692450]  __dev_queue_xmit+0x90b/0xa40
    [  210.692453]  ip_finish_output2+0x269/0x430
    [  210.692457]  ? ipv4_confirm+0x3f/0xd0 [nf_conntrack]
    [  210.692464]  ip_output+0x70/0xe0
    [  210.692466]  ? __ip_finish_output+0x1c0/0x1c0
    [  210.692468]  ip_send_skb+0x15/0x40
    [  210.692470]  ip_send_unicast_reply+0x2c5/0x380
    [  210.692473]  ? _raw_spin_lock_irqsave+0x30/0x40
    [  210.692475]  ? lock_timer_base+0x67/0x80
    [  210.692478]  ? tcp_v4_send_reset+0x3fd/0x5a0
    [  210.692481]  tcp_v4_send_reset+0x3fd/0x5a0
    [  210.692484]  ? tcp_v4_do_rcv+0x1c1/0x1e0
    [  210.692486]  tcp_v4_do_rcv+0x1c1/0x1e0
    [  210.692488]  tcp_v4_rcv+0xb43/0xc50
    [  210.692491]  ip_protocol_deliver_rcu+0x2c/0x1d0
    [  210.692493]  ip_local_deliver_finish+0x4d/0x60
    [  210.692495]  ip_local_deliver+0xe0/0xf0
    [  210.692496]  ? ip_protocol_deliver_rcu+0x1d0/0x1d0
    [  210.692498]  ip_rcv+0x27b/0x36f
    [  210.692500]  ? inet_add_protocol.cold.1+0x1e/0x1e
    [  210.692501]  __netif_receive_skb_core+0xba0/0xcb0
    [  210.692504]  ? inet_gro_receive+0x21f/0x2c0
    [  210.692506]  ? gro_pull_from_frag0+0x3f/0xf0
    [  210.692508]  netif_receive_skb_internal+0x3d/0xb0
    [  210.692510]  napi_gro_receive+0x108/0x150
    [  210.692512]  ieee80211_rx_napi+0x76/0xb0 [mac80211]
    [  210.692535]  iwl_mvm_rx_mpdu_mq+0xdef/0x1990 [iwlmvm]
    [  210.692546]  iwl_pcie_rx_handle+0x1dc/0x760 [iwlwifi]
    [  210.692556]  iwl_pcie_napi_poll_msix+0x29/0xa0 [iwlwifi]
    [  210.692564]  __napi_poll+0x2d/0x130
    [  210.692566]  net_rx_action+0x253/0x320
    [  210.692569]  __do_softirq+0xd7/0x2c4
    [  210.692572]  ? irq_finalize_oneshot.part.48+0xf0/0xf0
    [  210.692575]  do_softirq_own_stack+0x2a/0x40
    [  210.692577]  </IRQ>
    [  210.692578]  do_softirq.part.14+0x41/0x50
    [  210.692581]  __local_bh_enable_ip+0x4b/0x50
    [  210.692584]  iwl_pcie_irq_rx_msix_handler+0x9c/0xf0 [iwlwifi]
    [  210.692591]  irq_thread_fn+0x1f/0x50
    [  210.692594]  irq_thread+0xd3/0x160
    [  210.692596]  ? irq_forced_thread_fn+0x70/0x70
    [  210.692599]  ? irq_thread_check_affinity+0xe0/0xe0
    [  210.692601]  kthread+0x10a/0x120
    [  210.692604]  ? set_kthread_struct+0x40/0x40
    [  210.692606]  ret_from_fork+0x1f/0x40
    [  210.692609] Modules linked in: uhid uinput rfcomm xt_CHECKSUM ipt_MASQUERADE ipt_REJECT bridge stp llc ccm nft_limit nft_counter eset_rtp(O) xt_limit xt_LOG nf_log_syslog xt_state xt_conntrack ip_tables nft_compat nf_nat_tftp nft_objref nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink cmac bnep sunrpc vfat fat rmi_smbus rmi_core snd_sof_pci_intel_cnl snd_sof_intel_hda_common snd_soc_hdac_hda soundwire_intel soundwire_generic_allocation soundwire_cadence intel_pmc_core_pltdrv iTCO_wdt snd_sof_intel_hda i2c_designware_platform intel_pmc_core snd_sof_pci mei_wdt iTCO_vendor_support i2c_designware_core intel_rapl_msr snd_sof_xtensa_dsp snd_sof soundwire_bus x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_skl kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp snd_ctl_led snd_hda_ext_core iwlmvm kvm
    [  210.692648]  snd_soc_acpi_intel_match snd_hda_codec_conexant snd_soc_acpi irqbypass snd_hda_codec_generic mac80211 snd_hda_codec_hdmi snd_soc_core snd_compress crc32_pclmul rapl intel_cstate uvcvideo snd_hda_intel libarc4 videobuf2_vmalloc videobuf2_memops snd_intel_dspcfg intel_uncore videobuf2_v4l2 snd_intel_sdw_acpi videobuf2_common snd_hda_codec btusb joydev wmi_bmof videodev snd_hda_core btrtl btbcm iwlwifi btintel intel_wmi_thunderbolt snd_hwdep pcspkr bluetooth snd_seq cfg80211 snd_seq_device i2c_i801 processor_thermal_device_pci_legacy snd_pcm rtsx_pci_ms intel_soc_dts_iosf memstick ecdh_generic idma64 mei_me processor_thermal_device mei processor_thermal_rfim snd_timer intel_pch_thermal processor_thermal_mbox processor_thermal_rapl intel_lpss_pci intel_rapl_common intel_lpss thinkpad_acpi ledtrig_audio snd soundcore rfkill int3403_thermal int340x_thermal_zone int3400_thermal acpi_pad acpi_thermal_rel xfs libcrc32c crct10dif_pclmul i915 nouveau crc32c_intel rtsx_pci_sdmmc
    [  210.692684]  mmc_core cec drm_ttm_helper intel_gtt mxm_wmi i2c_algo_bit ttm drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e serio_raw drm nvme nvme_core rtsx_pci t10_pi wmi video pinctrl_cannonlake dm_mirror dm_region_hash dm_log dm_mod ipmi_devintf ipmi_msghandler fuse
    

Environment

  • Red Hat Enterprise Linux 8
  • iwlwifi driver

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content