From: syzbot <syzbot+d490d04560554e6259b9@syzkaller.appspotmail.com>
To: adarshdas950@gmail.com
Cc: adarshdas950@gmail.com, linux-kernel@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] kernel BUG in btrfs_subpage_assert
Date: Fri, 02 Oct 2026 12:50:03 -0700 [thread overview]
Message-ID: <6ac00aeb.34119e79.2f92f3.0001.GAE@google.com> (raw)
In-Reply-To: <20261002194955.10010-1-adarshdas950@gmail.com>
> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
This crash does not have a reproducer. I cannot test it.
>
> diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
> index 558b4a3f9633..98ea6a9a67f3 100644
> --- a/fs/btrfs/inode.c
> +++ b/fs/btrfs/inode.c
> @@ -10813,10 +10813,17 @@ static bool btrfs_data_dirty_folio(struct address_space *mapping,
> const u64 range_end = min_t(u64, folio_next_pos(folio),
> round_up(i_size_read(&inode->vfs_inode),
> fs_info->sectorsize));
> + int ret;
>
> - if (range_end > page_start)
> + if (range_end > page_start) {
> + if (btrfs_is_subpage(fs_info, folio)) {
> + ret = set_folio_extent_mapped(folio);
> + if (ret < 0)
> + return false;
> + }
> btrfs_folio_set_fixup_dirty(fs_info, folio, page_start,
> range_end - page_start);
> + }
> return filemap_dirty_folio(mapping, folio);
> }
parent reply other threads:[~2026-10-02 19:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20261002194955.10010-1-adarshdas950@gmail.com>]
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=6ac00aeb.34119e79.2f92f3.0001.GAE@google.com \
--to=syzbot+d490d04560554e6259b9@syzkaller.appspotmail.com \
--cc=adarshdas950@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®