[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel crash with Bluetooth



Hi,

 I am really sorry if this is a wrong group but please help me by
redirecting me to a mailing list where I can take some help.

I have a bluetooth keyboard which has multiple connections in it i.e
it can connect to multiple devices with dedicated buttons.
When i connect to linux (Linux bcvm 6.15.0-bcv #8 SMP PREEMPT_DYNAMIC
Sun Jun  1 09:55:01 BST 2025 x86_64 GNU/Linux  - Debian trixie) it
works really well. However if the keyboard goes to sleep or if I
switch the keyboard to a different device, I get a kernel crash
Attached is the crash dump.

Happy to give any more debug info if needed.
This is 100% reproducible (un)fortunately for me.
[  299.006014] [    T220] RSP: 0018:ffffd08600793d50 EFLAGS: 00010202
[  299.006016] [    T220] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[  299.006018] [    T220] RDX: 0000000000000002 RSI: 0000000000000010 RDI: ffff8bdbe4545e48
[  299.006020] [    T220] RBP: ffffd08600793d60 R08: 0000000000000000 R09: 0000000000000000
[  299.006022] [    T220] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[  299.006024] [    T220] R13: ffff8bdbc800ba20 R14: 0000000000000001 R15: 0000000000000001
[  299.006025] [    T220] FS:  0000000000000000(0000) GS:ffff8be368de1000(0000) knlGS:0000000000000000
[  299.006028] [    T220] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  299.006029] [    T220] CR2: ffff8be368de1018 CR3: 00000001a2c26003 CR4: 0000000000772ef0
[  299.006031] [    T220] PKRU: 55555554
[  299.006033] [    T220] Call Trace:
[  299.006035] [    T220]  <TASK>
[  299.006037] [    T220]  dispatch_hid_bpf_output_report+0xc1/0x100
[  299.006043] [    T220]  hid_hw_output_report+0x47/0x90 [hid]
[  299.006049] [    T220]  hidinput_led_worker+0xb2/0x100 [hid]
[  299.006055] [    T220]  process_one_work+0x18a/0x370
[  299.006059] [    T220]  worker_thread+0x34a/0x490
[  299.006061] [    T220]  ? __pfx_worker_thread+0x10/0x10
[  299.006064] [    T220]  kthread+0x108/0x220
[  299.006068] [    T220]  ? __pfx_kthread+0x10/0x10
[  299.006071] [    T220]  ret_from_fork+0x44/0x70
[  299.006074] [    T220]  ? __pfx_kthread+0x10/0x10
[  299.006078] [    T220]  ret_from_fork_asm+0x1a/0x30
[  299.006083] [    T220]  </TASK>
[  299.006084] [    T220] Modules linked in: uhid rfcomm cmac algif_hash bnep btrfs blake2b_generic qrtr xt_MASQUERADE bridge stp llc cdc_mbim cdc_wdm nft_chain_nat nf_nat xt_tcpudp xt_conntrack nf_conntrack sunrpc nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables binfmt_misc brcmfmac_wcc snd_sof_pci_intel_icl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks intel_uncore_frequency soundwire_generic_allocation intel_uncore_frequency_common intel_pmc_core_pltdrv snd_soc_acpi intel_pmc_core soundwire_bus pmt_telemetry snd_soc_sdca essiv pmt_class authenc crc8 intel_vsec processor_thermal_device_pci_legacy snd_soc_avs processor_thermal_device processor_thermal_wt_hint hid_sensor_als polyval_clmulni spi_nor processor_thermal_rfim polyval_generic snd_soc_hda_codec hid_sensor_trigger mtd
[  299.006139] [    T220]  intel_rapl_msr hid_sensor_iio_common 8250_dw applesmc snd_hda_ext_core sha512_ssse3 processor_thermal_rapl i915 input_leds snd_soc_core hid_multitouch sha1_ssse3 drm_buddy cdc_ncm intel_rapl_common drm_client_lib nvme hid_appletb_kbd rapl cdc_ether snd_compress processor_thermal_wt_req spi_intel_pci drm_display_helper ac97_bus nvme_core appletbdrm usbnet processor_thermal_power_floor brcmfmac snd_pcm_dmaengine snd_pcsp cec spi_intel mii drm_shmem_helper processor_thermal_mbox nvme_keyring sparse_keymap hid_sensor_hub hid_appletb_bl hci_uart intel_lpss_pci brcmutil nvme_auth mei_hdcp usbmouse hid_magicmouse rc_core usbkbd mei_pxp int340x_thermal_zone btqca intel_soc_dts_iosf intel_lpss_acpi btrtl intel_lpss btintel apple_mfi_fastcharge acpi_tad idma64 mac_hid sch_fq_codel parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 ttm ssb snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic sdhci_pci
[  299.006185] [    T220]  sdhci_uhs2 sdhci pcmcia pcmcia_core pcbc nls_ascii mxm_wmi mac80211 libarc4 lpc_ich joydev ip_tables x_tables i2c_algo_bit drm_kms_helper drm dm_crypt cqhci cfg80211 btbcm bluetooth bcma bcm5974 autofs4 applespi apple_gmux ansi_cprng algif_skcipher ahci libahci af_alg acpi_als industrialio_triggered_buffer kfifo_buf industrialio hid_apple hid_generic uvcvideo videobuf2_vmalloc videobuf2_memops uvc videobuf2_v4l2 videodev usbhid videobuf2_common hid mc x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi kvm snd_hda_codec snd_hwdep apple_bce(C) snd_hda_core iTCO_wdt intel_pmc_bxt snd_pcm iTCO_vendor_support irqbypass uas ghash_clmulni_intel i2c_i801 sha256_ssse3 mei_me snd_timer usb_storage intel_cstate i2c_mux thunderbolt snd mei i2c_smbus soundcore sbs sbshc video wmi aesni_intel crypto_simd cryptd
[  299.006234] [    T220] CR2: ffff8be368de1018
[  299.006236] [    T220] ---[ end trace 0000000000000000 ]---
[  299.170406] [    T220] RIP: 0010:__srcu_read_unlock+0x25/0x50
[  299.170414] [    T220] Code: 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 53 48 83 ec 08 f0 83 44 24 fc 00 48 63 f6 48 8b 5f 08 48 83 fe 03 73 18 48 c1 e6 04 <65> 48 ff 44 33 08 48 8b 5d f8 c9 31 f6 31 ff c3 cc cc cc cc 48 c7
[  299.170416] [    T220] RSP: 0018:ffffd08600793d50 EFLAGS: 00010202
[  299.170419] [    T220] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[  299.170421] [    T220] RDX: 0000000000000002 RSI: 0000000000000010 RDI: ffff8bdbe4545e48
[  299.170422] [    T220] RBP: ffffd08600793d60 R08: 0000000000000000 R09: 0000000000000000
[  299.170423] [    T220] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[  299.170424] [    T220] R13: ffff8bdbc800ba20 R14: 0000000000000001 R15: 0000000000000001
[  299.170426] [    T220] FS:  0000000000000000(0000) GS:ffff8be368de1000(0000) knlGS:0000000000000000
[  299.170428] [    T220] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  299.170429] [    T220] CR2: ffff8be368de1018 CR3: 00000001a2c26003 CR4: 0000000000772ef0
[  299.170431] [    T220] PKRU: 55555554
[  299.170432] [    T220] note: kworker/6:2[220] exited with irqs disabled


Reply to: