Bug ID 1231210
Summary :btusb_suspend: kernel NULL pointer dereference
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel:Drivers
Assignee kernel-bugs@suse.de
Reporter michal.vyskocil@gmail.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 877688 [details]
LC_ALL=C sudo journalctl --boot 0

uname -a
Linux zelva 6.11.0-1-default #1 SMP PREEMPT_DYNAMIC Wed Sep 25 07:09:20 UTC
2024 (b87e886) x86_64 x86_64 x86_64 GNU/Linux

rpm -q kernel-default
kernel-default-6.11.0-1.1.x86_64

cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-6.11.0-1-default
root=UUID=36543fa2-c67b-444d-b09b-71e6fe5020fd rd.timeout=60 rd.retry=45
splash=silent swapaccount=1 mitigations=auto security=selinux selinux=1
enforcing=1

On boot the scary NULL pointer deference appeared, but laptop started. The
trace is

BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0 
Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
CPU: 3 UID: 0 PID: 585 Comm: kworker/3:2 Not tainted 6.11.0-1-default #1
openSUSE Tumbleweed 461f7965cd54a3c599f269012cdb3d6ce81b3260
Hardware name: LENOVO 20XK007JCK/20XK007JCK, BIOS R1MET44W (1.14 ) 01/21/2022
Workqueue: pm pm_runtime_work
RIP: 0010:btusb_suspend+0x18/0x1c0 [btusb]
Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f
44 00 00 41 54 55 89 f5 53 48 8b 9f c8 00 00 00 66 90 <48> 8b 13 8b 82 bc 09 00
00 03 82 b8 09 00 00 03 82 c4 09 00 00 03
RSP: 0018:ffffa299c206fc90 EFLAGS: 00010206
RAX: ffffffffc2223970 RBX: 0000000000000000 RCX: 0000000000000007
RDX: 0000000000000003 RSI: 0000000000000402 RDI: ffff9383ca238400
RBP: 0000000000000402 R08: ffff9383ca20d800 R09: ffff9383ca23f8b0
R10: ffff938a8ee2c3a0 R11: 0000000000000003 R12: ffff9383ca238400
R13: 0000000000000402 R14: 0000000000000003 R15: ffff9383d1142900
FS:  0000000000000000(0000) GS:ffff938a8eb80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001a01f8000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
 <TASK>
 ? __die_body.cold+0x19/0x26
 ? page_fault_oops+0x132/0x2a0
 ? exc_page_fault+0x73/0x170
 ? asm_exc_page_fault+0x26/0x30
 ? __pfx_btusb_suspend+0x10/0x10 [btusb
600bb609afa33d01c8b8c647a1af5542146201a9]
 ? btusb_suspend+0x18/0x1c0 [btusb 600bb609afa33d01c8b8c647a1af5542146201a9]
 usb_suspend_both+0xad/0x240 [usbcore 15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 usb_runtime_suspend+0x2e/0x70 [usbcore
15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 ? __pfx_usb_runtime_suspend+0x10/0x10 [usbcore
15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 __rpm_callback+0x44/0x170
 ? __pfx_usb_runtime_suspend+0x10/0x10 [usbcore
15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 rpm_callback+0x55/0x60
 ? __pfx_usb_runtime_suspend+0x10/0x10 [usbcore
15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 rpm_suspend+0xe6/0x5f0
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? finish_task_switch.isra.0+0x99/0x2e0
 ? __pfx_usb_runtime_idle+0x10/0x10 [usbcore
15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 __pm_runtime_suspend+0x3a/0xc0
 usb_runtime_idle+0x35/0x40 [usbcore 15db8bf8f9a7858a5a1db1b8e42a51063eadfac5]
 rpm_idle+0xc0/0x290
 pm_runtime_work+0x84/0xb0
 process_one_work+0x16b/0x320
 worker_thread+0x2ea/0x420
 ? __pfx_worker_thread+0x10/0x10
 kthread+0xd2/0x100
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x34/0x50
 ? __pfx_kthread+0x10/0x10
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Modules linked in: mhi_wwan_ctrl mhi_wwan_mbim snd_acp_legacy_mach snd_acp_mach
snd_soc_nau8821 snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_sof_amd_acp63
snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp
snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps
snd_amd_sdw_acpi soundwire_amd soundwire_generic_allocation soundwire_bus
snd_hda_codec_realtek snd_ctl_led mt7921e snd_hda_codec_generic snd_soc_core
mt7921_common snd_hda_scodec_component mt792x_lib nls_iso8859_1 snd_compress
intel_rapl_msr snd_hda_codec_hdmi mt76_connac_lib amd_atl snd_pcm_dmaengine
intel_rapl_common nls_cp437 snd_rpl_pci_acp6x mt76 snd_hda_intel btusb
edac_mce_amd snd_intel_dspcfg snd_acp_pci snd_usb_audio vfat btrtl
snd_intel_sdw_acpi uvcvideo btintel snd_acp_legacy_common fat snd_usbmidi_lib
videobuf2_vmalloc btbcm snd_hda_codec uvc mac80211 snd_pci_acp6x snd_ump btmtk
videobuf2_memops videobuf2_v4l2 snd_pci_acp5x snd_rawmidi snd_hda_core libarc4
kvm_amd snd_seq_device snd_hwdep ee1004
 videodev snd_pcm snd_rn_pci_acp3x thinkpad_acpi r8169 snd_acp_config bluetooth
videobuf2_common platform_profile snd_soc_acpi think_lmi sparse_keymap
snd_timer realtek i2c_piix4 pcspkr firmware_attributes_class mc wmi_bmof
efi_pstore mdio_devres kvm tiny_power_button k10temp nxp_nci_i2c cfg80211
i2c_smbus snd_pci_acp3x mhi_pci_generic nxp_nci snd libphy thermal nci mhi
soundcore ac nfc rfkill i2c_scmi amd_pmc button joydev loop fuse dm_mod
configfs dmi_sysfs ip_tables x_tables hid_generic usbhid amdgpu
crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic amdxcp
i2c_algo_bit drm_ttm_helper ttm ghash_clmulni_intel drm_exec sha512_ssse3
gpu_sched sha256_ssse3 xhci_pci drm_suballoc_helper rtsx_pci_sdmmc
xhci_pci_renesas drm_buddy sha1_ssse3 mmc_core xhci_hcd drm_display_helper nvme
aesni_intel ucsi_acpi gf128mul cec crypto_simd cryptd typec_ucsi usbcore
nvme_core ccp roles rc_core sp5100_tco video rtsx_pci typec nvme_auth battery
wmi serio_raw overlay btrfs blake2b_generic libcrc32c crc32c_intel xor
 raid6_pq br_netfilter bridge stp llc msr efivarfs
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:btusb_suspend+0x18/0x1c0 [btusb]
Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f
44 00 00 41 54 55 89 f5 53 48 8b 9f c8 00 00 00 66 90 <48> 8b 13 8b 82 bc 09 00
00 03 82 b8 09 00 00 03 82 c4 09 00 00 03
RSP: 0018:ffffa299c206fc90 EFLAGS: 00010206
RAX: ffffffffc2223970 RBX: 0000000000000000 RCX: 0000000000000007
RDX: 0000000000000003 RSI: 0000000000000402 RDI: ffff9383ca238400
RBP: 0000000000000402 R08: ffff9383ca20d800 R09: ffff9383ca23f8b0
R10: ffff938a8ee2c3a0 R11: 0000000000000003 R12: ffff9383ca238400
R13: 0000000000000402 R14: 0000000000000003 R15: ffff9383d1142900
FS:  0000000000000000(0000) GS:ffff938a8eb80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001a01f8000 CR4: 0000000000750ef0
PKRU: 55555554
note: kworker/3:2[585] exited with irqs disabled

Attached a full system log.


You are receiving this mail because: