The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: MM Test my fix double free
       [not found] <CAE2+fR9-14yEoYS0kG+DAV_pA9w4Ty_fA5BstjH5rpp3odoQFQ@mail.gmail.com>
@ 2026-07-06 11:21 ` syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2026-07-06 11:21 UTC (permalink / raw)
  To: malayarout91; +Cc: malayarout91, linux-kernel, syzkaller-bugs

> #syz test

This crash does not have a reproducer. I cannot test it.

>
>  diff --git a/drivers/net/ieee802154/mac802154_hwsim.c
> b/drivers/net/ieee802154/mac802154_hwsim.c
> index 6daa0f198b9f..466791939d57 100644
> --- a/drivers/net/ieee802154/mac802154_hwsim.c
> +++ b/drivers/net/ieee802154/mac802154_hwsim.c
> @@ -113,7 +113,8 @@ static int hwsim_update_pib(struct ieee802154_hw
> *hw, u8 page, u8 channel,
>         pib->filt_level = filt_level;
>
>         rcu_assign_pointer(phy->pib, pib);
> -       kfree_rcu(pib_old, rcu);
> +       if (pid_old)
> +               kfree_rcu(pib_old, rcu);
>         return 0;
>  }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAE2+fR9-14yEoYS0kG+DAV_pA9w4Ty_fA5BstjH5rpp3odoQFQ@mail.gmail.com>
2026-07-06 11:21 ` MM Test my fix double free syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox