The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: syzbot <syzbot+60332fd095f8bb2946ad@syzkaller.appspotmail.com>
To: malayarout91@gmail.com
Cc: malayarout91@gmail.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] KASAN: invalid-free in rcu_free_sheaf
Date: Mon, 06 Jul 2026 06:36:06 -0700	[thread overview]
Message-ID: <6a4baf46.b42ede87.8bd1.0027.GAE@google.com> (raw)
In-Reply-To: <CAE2+fR82T2Uy4t5eN-Y_AusnFt2a7E5P5dpyKpJT_0x8dniztg@mail.gmail.com>

> Hi,
>
> Please test the following patch.
>
> #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..99d52a2323ac 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 (pib_old)
> +               kfree_rcu(pib_old, rcu);
>         return 0;
>  }

       reply	other threads:[~2026-07-06 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAE2+fR82T2Uy4t5eN-Y_AusnFt2a7E5P5dpyKpJT_0x8dniztg@mail.gmail.com>
2026-07-06 13:36 ` syzbot [this message]
2026-06-12 20:43 [syzbot] [mm?] KASAN: invalid-free in rcu_free_sheaf syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a4baf46.b42ede87.8bd1.0027.GAE@google.com \
    --to=syzbot+60332fd095f8bb2946ad@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malayarout91@gmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox