All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Daniel Baluta <daniel.baluta@nxp.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	Keyon Jie <yang.jie@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Rander Wang <rander.wang@intel.com>,
	Ranjani Sridharan <ranjani.sridharan@linux.intel.com>,
	Takashi Iwai <tiwai@suse.com>,
	stable@vger.kernel.org, sound-open-firmware@alsa-project.org,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
Date: Thu, 24 Feb 2022 18:14:33 +0000	[thread overview]
Message-ID: <YhfLCWm0Ms3E+j4z@sirena.org.uk> (raw)
In-Reply-To: <20220224180850.34592-1-ammarfaizi2@gnuweeb.org>

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	alsa-devel@alsa-project.org,
	Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	Daniel Baluta <daniel.baluta@nxp.com>,
	Takashi Iwai <tiwai@suse.com>,
	Keyon Jie <yang.jie@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	stable@vger.kernel.org,
	Ranjani Sridharan <ranjani.sridharan@linux.intel.com>,
	Rander Wang <rander.wang@intel.com>,
	Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
	linux-kernel@vger.kernel.org,
	sound-open-firmware@alsa-project.org
Subject: Re: [PATCH v2] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
Date: Thu, 24 Feb 2022 18:14:33 +0000	[thread overview]
Message-ID: <YhfLCWm0Ms3E+j4z@sirena.org.uk> (raw)
In-Reply-To: <20220224180850.34592-1-ammarfaizi2@gnuweeb.org>

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2022-02-24 18:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24 14:51 [PATCH] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM Ammar Faizi
2022-02-24 14:51 ` Ammar Faizi
2022-02-24 16:53 ` Péter Ujfalusi
2022-02-24 16:53   ` Péter Ujfalusi
2022-02-24 17:55   ` Ammar Faizi
2022-02-24 17:55     ` Ammar Faizi
2022-02-24 18:05   ` Pierre-Louis Bossart
2022-02-24 18:05     ` Pierre-Louis Bossart
2022-02-24 18:08     ` [PATCH v2] " Ammar Faizi
2022-02-24 18:08       ` Ammar Faizi
2022-02-24 18:14       ` Mark Brown [this message]
2022-02-24 18:14         ` Mark Brown
2022-02-24 18:28         ` [PATCH v3] " Ammar Faizi
2022-02-24 18:28           ` Ammar Faizi
2022-02-24 18:58           ` [PATCH v4] " Ammar Faizi
2022-02-24 18:58             ` Ammar Faizi
2022-02-24 22:58             ` Mark Brown
2022-02-24 22:58               ` Mark Brown
2022-02-24 22:58           ` [PATCH v3] " Mark Brown
2022-02-24 22:58             ` Mark Brown
2022-02-24 22:58       ` [PATCH v2] " Mark Brown
2022-02-24 22:58         ` Mark Brown
2022-02-24 17:26 ` [PATCH] " Mark Brown
2022-02-24 17:26   ` Mark Brown
2022-02-24 17:56   ` Ammar Faizi
2022-02-24 17:56     ` Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YhfLCWm0Ms3E+j4z@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=ammarfaizi2@gnuweeb.org \
    --cc=daniel.baluta@nxp.com \
    --cc=kai.vehmanen@linux.intel.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=rander.wang@intel.com \
    --cc=ranjani.sridharan@linux.intel.com \
    --cc=sound-open-firmware@alsa-project.org \
    --cc=stable@vger.kernel.org \
    --cc=tiwai@suse.com \
    --cc=yang.jie@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.