Re: [PATCH] rtnetlink: fix NULL pointer dereference in rtnl_get_link()
From: mdshahid03
Date: Mon Nov 23 2026 - 11:02:10 EST
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@xxxxxxxxx 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
>
>
>