Bug 212297

Summary: WARNING: at kernel/softirq.c:178 __local_bh_enable_ip+0x97/0xd0
Product: Drivers Reporter: Chris Murphy (bugzilla)
Component: network-wireless-intelAssignee: Default virtual assignee for network-wireless-intel (drivers_network-wireless-intel)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.12.0-0.rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci -vvnn
dmesg

Description Chris Murphy 2021-03-16 00:44:42 UTC
kernel 5.12.0-0.rc3.170.fc35.x86_64+debug

6c:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)

[   10.427035] iwlwifi 0000:6c:00.0: loaded firmware version 36.ad812ee0.0 8000C-36.ucode op_mode iwlmvm


[   14.155291] ------------[ cut here ]------------
[   14.156547] WARNING: CPU: 0 PID: 766 at kernel/softirq.c:178 __local_bh_enable_ip+0x97/0xd0
[   14.157253] Modules linked in: nf_tables(+) nfnetlink ip6table_filter ip6_tables iptable_filter cmac bnep sunrpc snd_soc_skl iTCO_wdt mei_hdcp snd_soc_hdac_hda snd_hda_ext_core intel_pmc_bxt iTCO_vendor_support snd_soc_sst_ipc snd_soc_sst_dsp intel_rapl_msr snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic iwlmvm x86_pkg_temp_thermal snd_pcm_dmaengine ledtrig_audio ac97_bus intel_powerclamp coretemp snd_hda_intel mac80211 rapl intel_cstate snd_intel_dspcfg snd_intel_sdw_acpi intel_uncore libarc4 snd_hda_codec iwlwifi joydev hp_wmi snd_hda_core sparse_keymap uvcvideo snd_hwdep btusb videobuf2_vmalloc btrtl btbcm btintel videobuf2_memops snd_seq videobuf2_v4l2 videobuf2_common intel_wmi_thunderbolt wmi_bmof snd_seq_device bluetooth cfg80211 apple_mfi_fastcharge snd_pcm videodev snd_timer ecdh_generic snd mc i2c_i801 mei_me processor_thermal_device rfkill soundcore ecc i2c_smbus mei processor_thermal_rfim
[   14.157379]  intel_xhci_usb_role_switch processor_thermal_mbox processor_thermal_rapl intel_pch_thermal idma64 intel_rapl_common intel_soc_dts_iosf int3403_thermal int340x_thermal_zone int3400_thermal hp_wireless acpi_thermal_rel acpi_pad vfat fat zram ip_tables i915 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel i2c_algo_bit serio_raw drm_kms_helper cec nvme drm nvme_core wmi video pinctrl_sunrisepoint hid_apple fuse
[   14.163838] CPU: 0 PID: 766 Comm: NetworkManager Not tainted 5.12.0-0.rc3.170.fc35.x86_64+debug #1
[   14.164873] Hardware name: HP HP Spectre Notebook/81A0, BIOS F.44 11/25/2019
[   14.165909] RIP: 0010:__local_bh_enable_ip+0x97/0xd0
[   14.166940] Code: f3 76 a9 00 ff ff 00 74 36 65 ff 0d 73 24 f3 76 e8 5e f5 13 00 fb 66 0f 1f 44 00 00 5b 5d c3 65 8b 05 a9 2c f3 76 85 c0 75 9c <0f> 0b eb 98 e8 a0 f3 13 00 eb a7 48 89 ef e8 c6 37 07 00 eb b0 65
[   14.168068] RSP: 0018:ffffbc3f014ef2d8 EFLAGS: 00010046
[   14.169213] RAX: 0000000000000000 RBX: 0000000000000201 RCX: 0000000000000000
[   14.170361] RDX: 0000000000000003 RSI: 0000000000000201 RDI: ffffffffc0ae9d30
[   14.171481] RBP: ffffffffc0ae9d30 R08: 000000034bb891d9 R09: 0000000000000000
[   14.172607] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9f799c7cc000
[   14.173724] R13: ffff9f7989cf2c90 R14: ffffbc3f014ef460 R15: 0000000000000000
[   14.174851] FS:  00007f7d9f5b5bc0(0000) GS:ffff9f7b36600000(0000) knlGS:0000000000000000
[   14.175992] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.177136] CR2: 00007fdcca0bdd80 CR3: 0000000148106006 CR4: 00000000003706f0
[   14.178295] Call Trace:
[   14.179441]  iwl_pcie_enqueue_hcmd+0x580/0xb80 [iwlwifi]
[   14.180625]  iwl_trans_txq_send_hcmd+0x59/0x440 [iwlwifi]
[   14.181819]  iwl_trans_send_cmd+0x81/0x180 [iwlwifi]
[   14.182985]  ? led_trigger_event+0x28/0x70
[   14.184143]  iwl_mvm_send_cmd+0x28/0x80 [iwlmvm]
[   14.185315]  iwl_mvm_led_set+0x9c/0xc0 [iwlmvm]
[   14.186485]  ? lock_acquired+0xba/0x390
[   14.187635]  led_trigger_event+0x46/0x70
[   14.188776]  ieee80211_do_open+0x4c2/0x9e0 [mac80211]
[   14.189965]  ieee80211_open+0x69/0x90 [mac80211]
[   14.191149]  __dev_open+0xd4/0x1a0
[   14.192293]  __dev_change_flags+0x1c8/0x240
[   14.193447]  dev_change_flags+0x21/0x60
[   14.194595]  do_setlink+0x238/0x1110
[   14.195747]  ? lock_acquire+0xc2/0x3a0
[   14.196889]  ? lock_is_held_type+0xa7/0x120
[   14.198030]  ? __nla_validate_parse+0x4f/0xbf0
[   14.199179]  ? mark_held_locks+0x50/0x80
[   14.200336]  __rtnl_newlink+0x601/0x9b0
[   14.201482]  ? lock_acquire+0xc2/0x3a0
[   14.202611]  ? sock_def_readable+0x5/0x2a0
[   14.203757]  ? lock_is_held_type+0xa7/0x120
[   14.204879]  ? find_held_lock+0x32/0x90
[   14.206005]  ? sched_clock+0x5/0x10
[   14.207128]  ? sched_clock_cpu+0xc/0xb0
[   14.208247]  ? lock_release+0x280/0x410
[   14.209387]  ? trace_event_raw_event_lock_acquire+0x100/0x100
[   14.210523]  ? __bfs+0xf1/0x210
[   14.211694]  ? rcu_read_lock_sched_held+0x3f/0x80
[   14.212839]  ? trace_kmalloc+0xb2/0xe0
[   14.213977]  ? kmem_cache_alloc_trace+0x17c/0x240
[   14.215116]  rtnl_newlink+0x44/0x70
[   14.216252]  rtnetlink_rcv_msg+0x16e/0x480
[   14.217401]  ? find_held_lock+0x32/0x90
[   14.218529]  ? sched_clock+0x5/0x10
[   14.219651]  ? sched_clock_cpu+0xc/0xb0
[   14.220777]  ? rtnetlink_put_metrics+0x1c0/0x1c0
[   14.221916]  netlink_rcv_skb+0x50/0xf0
[   14.223042]  netlink_unicast+0x16d/0x230
[   14.224165]  netlink_sendmsg+0x24d/0x480
[   14.225291]  sock_sendmsg+0x5e/0x60
[   14.226424]  ____sys_sendmsg+0x22f/0x270
[   14.227548]  ? import_iovec+0x17/0x20
[   14.228670]  ? sendmsg_copy_msghdr+0x59/0x90
[   14.229800]  ___sys_sendmsg+0x81/0xc0
[   14.230911]  ? debug_object_active_state+0x5f/0x140
[   14.231985]  ? lock_acquire+0xc2/0x3a0
[   14.233016]  ? lock_is_held_type+0xa7/0x120
[   14.234006]  ? find_held_lock+0x32/0x90
[   14.234954]  ? sched_clock_cpu+0xc/0xb0
[   14.235868]  ? lock_release+0x280/0x410
[   14.236728]  ? __fget_files+0xf5/0x1b0
[   14.237546]  __sys_sendmsg+0x49/0x80
[   14.238323]  ? syscall_enter_from_user_mode+0x27/0x80
[   14.239090]  do_syscall_64+0x33/0x40
[   14.239855]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[   14.240591] RIP: 0033:0x7f7da06a165d
[   14.241254] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 fa ee ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 4e ef ff ff 48
[   14.242027] RSP: 002b:00007ffe33d1d500 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[   14.242800] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f7da06a165d
[   14.243570] RDX: 0000000000000000 RSI: 00007ffe33d1d540 RDI: 000000000000000d
[   14.244347] RBP: 0000562a64046070 R08: 0000000000000000 R09: 0000000000000000
[   14.245132] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[   14.245887] R13: 00007ffe33d1d6a0 R14: 00007ffe33d1d69c R15: 0000000000000000
[   14.246645] irq event stamp: 153421
[   14.247376] hardirqs last  enabled at (153419): [<ffffffff890e79d2>] __local_bh_enable_ip+0x82/0xd0
[   14.248132] hardirqs last disabled at (153420): [<ffffffff89d634f5>] _raw_read_lock_irqsave+0x95/0xae
[   14.248894] softirqs last  enabled at (153418): [<ffffffffc0ae9d30>] iwl_pcie_enqueue_hcmd+0x580/0xb80 [iwlwifi]
[   14.249689] softirqs last disabled at (153421): [<ffffffffc0ae98c5>] iwl_pcie_enqueue_hcmd+0x115/0xb80 [iwlwifi]
[   14.250470] ---[ end trace 7843382ebd7591dd ]---
Comment 1 Chris Murphy 2021-03-16 00:45:47 UTC
Created attachment 295877 [details]
lspci -vvnn
Comment 2 Chris Murphy 2021-03-16 00:46:02 UTC
Created attachment 295879 [details]
dmesg
Comment 3 Chris Murphy 2021-04-11 21:36:17 UTC
This patch appears to fix the problem.
https://lore.kernel.org/linux-wireless/nycvar.YFH.7.76.2103021125430.12405@cbobk.fhfr.pm/