diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2026-09-02 16:36:26 +0200 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-09-02 16:36:26 +0200 |
| commit | 7d4d4f3b668d708d94f62ecdd33ac330a6fd8a84 (patch) | |
| tree | 814282e8a747330133608e277d85efd5715873a4 /tools/perf/scripts/python/bin | |
| parent | 2ccb8878c149443c6acf628b438c9c942c20abb2 (diff) | |
dm-integrity: fix NULL pointer dereference when the 'R' flag is used
If the dm-integrity device has the SB_FLAG_DIRTY_BITMAP flag set and the
user activates the device in the 'R' mode, a crash in dm_integrity_resume
happens because the function attempts to read the journal containing the
bitmap.
This patch makes dm-integrity skip any writes to the device in
dm_integrity_resume if the device is activated in the 'R' mode.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Fixes: 468dfca38b1a ("dm integrity: add a bitmap mode")
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
