Re: [PATCH v2] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
From: Mark Brown
Date: Thu Feb 24 2022 - 13:14:44 EST
On Fri, Feb 25, 2022 at 01:08:50AM +0700, Ammar Faizi wrote:
> The dmesg says:
>
> [ T1387] sof-audio-pci-intel-tgl 0000:00:1f.3: error: memory alloc failed: -12
> [ T1387] BUG: kernel NULL pointer dereference, address: 0000000000000000
> [ T1387] #PF: supervisor read access in kernel mode
> [ T1387] #PF: error_code(0x0000) - not-present page
> [ T1387] PGD 0 P4D 0
> [ T1387] Oops: 0000 [#1] PREEMPT SMP NOPTI
This is still an enormous and not super useful section of backtrace, at
a glance the backtrace is longer than the rest of the commit :(
Attachment:
signature.asc
Description: PGP signature