Activity log for bug #1864754

Date Who What changed Old value New value Message
2020-02-25 22:44:26 Piotr Morgwai Kotarbiński bug added bug
2020-02-25 22:46:17 Piotr Morgwai Kotarbiński attachment added dmesg output https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1864754/+attachment/5331016/+files/dmesg.log
2020-02-25 22:47:32 Piotr Morgwai Kotarbiński attachment added output of lspci -vvnn https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1864754/+attachment/5331017/+files/lspci-vvnn.log
2020-02-29 21:33:04 Piotr Morgwai Kotarbiński attachment added output of dmesg with 5.3.0-42.34_18.04.1+lp1864754v1 kernel https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1864754/+attachment/5332281/+files/dmesg.log
2020-03-02 17:43:52 Andrea Righi linux-signed-hwe (Ubuntu): assignee Andrea Righi (arighi)
2020-03-02 17:43:57 Andrea Righi linux-signed-hwe (Ubuntu): importance Undecided Medium
2020-03-02 17:44:14 Andrea Righi nominated for series Ubuntu Bionic
2020-03-02 17:44:14 Andrea Righi bug task added linux-signed-hwe (Ubuntu Bionic)
2020-03-04 17:06:24 Andrea Righi description 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) [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 fix is to do something similar to this: 75718584cb3c64e6269109d4d54f888ac5a5fd15 "ptp: free ptp device pin descriptors properly" and call posix_clock_unregister() in ptp_clock_release(). NOTE: this bug is also present upstream! In addition to that it seems that we can also trigger a kernel oops with the igb driver if this additional upstream fix is not applied: 94bc1e522b32c866d85b5af0ede55026b585ae73 ("igb/igc: Don't warn on fatal read failures when the device is removed") [Test case] Bug reported provided the test case by physically disconnecting the docking station. The problems can be easily reproduced. [Fix] Apply upstream commit: 94bc1e522b32c866d85b5af0ede55026b585ae73 ("igb/igc: Don't warn on fatal read failures when the device is removed") And a custom patch to call call posix_clock_unregister() from ptp_clock_release(). [Regression potential] About the upstream commit the regression potential is minimal. The other custom fix seems to be pretty straightforward. We may consider to post this upstream and wait for a better feedback from the community. [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)
2020-03-04 17:06:42 Andrea Righi linux-signed-hwe (Ubuntu Bionic): importance Undecided High
2020-03-04 17:06:47 Andrea Righi linux-signed-hwe (Ubuntu Bionic): assignee Andrea Righi (arighi)
2020-03-04 17:07:24 Andrea Righi nominated for series Ubuntu Focal
2020-03-04 17:07:24 Andrea Righi bug task added linux-signed-hwe (Ubuntu Focal)
2020-03-04 17:07:32 Andrea Righi linux-signed-hwe (Ubuntu Focal): importance Medium High
2020-03-23 07:32:32 Piotr Morgwai Kotarbiński attachment added dmesg output with kernel 5.3.0-42.34~18.04.1 https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1864754/+attachment/5340326/+files/dmesg.log
2020-03-27 09:58:05 Andrea Righi 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 fix is to do something similar to this: 75718584cb3c64e6269109d4d54f888ac5a5fd15 "ptp: free ptp device pin descriptors properly" and call posix_clock_unregister() in ptp_clock_release(). NOTE: this bug is also present upstream! In addition to that it seems that we can also trigger a kernel oops with the igb driver if this additional upstream fix is not applied: 94bc1e522b32c866d85b5af0ede55026b585ae73 ("igb/igc: Don't warn on fatal read failures when the device is removed") [Test case] Bug reported provided the test case by physically disconnecting the docking station. The problems can be easily reproduced. [Fix] Apply upstream commit: 94bc1e522b32c866d85b5af0ede55026b585ae73 ("igb/igc: Don't warn on fatal read failures when the device is removed") And a custom patch to call call posix_clock_unregister() from ptp_clock_release(). [Regression potential] About the upstream commit the regression potential is minimal. The other custom fix seems to be pretty straightforward. We may consider to post this upstream and wait for a better feedback from the community. [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) [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)
2020-04-03 13:29:49 Stefan Bader linux-signed-hwe (Ubuntu Focal): status New Fix Committed
2020-04-06 09:20:19 Piotr Morgwai Kotarbiński attachment added dmesg output with kernel 5.3.0-46.38~18.04.1 https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1864754/+attachment/5347602/+files/dmesg-5.3.0-46.38~18.04.1.log
2020-04-14 11:12:36 Andrea Righi bug task added linux (Ubuntu)
2020-04-14 11:12:52 Andrea Righi linux (Ubuntu Focal): status New Fix Committed
2020-04-14 11:13:18 Andrea Righi nominated for series Ubuntu Eoan
2020-04-14 11:13:18 Andrea Righi bug task added linux (Ubuntu Eoan)
2020-04-14 11:13:18 Andrea Righi bug task added linux-signed-hwe (Ubuntu Eoan)
2020-04-14 11:13:47 Andrea Righi bug task deleted linux-signed-hwe (Ubuntu)
2020-04-14 11:13:54 Andrea Righi linux (Ubuntu Eoan): status New Fix Committed
2020-04-14 11:14:00 Andrea Righi bug task deleted linux (Ubuntu Bionic)
2020-04-14 11:14:17 Andrea Righi bug task deleted linux-signed-hwe (Ubuntu Bionic)
2020-04-14 11:14:21 Andrea Righi bug task deleted linux-signed-hwe (Ubuntu Eoan)
2020-04-14 11:14:27 Andrea Righi bug task deleted linux-signed-hwe (Ubuntu Focal)
2020-04-14 11:14:36 Andrea Righi linux (Ubuntu Eoan): importance Undecided Medium
2020-04-14 11:14:39 Andrea Righi linux (Ubuntu Focal): importance Undecided Medium
2020-04-14 11:14:44 Andrea Righi linux (Ubuntu Eoan): assignee Andrea Righi (arighi)
2020-04-14 11:14:47 Andrea Righi linux (Ubuntu Focal): assignee Andrea Righi (arighi)
2020-04-16 11:31:32 Launchpad Janitor linux (Ubuntu Focal): status Fix Committed Fix Released
2020-04-16 11:31:32 Launchpad Janitor cve linked 2020-11494
2020-05-01 01:21:55 Ubuntu Kernel Bot tags amd64 apport-bug bionic kernel-oops amd64 apport-bug bionic kernel-oops verification-needed-eoan
2020-05-02 10:58:58 Piotr Morgwai Kotarbiński tags amd64 apport-bug bionic kernel-oops verification-needed-eoan amd64 apport-bug bionic kernel-oops verification-done-eoan
2020-05-02 11:05:19 Piotr Morgwai Kotarbiński bug task added linux-signed-hwe (Ubuntu)
2020-05-02 11:07:25 Piotr Morgwai Kotarbiński linux-signed-hwe (Ubuntu): status New Fix Committed
2020-05-19 21:37:06 Launchpad Janitor linux (Ubuntu Eoan): status Fix Committed Fix Released
2020-05-19 21:37:06 Launchpad Janitor cve linked 2020-11608