[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032948: linux-image-6.1.0-5-amd64: oops in ucsi_acpi_notify



On Sat, Mar 18, 2023 at 09:13:01PM +0100, Salvatore Bonaccorso wrote:
> On Thu, Mar 16, 2023 at 08:39:51PM +0100, Diederik de Haas wrote:
> > On Thursday, 16 March 2023 18:11:27 CET Julien Cristau wrote:
> > > > I rebooted on 6.1.15-1 last night and things are still looking good so
> > > > I'll call this fixed.  Thanks.
> > > 
> > > Spoke too soon:
> > > > [84564.498495] BUG: kernel NULL pointer dereference, address:
> > > > 0000000000000398 [84564.498502] #PF: supervisor write access in kernel
> > > > mode
> > > > [84564.498504] #PF: error_code(0x0002) - not-present page
> > > > [84564.498506] PGD 4c9444067 P4D 4c9444067 PUD 0
> > > > [84564.498510] Oops: 0002 [#1] PREEMPT SMP NOPTI
> > > > [84564.498512] CPU: 0 PID: 140651 Comm: kworker/0:0 Not tainted
> > > > 6.1.0-6-amd64 #1  Debian 6.1.15-1 [84564.498516] Hardware name: LENOVO
> > > > 20XW00ABUS/20XW00ABUS, BIOS N32ET82W (1.58 ) 12/05/2022 [84564.498518]
> > > > Workqueue: kacpi_notify acpi_os_execute_deferred
> > 
> > Bummer.
> > 
> > Since 6.1.8 I found the following 2 commits in drivers/usb/typec/ucsi:
> > 
> > 3d7f77e55da3455c8844b651e37779c90e201f48 titled
> > "usb: ucsi: Ensure connector delayed work items are flushed"
> > 
> > fdd11d7136fd070b3a74d6d8799d9eac28a57fc5 titled
> > "usb: typec: ucsi: Don't attempt to resume the ports before they exist"
> > 
> > Especially the first one looks 'promising'.
> > Can you make a patch which reverts that commit and use 'test-patches' from
> > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html
> > to build a kernel and test that?
> 
> The following looks similar, though it is reported to happen on dock
> unplug. I assume your issue is independent on that?

And if you do some bisection/tests with the above questions from
Diederik, might you try as well

https://patchwork.kernel.org/project/linux-usb/patch/20230306103359.6591-2-hdegoede@redhat.com/

(it is not yet applied mainline).

Regards,
Salvatore


Reply to: