Re: [PATCH] rtnetlink: fix NULL pointer dereference in rtnl_get_link()

From: mdshahid03

Date: Tue Nov 24 2026 - 08:34:54 EST


Thanks Eric and Paolo for the detailed explanation.

On 2026-11-24 09:56 +0100, Paolo Abeni wrote:
> On 11/23/26 17:01, mdshahid03@xxxxxxxxx wrote:
> > 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.
>
> Please do not top post.
>
> The problematic point is the 'legitimate API'. Adding a delay under
> a lock is legitimate, de-registring core functionalities is not.
>
> If you want to use a kernel module to demonstrate an 'issue', such module
> must do exclusively things the kernel is already doing, it should just
> enforces specific timing/sequence that must be already possible in vanilla.
>
> And if the race is possible only with such a module, at very best the
> issue will get low priority.
>
> /P
>
>
>