From: Yu Junzhe <junzheyu1@gmail.com>
To: Mikulas Patocka <mpatocka@redhat.com>,
Mike Snitzer <snitzer@kernel.org>,
Benjamin Marzinski <bmarzins@redhat.com>,
Alasdair Kergon <agk@redhat.com>
Cc: dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [BUG] dm-integrity: mode R resume NULL deref when DIRTY_BITMAP is set
Date: Tue, 18 Aug 2026 08:35:10 +0000 [thread overview]
Message-ID: <20260818083511.352-1-junzheyu1@gmail.com> (raw)
In-Reply-To: <20260817100605.292-1-junzheyu1@gmail.com>
Hi Mikulas,
Thanks for the patch. We A/B-tested it on Linux 6.6.144 KASAN against the
minimized PoC (mode B format, plant SB_FLAG_DIRTY_BITMAP, load+resume
mode R).
Results:
- unpatched: KASAN null-ptr-deref in list_get_page via
rw_journal_sectors / dm_integrity_resume
- with your change (skip writes in dm_integrity_resume when mode == 'R'):
PoC completes; no list_get_page / KASAN on resume
Happy to test follow-ups if needed.
Thanks,
Yu Junzhe
FuzzAnything <fuzzanything@gmail.com>
prev parent reply other threads:[~2026-08-18 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 10:06 [BUG] dm-integrity: mode R resume NULL deref when DIRTY_BITMAP is set Yu Junzhe
2026-08-17 15:10 ` Mikulas Patocka
2026-08-18 8:35 ` Yu Junzhe [this message]
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=20260818083511.352-1-junzheyu1@gmail.com \
--to=junzheyu1@gmail.com \
--cc=agk@redhat.com \
--cc=bmarzins@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=snitzer@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.