KASAN: wild-memory-access Write in __journal_read_write

Status: moderation: reported on 2026/09/30 05:38
Subsystems: dm
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+4ad2dd0be5fbe079376e@syzkaller.appspotmail.com
First crash: 4d05h, last: 4d05h
▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
fb8940e3 repro-c 🏃 KASAN: wild-memory-access Write in __journal_read_write 2026/09/30 05:14 2026/09/30 05:14 7808aef4
97a510d5 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ KASAN: wild-memory-access Write in __journal_read_write 2026/09/28 00:44 2026/09/28 00:44 2026/09/28 01:59 a3c7249d

Sample crash report:
==================================================================
BUG: KASAN: wild-memory-access in __journal_read_write+0xc29/0x1f10 drivers/md/dm-integrity.c:2288
Write of size 512 at addr 0005088000000000 by task syz.0.1247/10124

CPU: 0 UID: 0 PID: 10124 Comm: syz.0.1247 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
 check_region_inline mm/kasan/generic.c:186 [inline]
 kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
 __asan_memcpy+0x3c/0x60 mm/kasan/shadow.c:106
 __journal_read_write+0xc29/0x1f10 drivers/md/dm-integrity.c:2288
 dm_integrity_map_continue+0x243f/0x33b0 drivers/md/dm-integrity.c:2574
 dm_integrity_map+0x6cc/0xc90 drivers/md/dm-integrity.c:2204
 __map_bio+0x597/0x660 drivers/md/dm.c:1435
 __split_and_process_bio drivers/md/dm.c:1769 [inline]
 dm_split_and_process_bio drivers/md/dm.c:2043 [inline]
 dm_submit_bio+0x5b6/0x2950 drivers/md/dm.c:2099
 __submit_bio block/blk-core.c:681 [inline]
 __submit_bio+0x20e/0x3d0 block/blk-core.c:670
 __submit_bio_noacct block/blk-core.c:724 [inline]
 submit_bio_noacct_nocheck+0x736/0xc00 block/blk-core.c:792
 submit_bio_noacct+0xc93/0x2130 block/blk-core.c:925
 blk_crypto_submit_bio include/linux/blk-crypto.h:212 [inline]
 __bh_submit+0x7ce/0xaa0 fs/buffer.c:1132
 __block_write_full_folio+0x7db/0xfb0 fs/buffer.c:1817
 block_write_full_folio+0x3b5/0x4e0 fs/buffer.c:2665
 blkdev_writepages+0xc7/0x150 block/fops.c:487
 do_writepages+0x278/0x600 mm/page-writeback.c:2560
 filemap_writeback+0x22d/0x2e0 mm/filemap.c:387
 filemap_fdatawrite_range mm/filemap.c:412 [inline]
 filemap_write_and_wait_range mm/filemap.c:684 [inline]
 filemap_write_and_wait_range+0xa6/0x130 mm/filemap.c:675
 filemap_write_and_wait include/linux/pagemap.h:65 [inline]
 sync_blockdev block/bdev.c:275 [inline]
 sync_blockdev block/bdev.c:271 [inline]
 bdev_release+0x4d3/0x6d0 block/bdev.c:1171
 blkdev_release+0x15/0x20 block/fops.c:682
 __fput+0x3ff/0xb50 fs/file_table.c:512
 task_work_run+0x150/0x240 kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
 exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
 do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9de179e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc9e117ca8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f9de1a27da0 RCX: 00007f9de179e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f9de1a27da0 R08: 00007f9de1a26128 R09: 0000000000000000
R10: 00000000003ffc80 R11: 0000000000000246 R12: 0000000000019030
R13: 00007f9de1a2618c R14: 0000000000018ddd R15: 00007f9de1a26180
 </TASK>
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/26 05:36 upstream f14572c203d5 a3c7249d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: wild-memory-access Write in __journal_read_write
* Struck through repros no longer work on HEAD.