I got similar symptom, but with NVIDIA driver and Lenovo Thunderbolt 4
dock. Looks like for it happens after connecting dock back, but screen
goes black already when disconnecting from the dock.


System info:

Linux mopo 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu
Sep  7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Backtrace:


marras 01 14:03:15 mopo kernel: BUG: kernel NULL pointer dereference, address: 
0000000000000000
marras 01 14:03:15 mopo kernel: #PF: supervisor read access in kernel mode
marras 01 14:03:15 mopo kernel: #PF: error_code(0x0000) - not-present page
marras 01 14:03:15 mopo kernel: PGD 0 P4D 0 
marras 01 14:03:15 mopo kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
marras 01 14:03:15 mopo kernel: CPU: 11 PID: 1589 Comm: kworker/u32:11 Tainted: 
P           O       6.2.0-33-generic #33~22.04.1-Ubuntu
marras 01 14:03:15 mopo kernel: Hardware name: LENOVO 20YRS21300/20YRS21300, 
BIOS N37ET46W (1.27 ) 07/12/2023
marras 01 14:03:15 mopo kernel: Workqueue: USBC000:00-con1 ucsi_poll_worker 
[typec_ucsi]
marras 01 14:03:15 mopo kernel: RIP: 0010:ucsi_acpi_async_write+0x31/0x60 
[ucsi_acpi]
marras 01 14:03:15 mopo kernel: Code: 89 e5 41 56 49 89 ce 41 55 49 89 d5 41 54 
53 89 f3 e8 73 8b 2a 00 4c 89 f2 4c 89 ee 89 df 48 03 78 10 49 89 c4 e8 7f 3c 
cc d8 <49> 8b 45 00 4c 89 e7 be 01 00 00 00 49 89 44 24 50 e8 b9 fc ff ff
marras 01 14:03:15 mopo kernel: RSP: 0018:ffffb685c2a37d10 EFLAGS: 00010282
marras 01 14:03:15 mopo kernel: RAX: ffffb685c00f5002 RBX: 0000000000000002 
RCX: 0000000000000000
marras 01 14:03:15 mopo kernel: RDX: 0000000000000000 RSI: 0000000000000000 
RDI: ffffb685c00f5002
marras 01 14:03:15 mopo kernel: RBP: ffffb685c2a37d30 R08: 0000000000000000 
R09: 0000000000000000
marras 01 14:03:15 mopo kernel: R10: 0000000000000000 R11: 0000000000000000 
R12: ffffa096c33074a8
marras 01 14:03:15 mopo kernel: R13: 0000000000000000 R14: 0000000000000000 
R15: 000000000000000c
marras 01 14:03:15 mopo kernel: FS:  0000000000000000(0000) 
GS:ffffa0a1ef6c0000(0000) knlGS:0000000000000000
marras 01 14:03:15 mopo kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
marras 01 14:03:15 mopo kernel: CR2: 0000000000000000 CR3: 0000000a80410005 
CR4: 0000000000770ee0
marras 01 14:03:15 mopo kernel: PKRU: 55555554
marras 01 14:03:15 mopo kernel: Call Trace:
marras 01 14:03:15 mopo kernel:  <TASK>
marras 01 14:03:15 mopo kernel:  ? show_regs+0x72/0x90
marras 01 14:03:15 mopo kernel:  ? __die+0x25/0x80
marras 01 14:03:15 mopo kernel:  ? page_fault_oops+0x79/0x190
marras 01 14:03:15 mopo kernel:  ? do_user_addr_fault+0x30c/0x640
marras 01 14:03:15 mopo kernel:  ? exc_page_fault+0x81/0x1b0
marras 01 14:03:15 mopo kernel:  ? asm_exc_page_fault+0x27/0x30
marras 01 14:03:15 mopo kernel:  ? ucsi_acpi_async_write+0x31/0x60 [ucsi_acpi]
marras 01 14:03:15 mopo kernel:  ucsi_exec_command+0xd9/0xf0 [typec_ucsi]
marras 01 14:03:15 mopo kernel:  ucsi_send_command+0x4b/0xf0 [typec_ucsi]
marras 01 14:03:15 mopo kernel:  ucsi_register_altmodes+0xd7/0x210 [typec_ucsi]
marras 01 14:03:15 mopo kernel:  ucsi_check_altmodes+0x1c/0xb0 [typec_ucsi]
marras 01 14:03:15 mopo kernel:  ? mutex_lock+0x13/0x50
marras 01 14:03:15 mopo kernel:  ucsi_poll_worker+0x3c/0x100 [typec_ucsi]
marras 01 14:03:15 mopo kernel:  process_one_work+0x21c/0x440
marras 01 14:03:15 mopo kernel:  worker_thread+0x50/0x3f0
marras 01 14:03:15 mopo kernel:  ? __pfx_worker_thread+0x10/0x10
marras 01 14:03:15 mopo kernel:  kthread+0xeb/0x120
marras 01 14:03:15 mopo kernel:  ? __pfx_kthread+0x10/0x10
marras 01 14:03:15 mopo kernel:  ret_from_fork+0x29/0x50
marras 01 14:03:15 mopo kernel:  </TASK>
marras 01 14:03:15 mopo kernel: Modules linked in: ccm rfcomm xt_conntrack 
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype br_netfilter 
bridge stp llc vboxnetadp(O) vboxnetflt(O) vboxdrv(O) xt_comment nft_compat 
nf_tables nfnetlink cmac algif_hash overlay algif_skcipher af_alg bnep 
binfmt_misc dm_crypt nvidia_uvm(PO) snd_ctl_led snd_soc_skl_hda_dsp 
snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes nvidia_drm(PO) 
intel_tcc_cooling nvidia_modeset(PO) snd_hda_codec_realtek x86_pkg_temp_thermal 
snd_hda_codec_generic intel_powerclamp coretemp snd_soc_dmic 
snd_sof_pci_intel_tgl kvm_intel snd_sof_intel_hda_common soundwire_intel kvm 
soundwire_generic_allocation nvidia(PO) soundwire_cadence snd_sof_intel_hda 
snd_sof_pci snd_sof_xtensa_dsp irqbypass snd_sof snd_sof_utils snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus 
snd_soc_core snd_compress snd_hda_codec_hdmi
  ac97_bus
marras 01 14:03:15 mopo kernel:  snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg snd_intel_sdw_acpi iwlmvm snd_usb_audio snd_hda_codec btusb 
btrtl uvcvideo snd_hda_core snd_usbmidi_lib btbcm mac80211 videobuf2_vmalloc 
snd_hwdep btintel videobuf2_memops snd_seq_midi 
processor_thermal_device_pci_legacy libarc4 btmtk intel_rapl_msr videobuf2_v4l2 
mei_hdcp mei_pxp snd_seq_midi_event processor_thermal_device cmdlinepart 
videodev bluetooth snd_seq snd_rawmidi iwlwifi processor_thermal_rfim spi_nor 
videobuf2_common rapl joydev snd_seq_device thinkpad_acpi think_lmi snd_pcm 
ecdh_generic processor_thermal_mbox nls_iso8859_1 intel_cstate serio_raw 
input_leds mc firmware_attributes_class wmi_bmof snd_timer mtd ee1004 nvram ecc 
cfg80211 processor_thermal_rapl snd mei_me intel_rapl_common mei soundcore 
intel_soc_dts_iosf ledtrig_audio int3403_thermal int3400_thermal 
platform_profile intel_hid int340x_thermal_zone mac_hid acpi_thermal_rel 
acpi_tad sparse_keymap acpi_pad sch_fq_codel msr parport_p
 c ppdev lp parport
marras 01 14:03:15 mopo kernel:  efi_pstore ip_tables x_tables autofs4 btrfs 
blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj 
hid_jabra hid_generic usbhid hid i915 drm_buddy i2c_algo_bit ttm 
drm_display_helper cec rc_core crct10dif_pclmul drm_kms_helper crc32_pclmul 
polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 syscopyarea 
nvme aesni_intel sysfillrect ucsi_acpi crypto_simd sysimgblt rtsx_pci_sdmmc 
spi_intel_pci i2c_i801 xhci_pci nvme_core cryptd typec_ucsi psmouse drm 
thunderbolt igc spi_intel rtsx_pci i2c_smbus xhci_pci_renesas nvme_common typec 
video wmi pinctrl_tigerlake
marras 01 14:03:15 mopo kernel: CR2: 0000000000000000
marras 01 14:03:15 mopo kernel: ---[ end trace 0000000000000000 ]---

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-oem-6.1 in Ubuntu.
https://bugs.launchpad.net/bugs/2019493

Title:
  Display failure after plugging into thunderbolt dock

Status in linux-signed-oem-6.1 package in Ubuntu:
  New

Bug description:
  I'm left with a black screen after connecting a laptop into a
  thunderbolt dock.

  The primary kernel error is logged "Failed to create MST payload for port", 
followed by a proper oops:
  "BUG: kernel NULL pointer dereference, address: 0000000000000008"

  The dock screens remain in power-save and the laptop screen remains
  black (usually it is blank when connected to dock).

  After unplugging from dock the laptop screen does not recover.

  I'm on 6.1-oem due to issues with AMD GPU not waking from sleep after
  the the HWE kernel update from 23.04 -> 22.04

  
  kernel: amdgpu 0000:04:00.0: [drm] Failed to create MST payload for port 
000000000a2b5491: -5
  kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008
  kernel: #PF: supervisor read access in kernel mode
  kernel: #PF: error_code(0x0000) - not-present page
  kernel: PGD 0 P4D 0 
  kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
  kernel: CPU: 5 PID: 3215 Comm: gnome-shell Not tainted 6.1.0-1010-oem 
#10-Ubuntu
  kernel: Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 
03/14/2022
  kernel: RIP: 0010:drm_dp_add_payload_part2+0xce/0x100 [drm_display_helper]
  kernel: Code: e8 87 22 82 ff 44 89 f0 5b 41 5c 41 5d 41 5e 5d 31 d2 89 d1 89 
d6 89 d7 41 89 d0 41 89 d1 e9 e9 80 08 d0 48 8b 80 58 05 00 0>
  kernel: RSP: 0018:ffffab9590f1b548 EFLAGS: 00010246
  kernel: RAX: ffff8c77e8506000 RBX: ffff8c77e8506000 RCX: 0000000000000000
  kernel: RDX: ffff8c7a1e8e7740 RSI: 0000000000000000 RDI: ffff8c77f0f14540
  kernel: RBP: ffffab9590f1b568 R08: 0000000000000000 R09: 0000000000000000
  kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
  kernel: R13: ffff8c77f0f14000 R14: ffff8c780885a0c0 R15: 0000000000000006
  kernel: FS:  00007f9dbdddb5c0(0000) GS:ffff8c7a5ff40000(0000) 
knlGS:0000000000000000
  kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  kernel: CR2: 0000000000000008 CR3: 000000014b8d8000 CR4: 0000000000350ee0
  kernel: Call Trace:
  kernel:  <TASK>
  kernel:  dm_helpers_dp_mst_send_payload_allocation+0x90/0xd0 [amdgpu]
  kernel:  dc_link_allocate_mst_payload+0x1a9/0x350 [amdgpu]
  kernel:  core_link_enable_stream+0x560/0x5e0 [amdgpu]
  kernel:  apply_single_controller_ctx_to_hw+0x430/0x530 [amdgpu]
  kernel:  ? free_large_kmalloc+0x57/0xa0
  kernel:  dce110_apply_ctx_to_hw+0x1f1/0x360 [amdgpu]
  kernel:  ? dcn10_wait_for_mpcc_disconnect+0x51/0x220 [amdgpu]
  kernel:  ? dcn20_prepare_bandwidth+0xca/0x170 [amdgpu]
  kernel:  dc_commit_state_no_check+0x313/0xd20 [amdgpu]
  kernel:  ? dc_validate_global_state+0x290/0x500 [amdgpu]
  kernel:  dc_commit_state+0x139/0x1d0 [amdgpu]
  kernel:  amdgpu_dm_atomic_commit_tail+0x60b/0x13e0 [amdgpu]
  kernel:  ? sugov_update_shared+0x2a0/0x2a0
  kernel:  ? newidle_balance+0x325/0x4b0
  kernel:  ? psi_group_change+0x1d2/0x510
  kernel:  ? raw_spin_rq_unlock+0x10/0x40
  kernel:  ? finish_task_switch.isra.0+0x85/0x2a0
  kernel:  ? __schedule+0x24b/0x5f0
  kernel:  ? krc_this_cpu_lock+0x35/0x50
  kernel:  ? kvfree_call_rcu+0xf6/0x3f0
  kernel:  ? schedule_timeout+0x126/0x160
  kernel:  ? wait_for_completion_timeout+0x119/0x150
  kernel:  commit_tail+0xc2/0x190 [drm_kms_helper]
  kernel:  ? drm_atomic_helper_swap_state+0x246/0x380 [drm_kms_helper]
  kernel:  drm_atomic_helper_commit+0x11d/0x150 [drm_kms_helper]
  kernel:  drm_atomic_commit+0x99/0xd0 [drm]
  kernel:  ? drm_plane_create_color_properties.cold+0x46/0x46 [drm]
  kernel:  drm_mode_atomic_ioctl+0x4f2/0x6e0 [drm]
  kernel:  ? drm_atomic_set_property+0x160/0x160 [drm]
  kernel:  drm_ioctl_kernel+0xd6/0x180 [drm]
  kernel:  drm_ioctl+0x2a0/0x4b0 [drm]
  kernel:  ? drm_atomic_set_property+0x160/0x160 [drm]
  kernel:  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
  kernel:  __x64_sys_ioctl+0xa0/0xe0
  kernel:  do_syscall_64+0x5b/0x90
  kernel:  ? do_syscall_64+0x67/0x90
  kernel:  ? exit_to_user_mode_prepare+0x30/0xb0
  kernel:  ? exit_to_user_mode_prepare+0x30/0xb0
  kernel:  ? irqentry_exit_to_user_mode+0x9/0x20
  kernel:  ? irqentry_exit+0x43/0x50
  kernel:  ? exc_page_fault+0x91/0x1b0
  kernel:  entry_SYSCALL_64_after_hwframe+0x63/0xcd
  kernel: RIP: 0033:0x7f9dc2d1aaff
  kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 
89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 0>
  kernel: RSP: 002b:00007fff7fa9fcf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
  kernel: RAX: ffffffffffffffda RBX: 00007fff7fa9fd90 RCX: 00007f9dc2d1aaff
  kernel: RDX: 00007fff7fa9fd90 RSI: 00000000c03864bc RDI: 0000000000000009
  kernel: RBP: 00000000c03864bc R08: 0000000000000012 R09: 0000000000000012
  kernel: R10: 0000000000000007 R11: 0000000000000246 R12: 000056543cb14ea0
  kernel: R13: 0000000000000009 R14: 000056543ff88a80 R15: 0000565441c22a50
  kernel:  </TASK>
  kernel: Modules linked in: rfcomm xt_conntrack nft_chain_nat xt_MASQUERADE 
nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defr>
  kernel:  snd_rpl_pci_acp6x snd_acp_pci snd_rawmidi rc_core btrtl sha512_ssse3 
videobuf2_common btbcm mac80211 snd_pci_acp6x snd_seq aesni_>
  kernel:  i2c_hid_acpi xhci_pci_renesas sdhci nvme_common video i2c_hid wmi hid
  kernel: CR2: 0000000000000008
  kernel: ---[ end trace 0000000000000000 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-6.1.0-1010-oem 6.1.0-1010.10
  ProcVersionSignature: Ubuntu 6.1.0-1010.10-oem 6.1.22
  Uname: Linux 6.1.0-1010-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sun May 14 14:14:06 2023
  InstallationDate: Installed on 2022-09-16 (239 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-signed-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-oem-6.1/+bug/2019493/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to