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

From: Paolo Abeni

Date: Tue Nov 24 2026 - 03:57:10 EST


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