tested on kernel 5.3.0-52: everything works fine :) no Oops, and after reconnecting the dock, all connected devices work ok.
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan ** Also affects: linux-signed-hwe (Ubuntu) Importance: Undecided Status: New ** Changed in: linux-signed-hwe (Ubuntu) Status: New => Fix Committed -- 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/1864754 Title: Kernel Oops - general protection fault: 0000 [#1] SMP PTI after disconnecting thunderbolt docking station Status in linux package in Ubuntu: Fix Released Status in linux-signed-hwe package in Ubuntu: Fix Committed Status in linux source package in Eoan: Fix Committed Status in linux source package in Focal: Fix Released Bug description: [Impact] Disconnecting a thunderbolt docking station on a Dell Inc. XPS 13 9360/0D4J15 can cause a general protection fault (with kernel 5.3.0-40 and above). The bug has been introduced by this upstream commit: ffe3bcaf02c4 ptp: fix the race between the release of ptp_clock and cdev Reverting the commit is not a viable option, because we would re- introduce another bug. The proper fix is to do something similar to this: 75718584cb3c64e6269109d4d54f888ac5a5fd15 "ptp: free ptp device pin descriptors properly" and call pps_unregister_source() in ptp_clock_release(). NOTE: this bug is also present upstream. [Test case] Bug reported provided the test case by physically disconnecting the docking station. The problems can be easily reproduced and it doesn't seem to happen anymore with the fix applied. [Fix] Call call pps_unregister_source() from ptp_clock_release() instead of ptp_clock_unregister(). [Regression potential] Minimal regression potential, the change is limited to the ptp clock unregistering code path. [Original report] happens each time on kernel 5.3.0-40 when I disconnect thunderbolt docking station. Does *not* happen on 5.3.0-28. After it happens almost everything still works ok: the only malfunction I've noticed is that after reconnecting the dock, USB devices (mouse, keyboard) connected via the dock don't work at all. However monitor connected via the dock still works fine. Hardware essentials: Dell Inc. XPS 13 9360/0D4J15, BIOS 2.13.0 Plugable TBT3-UDV Docking Station Does not happen when disconnecting "simpler" devices like apple's usb-c to hdmi/usb/usb-c adapter. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-5.3.0-40-generic 5.3.0-40.32~18.04.1 ProcVersionSignature: Ubuntu 5.3.0-40.32~18.04.1-generic 5.3.18 Uname: Linux 5.3.0-40-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.11 Architecture: amd64 Date: Wed Feb 26 05:23:00 2020 InstallationDate: Installed on 2020-01-01 (55 days ago) InstallationMedia: Ubuntu-MATE 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) ProcEnviron: LANGUAGE=en_IE:en TERM=xterm PATH=(custom, no user) LANG=en_IE.UTF-8 SHELL=/bin/bash SourcePackage: linux-signed-hwe UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1864754/+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