Re: [PATCH] net/sched: sch_dualpi2: Add missing skb check

From: Jamal Hadi Salim

Date: Thu Apr 30 2026 - 11:56:41 EST


On Wed, Apr 29, 2026 at 9:52 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Tue, 28 Apr 2026 20:27:30 +0530 Manas wrote:
> > A packed is dequeued using the function `dequeue_packet()` but there is
> > no check to see if a packet is dequeued. The assignment is always
> > considered as true resulting in null-ptr-deref
> >
> > Fixes: 8f9516daedd6 ("sched: Add enqueue/dequeue of dualpi2 qdisc")
> > Reported-by: Manas <ghandatmanas@xxxxxxxxx>
> > Reported-by: Rakshit Awasthi <rakshitawasthi17@xxxxxxxxx>
> > Signed-off-by: Manas <ghandatmanas@xxxxxxxxx>
>
> Sorry but the patch is nonsensical. Please don't waste our time.
>

Fixed in: https://lore.kernel.org/netdev/20260430152957.194015-1-jhs@xxxxxxxxxxxx/T/#mfe773e91a05e103f47dfa71ea434210aebb74e17

As I have mentioned a few times, when you find issues, please either
a) describe how you found the issue (a reproducer helps) or b) provide
tdc test case for extra bonus.
As you can see the issue has _nothing_ to do with dualpi2.

cheers,
jamal