netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: M Chetan Kumar <m.chetan.kumar@intel.com>
Cc: Samuel Wein PhD <sam@samwein.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Intel Corporation <linuxwwan@intel.com>
Subject: Re: NULL pointer dereference when removing xmm7360 PCI device
Date: Thu, 27 Apr 2023 14:08:19 -0700	[thread overview]
Message-ID: <20230427140819.1310f4bd@kernel.org> (raw)
In-Reply-To: <Yhw4a065te-PH2rfqCYhLt4RZwLJLek2VsfLDrc8TLjfPqxbw6QKbd7L2PwjA81XlBhUr04Nm8-FjfdSsTlkKnIJCcjqHenPx4cbpRLym-U=@samwein.com>

On Thu, 27 Apr 2023 10:31:29 +0000 Samuel Wein PhD wrote:
> Hi Folks,
> I've been trying to get the xmm7360 working with IOSM and the ModemManager. This has been what my highschool advisor would call a "learning process".
> When trying `echo 1 > /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/remove` I get a variety of errors. One of these is a kernel error
> `2023-04-27T12:23:38.937223+02:00 Nase kernel: [  587.997430] BUG: kernel NULL pointer dereference, address: 0000000000000048
> 2023-04-27T12:23:38.937237+02:00 Nase kernel: [  587.997447] #PF: supervisor read access in kernel mode
> 2023-04-27T12:23:38.937238+02:00 Nase kernel: [  587.997455] #PF: error_code(0x0000) - not-present page
> 2023-04-27T12:23:38.937241+02:00 Nase kernel: [  587.997463] PGD 0 P4D 0 
> 2023-04-27T12:23:38.937242+02:00 Nase kernel: [  587.997476] Oops: 0000 [#1] PREEMPT SMP NOPTI
> 2023-04-27T12:23:38.937242+02:00 Nase kernel: [  587.997489] CPU: 1 PID: 4767 Comm: bash Not tainted 6.3.0-060300-generic #202304232030
> ...
> `
> the full log is available at https://gist.github.com/poshul/0c5ffbde6106a71adcbc132d828dbcd7
> 
> Steps to reproduce: Boot device with xmm7360 installed and in PCI mode, place into suspend. Resume, and start issuing reset/remove commands to the PCI interface (without properly unloading the IOSM module first).
> 
> I'm not sure how widely applicable this is but wanted to at least report it.

Intel folks, PTAL.

  reply	other threads:[~2023-04-27 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27 10:31 NULL pointer dereference when removing xmm7360 PCI device Samuel Wein PhD
2023-04-27 21:08 ` Jakub Kicinski [this message]
2023-04-28  9:21   ` Kumar, M Chetan
2023-04-28  9:47     ` Samuel Wein PhD
2023-04-28 14:24       ` Kumar, M Chetan
2023-05-01 16:00         ` Samuel Wein PhD

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=20230427140819.1310f4bd@kernel.org \
    --to=kuba@kernel.org \
    --cc=linuxwwan@intel.com \
    --cc=m.chetan.kumar@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=sam@samwein.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).