Hi there, I have upgraded to Kubuntu 20.04 and the bug still occurs with Kernel 
5.4.0-37-generic
Is there anything I can do to provide more information? Or is there another 
kernel I should use?

$ uname -a
Linux 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 
x86_64 GNU/Linux

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal

kernel: [  559.983153] BUG: kernel NULL pointer dereference, address: 
00000000000002de
kernel: [  559.983162] #PF: supervisor read access in kernel mode
kernel: [  559.983165] #PF: error_code(0x0000) - not-present page
kernel: [  559.983168] PGD 0 P4D 0 
kernel: [  559.983176] Oops: 0000 [#1] SMP NOPTI
kernel: [  559.983182] CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 
5.4.0-37-generic #41-Ubuntu
kernel: [  559.983185] Hardware name: LENOVO 20N80029GE/20N80029GE, BIOS 
R0YET43W (1.26 ) 03/30/2020
kernel: [  559.983198] Workqueue: events ucsi_connector_change [typec_ucsi]
kernel: [  559.983211] RIP: 0010:typec_altmode_update_active+0x1f/0x100 [typec]
kernel: [  559.983216] Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00 00 55 
48 89 e5 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 45 e8 31 c0 <0f> 
b6 87 dc 02 00 00 83 e0 01 40 38 f0 0f 84 95 00 00 00 48 8b 47
kernel: [  559.983220] RSP: 0018:ffffbde7400b7db8 EFLAGS: 00010246
kernel: [  559.983224] RAX: 0000000000000000 RBX: ffff99ad0da16270 RCX: 
0000000000000000
kernel: [  559.983227] RDX: ffff99ad0c2d3628 RSI: 0000000000000000 RDI: 
0000000000000002
kernel: [  559.983231] RBP: ffffbde7400b7dd8 R08: 0000000000000219 R09: 
000000000042061e
kernel: [  559.983234] R10: 0000000000001168 R11: 0000000000000000 R12: 
0000000000000000
kernel: [  559.983237] R13: ffff99ad0da16010 R14: ffff99ad0da16000 R15: 
ffff99ad0da162c0
kernel: [  559.983241] FS:  0000000000000000(0000) GS:ffff99ad21200000(0000) 
knlGS:0000000000000000
kernel: [  559.983245] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: [  559.983248] CR2: 00000000000002de CR3: 00000004bd80a001 CR4: 
00000000003606f0
kernel: [  559.983251] Call Trace:
kernel: [  559.983263]  ucsi_altmode_update_active+0xab/0xf0 [typec_ucsi]
kernel: [  559.983271]  ucsi_connector_change+0x1ae/0x340 [typec_ucsi]
kernel: [  559.983282]  process_one_work+0x1eb/0x3b0
kernel: [  559.983288]  worker_thread+0x4d/0x400
kernel: [  559.983295]  kthread+0x104/0x140
kernel: [  559.983301]  ? process_one_work+0x3b0/0x3b0
kernel: [  559.983305]  ? kthread_park+0x90/0x90
kernel: [  559.983314]  ret_from_fork+0x1f/0x40
kernel: [  559.983319] Modules linked in: typec_displayport uas usb_storage 
vmw_vsock_vmci_transport vsock vmw_vmci rfcomm cdc_ether usbnet snd_usb_audio 
snd_usbmidi_lib r8152 mii cmac algif_hash algif_skcipher af_alg bnep uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common btusb btrtl 
btbcm btintel bluetooth ecdh_generic ecc binfmt_misc nls_iso8859_1 mei_hdcp 
intel_rapl_msr snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda 
snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof 
snd_sof_xtensa_dsp x86_pkg_temp_thermal iwlmvm snd_hda_ext_core 
intel_powerclamp snd_soc_acpi_intel_match kvm_intel snd_soc_acpi mac80211 kvm 
snd_soc_core snd_hda_codec_hdmi snd_seq_midi snd_hda_codec_conexant libarc4 
snd_hda_codec_generic snd_seq_midi_event snd_compress intel_cstate ac97_bus 
snd_pcm_dmaengine intel_rapl_perf snd_rawmidi joydev snd_hda_intel 
snd_intel_dspcfg input_leds snd_hda_codec serio_raw iwlwifi 
intel_wmi_thunderbolt snd_seq wmi_bmof snd_hda_core snd_hwdep thinkpad_acpi
kernel: [  559.983383]  cfg80211 snd_pcm nvram ledtrig_audio snd_seq_device 
snd_timer processor_thermal_device mei_me ucsi_acpi intel_rapl_common 
typec_ucsi mei intel_soc_dts_iosf intel_pch_thermal typec snd soundcore 
int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel mac_hid 
acpi_pad nf_log_ipv6 ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_log_ipv4 
nf_log_common ipt_REJECT nf_reject_ipv4 xt_LOG xt_limit xt_addrtype xt_tcpudp 
sch_fq_codel xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c 
videodev mc coretemp ip6table_filter parport_pc ip6_tables iptable_filter ppdev 
bpfilter lp parport ip_tables x_tables autofs4 dm_crypt hid_plantronics 
hid_generic usbhid hid mmc_block crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel aesni_intel crypto_simd amdgpu i915 amd_iommu_v2 cryptd 
gpu_sched glue_helper ttm psmouse i2c_algo_bit nvme drm_kms_helper nvme_core 
i2c_i801 r8169 syscopyarea sysfillrect realtek sysimgblt sdhci_pci fb_sys_fops 
cqhci drm sdhci wmi video
kernel: [  559.983454]  pinctrl_cannonlake pinctrl_intel
kernel: [  559.983462] CR2: 00000000000002de
kernel: [  559.983468] ---[ end trace 2246881156bc6574 ]---
kernel: [  559.983477] RIP: 0010:typec_altmode_update_active+0x1f/0x100 [typec]
kernel: [  559.983482] Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00 00 55 
48 89 e5 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 45 e8 31 c0 <0f> 
b6 87 dc 02 00 00 83 e0 01 40 38 f0 0f 84 95 00 00 00 48 8b 47
kernel: [  559.983485] RSP: 0018:ffffbde7400b7db8 EFLAGS: 00010246
kernel: [  559.983488] RAX: 0000000000000000 RBX: ffff99ad0da16270 RCX: 
0000000000000000
kernel: [  559.983491] RDX: ffff99ad0c2d3628 RSI: 0000000000000000 RDI: 
0000000000000002
kernel: [  559.983494] RBP: ffffbde7400b7dd8 R08: 0000000000000219 R09: 
000000000042061e
kernel: [  559.983497] R10: 0000000000001168 R11: 0000000000000000 R12: 
0000000000000000
kernel: [  559.983500] R13: ffff99ad0da16010 R14: ffff99ad0da16000 R15: 
ffff99ad0da162c0
kernel: [  559.983504] FS:  0000000000000000(0000) GS:ffff99ad21200000(0000) 
knlGS:0000000000000000
kernel: [  559.983507] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: [  559.983510] CR2: 00000000000002de CR3: 00000004bd80a001 CR4: 
00000000003606f0

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

Title:
  Laptop freeze after unplug power-AC (USB-C)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  ## Power adapter plugged in,  charging goes well

  [ 1018.621820] asus_wmi: Unknown key cf pressed

  
  ## Power adapter unplugged, after few moments system freeze

  [  567.444810] BUG: kernel NULL pointer dereference, address: 0000000000000080
  [  567.444819] #PF: supervisor read access in kernel mode
  [  567.444823] #PF: error_code(0x0000) - not-present page
  [  567.444827] PGD 0 P4D 0 
  [  567.444834] Oops: 0000 [#1] PREEMPT SMP PTI
  [  567.444841] CPU: 0 PID: 2873 Comm: kworker/0:0 Not tainted 
5.5.11-151.current #1
  [  567.444845] Hardware name: ASUSTeK COMPUTER INC. UX370UAR/UX370UAR, BIOS 
UX370UAR.310 04/17/2019
  [  567.444857] Workqueue: events ucsi_handle_connector_change [typec_ucsi]
  [  567.444868] RIP: 0010:ucsi_displayport_remove_partner+0xa/0x20 [typec_ucsi]
  [  567.444874] Code: 38 00 c7 43 28 00 00 00 00 48 83 c7 10 5b e9 6d cd 75 e1 
66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 48 85 ff 74 0f <48> 8b 47 
78 48 c7 00 00 00 00 00 c6 40 3d 00 c3 66 0f 1f 44 00 00
  [  567.444878] RSP: 0018:ffffc90000477df0 EFLAGS: 00010202
  [  567.444883] RAX: 0000000000000008 RBX: ffff88844685c418 RCX: 
00000000000efd00
  [  567.444886] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 
0000000000000008
  [  567.444889] RBP: 0000000000000000 R08: 0000000000000000 R09: 
ffffc90000477ce0
  [  567.444892] R10: ffff888443e9f218 R11: ffff88844edeb478 R12: 
ffff88844685c418
  [  567.444895] R13: 0000000000000001 R14: ffff88844685c2a8 R15: 
0000000000000000
  [  567.444900] FS:  0000000000000000(0000) GS:ffff88844ec00000(0000) 
knlGS:0000000000000000
  [  567.444903] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  567.444906] CR2: 0000000000000080 CR3: 000000000240a006 CR4: 
00000000003606f0
  [  567.444909] Call Trace:
  [  567.444921]  ucsi_unregister_altmodes+0x7b/0x90 [typec_ucsi]
  [  567.444930]  ucsi_unregister_partner.part.0+0x13/0x30 [typec_ucsi]
  [  567.444938]  ucsi_handle_connector_change+0x231/0x310 [typec_ucsi]
  [  567.444949]  ? kmem_cache_free+0x22a/0x290
  [  567.444960]  process_one_work+0x1e1/0x3d0
  [  567.444968]  worker_thread+0x4a/0x3d0
  [  567.444976]  kthread+0xfb/0x130
  [  567.444983]  ? process_one_work+0x3d0/0x3d0
  [  567.444988]  ? kthread_park+0x90/0x90
  [  567.444998]  ret_from_fork+0x35/0x40
  [  567.445006] Modules linked in: typec_displayport hidp rfcomm ccm cmac fuse 
snd_hda_codec_hdmi joydev snd_hda_codec_realtek snd_hda_codec_generic 
ledtrig_audio bnep intel_rapl_msr snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core 
snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi iTCO_wdt 
hid_multitouch iTCO_vendor_support mei_hdcp iwlmvm intel_rapl_common 
snd_soc_core mac80211 snd_compress libarc4 x86_pkg_temp_thermal 
intel_powerclamp snd_pcm_dmaengine uvcvideo ac97_bus coretemp videobuf2_vmalloc 
videobuf2_memops i915 snd_hda_intel videobuf2_v4l2 snd_intel_dspcfg iwlwifi 
kvm_intel videobuf2_common hid_sensor_accel_3d i2c_algo_bit videodev 
snd_hda_codec btusb hid_sensor_trigger kvm industrialio_triggered_buffer 
snd_hda_core drm_kms_helper kfifo_buf btrtl btbcm syscopyarea snd_hwdep 
sysfillrect btintel industrialio asus_nb_wmi irqbypass mc wmi_bmof asus_wmi 
evdev sysimgblt hid_sensor_iio_common bluetooth cfg80211 sparse_keymap snd_pcm 
fb_sys_fops i2c_i801 ucsi_acpi snd_timer
  [  567.445072]  typec_ucsi efivars snd soundcore spi_pxa2xx_platform mei_me 
dw_dmac rfkill thermal typec i2c_designware_platform mei i2c_designware_core 
drm elan_i2c ac tpm_tis tpm_tis_core pinctrl_sunrisepoint tpm pinctrl_intel 
rng_core asus_wireless acpi_pad button hid_sensor_hub hid_generic 
intel_ishtp_hid xhci_pci serio_raw xhci_hcd intel_ish_ipc usbcore intel_ishtp 
usb_common wmi i2c_hid hid battery video
  [  567.445112] CR2: 0000000000000080
  [  567.445117] ---[ end trace a50cf550f0b4969a ]---
  [  567.445126] RIP: 0010:ucsi_displayport_remove_partner+0xa/0x20 [typec_ucsi]
  [  567.445132] Code: 38 00 c7 43 28 00 00 00 00 48 83 c7 10 5b e9 6d cd 75 e1 
66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 48 85 ff 74 0f <48> 8b 47 
78 48 c7 00 00 00 00 00 c6 40 3d 00 c3 66 0f 1f 44 00 00
  [  567.445136] RSP: 0018:ffffc90000477df0 EFLAGS: 00010202
  [  567.445140] RAX: 0000000000000008 RBX: ffff88844685c418 RCX: 
00000000000efd00
  [  567.445143] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 
0000000000000008
  [  567.445146] RBP: 0000000000000000 R08: 0000000000000000 R09: 
ffffc90000477ce0
  [  567.445149] R10: ffff888443e9f218 R11: ffff88844edeb478 R12: 
ffff88844685c418
  [  567.445152] R13: 0000000000000001 R14: ffff88844685c2a8 R15: 
0000000000000000
  [  567.445156] FS:  0000000000000000(0000) GS:ffff88844ec00000(0000) 
knlGS:0000000000000000
  [  567.445159] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  567.445163] CR2: 0000000000000080 CR3: 000000000240a006 CR4: 
00000000003606f0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870140/+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