From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: "Uwe Kleine-König" <ukleinek@debian.org>
Cc: "Paul Menzel" <pmenzel@molgen.mpg.de>,
"Salvatore Bonaccorso" <carnil@debian.org>,
"Sudip Mukherjee" <sudip.mukherjee@codethink.co.uk>,
linux-kernel@vger.kernel.org,
"Andrew Morton" <akpm@linux-foundation.org>,
linux-mm@kvack.org, regressions@lists.linux.dev,
"Thomas Gleixner" <tglx@linutronix.de>,
"Ingo Molnar" <mingo@redhat.com>,
"Borislav Petkov" <bp@alien8.de>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
x86@kernel.org, "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
benh@debian.org
Subject: Re: BUG: kernel NULL pointer dereference, address: 0000000000000000
Date: Sun, 15 Mar 2026 14:52:52 +0000 [thread overview]
Message-ID: <CADVatmPm5Xs1W-f-u34bXs1ok=8zyySGSSZk0KKy5dWXZLXQZg@mail.gmail.com> (raw)
In-Reply-To: <abX53NWDsG8oW7H6@monoceros>
On Sun, 15 Mar 2026 at 00:37, Uwe Kleine-König <ukleinek@debian.org> wrote:
>
> On Sat, Jan 03, 2026 at 11:33:47AM +0000, Sudip Mukherjee wrote:
> > On Sat, Jan 03, 2026 at 12:01:19PM +0600, Paul Menzel wrote:
> > > Dear Salvatore,
> > >
> > >
> > > Thank you for the follow-up.
<snip>
>
> There are several backtraces, I looked at two of them and both trap at
> an address that corresponds to:
>
> /*
> * This has to be run as last thing since init_state may need other
> * pardevice fields. -arca
> */
> -> port->ops->init_state(par_dev, par_dev->state);
> if (!test_and_set_bit(PARPORT_DEVPROC_REGISTERED, &port->devflags)) {
> port->proc_device = par_dev;
> parport_device_proc_register(par_dev);
> }
>
>
> in parport_register_dev_model(). However the trapping machine code
> doesn't match the kernel modules of the respective kernels, so that's a
> bit strange and I'm unable to tell which of the pointer dereferences
> there results in the NULL pointer exception.
>
> Maybe this is also an instance of the hardware disappearing? At least
> port->ops and pardev are non-NULL earlier in that function and all
> static initialisations of a struct parport_operations have an
> init_state() callback.
Thanks for confirming. That is also my understanding that the
underlying hardware disappeared and mentioned that in my first reply
at https://lore.kernel.org/lkml/CADVatmM_mRnkDX=hpUjbyKkZnGynxJfRSujGxm2LaWWMEL_2ew@mail.gmail.com/#t
--
Regards
Sudip
prev parent reply other threads:[~2026-03-15 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-27 18:51 Paul Menzel
2025-11-27 22:55 ` Paul Menzel
2025-12-01 13:25 ` Sudip Mukherjee
2025-12-01 16:05 ` Paul Menzel
2026-01-02 19:59 ` Salvatore Bonaccorso
2026-01-03 6:01 ` Paul Menzel
2026-01-03 11:33 ` Sudip Mukherjee
2026-01-22 8:22 ` Salvatore Bonaccorso
2026-01-26 18:56 ` Sudip Mukherjee
2026-01-27 7:01 ` Giuseppe Sacco
2026-03-15 0:37 ` Uwe Kleine-König
2026-03-15 14:52 ` Sudip Mukherjee [this message]
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='CADVatmPm5Xs1W-f-u34bXs1ok=8zyySGSSZk0KKy5dWXZLXQZg@mail.gmail.com' \
--to=sudipm.mukherjee@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=benh@debian.org \
--cc=bp@alien8.de \
--cc=carnil@debian.org \
--cc=dave.hansen@linux.intel.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@redhat.com \
--cc=pmenzel@molgen.mpg.de \
--cc=regressions@lists.linux.dev \
--cc=sudip.mukherjee@codethink.co.uk \
--cc=tglx@linutronix.de \
--cc=ukleinek@debian.org \
--cc=x86@kernel.org \
/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