mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mdshahid03@gmail.com
To: Paolo Abeni <pabeni@redhat.com>
Cc: mdshahid03@gmail.com, Jakub Kicinski <kuba@kernel.org>,
	 davem@davemloft.net, edumazet@kernel.org,
	netdev@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtnetlink: fix NULL pointer dereference in rtnl_get_link()
Date: Mon, 23 Nov 2026 21:31:39 +0530	[thread overview]
Message-ID: <179544969959.175192.4403952228876691788.b4-reply@b4> (raw)
In-Reply-To: <250c2bb2-57d7-4f91-a32c-8f6ac7d55a46@redhat.com>

Thanks Paolo.

I think,I may have misunderstood this part from NET documentation guidelines:

"The commit message must disclose whether reproducing the issue required 
modifying the kernel (e.g. inserting a delay to widen a race, or[[**writing 
a loadable module to issue the right sequence of calls)**]] or using error injection."

I interpreted this as allowing a out-of-tree test module to produce
an issue,provided that it uses legitimate kernel APIs.

1.am i intrepretting incorrectly ?

2.This is general question ,i mean ,we can litrally crash the kernel 
just with loadable module ? How do we distinguish a legitimate kernel 
bug exposed through a test module from a crash caused by an artificial 
or unsupported sequence of operations? is this not vulnerablity in a 
way or design issue ?

3.Don't you see a gap in documentation w.r.t testing with loadable module
in details.

I am asking because, like to understand the correct approach and apply 
it to my future kernel contributions.

Have a nice day !!!

Thanks
Shahid.

On 2026-11-23 11:56 +0100, Paolo Abeni wrote:
> On 11/21/26 12:10, mdshahid03@gmail.com wrote:
> > I tested this issue on both original and patched kernels in qemu.
> > 
> > First, I used a test module to unregister all PF_UNSPEC handlers.
> 
> Just in case the are any doubts on the poic: if you need a custom
> OoO kernel module to trigger a 'bug', it's not a bug.
> 
> /P
> 
> 
> 



  reply	other threads:[~2026-11-23 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 13:45 mdshahid03
2026-11-20 13:49 ` netdev-bot+sinfo
2026-11-20 18:04 ` Jakub Kicinski
2026-11-21 11:10   ` mdshahid03
2026-11-23 10:56     ` Paolo Abeni
2026-11-23 16:01       ` mdshahid03 [this message]
2026-11-23 18:01         ` Eric Dumazet

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=179544969959.175192.4403952228876691788.b4-reply@b4 \
    --to=mdshahid03@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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

all inboxes | Powered by JetHome®