Reading HDA audio capability register crashes the kernel

Bug #1730261 reported by Hui Wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Critical
Hui Wang
linux (Ubuntu)
Fix Released
Critical
Hui Wang

Bug Description

The intel audio device [8086:a348] can not be driven.

I got below error message.
[ 14.154439] snd_hda_core: loading out-of-tree module taints kernel.
[ 14.154474] snd_hda_core: module verification failed: signature and/or required key missing - tainting kernel
[ 14.170181] snd_hda_intel 0000:00:1f.3: Probing card using HDA DKMS, version 0.201710050116~ubuntu17.10.1
[ 14.170192] snd_hda_intel 0000:00:1f.3: enabling device (0100 -> 0102)
[ 14.170344] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 14.170359] sdhci-pci 0000:00:14.5: SDHCI controller found [8086:a375] (rev 1)
[ 14.192693] BUG: unable to handle kernel paging request at ffffa73f43d8ffff
[ 14.192697] IP: pci_azx_readl+0x9/0x10 [snd_hda_intel]
[ 14.192698] PGD 80ad3a067
[ 14.192698] P4D 80ad3a067
[ 14.192698] PUD 80ad3b067
[ 14.192699] PMD 7fe2ef067
[ 14.192699] PTE 0

[ 14.192701] Oops: 0000 [#1] SMP
[ 14.192702] Modules linked in: snd_hda_intel(OE) snd_hda_codec(OE) snd_hda_core(OE) kvm irqbypass snd_hwdep btusb btrtl btbcm btintel snd_pcm bluetooth ecdh_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi rtsx_pci_ms memstick ucsi_acpi snd_seq snd_seq_device snd_timer wmi_bmof dell_wmi_aio aes_x86_64 crypto_simd glue_helper cryptd dell_wmi dell_smbios dcdbas snd intel_cstate typec_ucsi sparse_keymap shpchp intel_rapl_perf soundcore typec tpm_crb mac_hid acpi_als kfifo_buf industrialio acpi_pad parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log hid_generic usbhid rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt e1000e fb_sys_fops ptp drm pps_core ahci sdhci_pci
[ 14.192719] rtsx_pci libahci sdhci wmi i2c_hid hid video
[ 14.192722] CPU: 6 PID: 96 Comm: kworker/6:1 Tainted: G OE 4.13.0-1005-oem #6-Ubuntu
[ 14.192723] Hardware name: Dell Inc. OptiPlex 7450 AIO/03CDJK, BIOS 96.0.2 08/08/2017
[ 14.192725] Workqueue: events azx_probe_work [snd_hda_intel]
[ 14.192726] task: ffff8abb068697c0 task.stack: ffffa73f43510000
[ 14.192727] RIP: 0010:pci_azx_readl+0x9/0x10 [snd_hda_intel]
[ 14.192728] RSP: 0018:ffffa73f43513db0 EFLAGS: 00010286
[ 14.192729] RAX: ffffffffc07fddc0 RBX: 0000000000000fff RCX: 00000000000e1233
[ 14.192729] RDX: 0000000000000100 RSI: 0000000000000100 RDI: ffffa73f43d8ffff
[ 14.192730] RBP: ffffa73f43513db0 R08: ffffc73f3fffffff R09: ffff8abb0ac03601
[ 14.192730] R10: 000000000ac03601 R11: 0000000000004001 R12: 000000000000ffff
[ 14.192731] R13: 000000000000ffff R14: ffff8abb030db000 R15: 00000000ffffffff
[ 14.192732] FS: 0000000000000000(0000) GS:ffff8abb0b380000(0000) knlGS:0000000000000000
[ 14.192733] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 14.192733] CR2: ffffa73f43d8ffff CR3: 00000001dea09000 CR4: 00000000003406e0
[ 14.192734] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 14.192735] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 14.192735] Call Trace:
[ 14.192738] snd_hdac_bus_parse_capabilities+0x44/0x1f0 [snd_hda_core]
[ 14.192740] azx_probe_continue+0x75e/0xa30 [snd_hda_intel]
[ 14.192742] azx_probe_work+0x15/0x20 [snd_hda_intel]
[ 14.192744] process_one_work+0x156/0x410
[ 14.192745] worker_thread+0x4b/0x410
[ 14.192746] kthread+0x109/0x140
[ 14.192747] ? process_one_work+0x410/0x410
[ 14.192748] ? kthread_create_on_node+0x70/0x70
[ 14.192750] ret_from_fork+0x25/0x30
[ 14.192751] Code: 88 00 05 00 00 04 31 c0 5d c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 89 3e 5d c3 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 <8b> 07 5d c3 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 66 89 3e 5d c3
[ 14.192766] RIP: pci_azx_readl+0x9/0x10 [snd_hda_intel] RSP: ffffa73f43513db0
[ 14.192766] CR2: ffffa73f43d8ffff
[ 14.192767] ---[ end trace 7bab59b956c17279 ]---

Hui Wang (hui.wang)
Changed in linux (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1730261

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: artful
Hui Wang (hui.wang)
tags: added: originate-from-1721688 somerville
Changed in hwe-next:
importance: Undecided → Critical
assignee: nobody → Hui Wang (hui.wang)
Hui Wang (hui.wang)
Changed in hwe-next:
status: New → Confirmed
Hui Wang (hui.wang)
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Changed in hwe-next:
status: Confirmed → Fix Committed
Changed in hwe-next:
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.