On Lenovo Thinkpad X1 when unplugging from Lenovo ThinkPad Thunderbolt 4 dock I get NULL pointer dereference in kernel and system freezes. This is 100% reproducible. I'm using Fedora 37 and I don't recall this happen while on 6.0 kernel. Attaching photo with kernel log.
Created attachment 303821 [details] kernel log
(In reply to Szymon Janc from comment #1) > Created attachment 303821 [details] > kernel log According to the screenshot this is the second oops and thus a follow-up error; just to be sure, could you please share dmesg before unplugging the dock, as it likely has the first oops
Hi, Attaching dmesg taken prior to unplug and screen shot of panic that follows.
Created attachment 303881 [details] dmesg
Created attachment 303882 [details] kernel crash
I need to apologise: I misread the screenshot, it wasn't second oops, it was the first one. Sorry. Nevertheless, thx for the data, this is helpful in any case.
This should fix the problem: https://patchwork.kernel.org/project/linux-usb/patch/20230306103359.6591-2-hdegoede@redhat.com/ I'll ask this bug to be liked to the it.
Hi, Great, thanks! I'll keep and eye on stable releases and confirm here if this fix the issue for me
I applied this patch to 6.1.21 and can confirm it resolves crashes I experienced with my Lenovo X1 Carbon Gen 9 when unplugging both a Thunderbolt 4 dock (Plugable) and a Dell USB-C display.
Hi, I can confirm that kernel 6.2.9 (which has mentioned patch included) fix the issue for me. Thanks!