loop0: detected capacity change from 0 to 2048 NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) Remounting filesystem read-only NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller-00044-gc1e939a21eb1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:perf_trace_block_buffer+0x293/0x490 include/trace/events/block.h:24 Code: 24 18 48 8d 58 30 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 2b 82 62 fd 4c 8b 3b 49 83 c7 34 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6c 01 00 00 45 8b 3f 49 8d 5c 24 08 48 RSP: 0018:ffffc9000d3856c0 EFLAGS: 00010207 RAX: 0000000000000006 RBX: ffff888043ef9200 RCX: 0000000000040000 RDX: ffffc9000d3a9000 RSI: 00000000000073ab RDI: ffff88801fc37928 RBP: ffffc9000d3857b8 R08: ffffffff819e732b R09: 1ffffffff203a095 R10: dffffc0000000000 R11: fffffbfff203a096 R12: ffffe8ffffc40f70 R13: dffffc0000000000 R14: ffff88801fc378a0 R15: 0000000000000034 FS: 00007faef97ff6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faeede3f000 CR3: 0000000040586000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_block_touch_buffer include/trace/events/block.h:54 [inline] touch_buffer+0x1d5/0x240 fs/buffer.c:64 __nilfs_get_folio_block fs/nilfs2/page.c:42 [inline] nilfs_grab_buffer+0x321/0x440 fs/nilfs2/page.c:61 nilfs_btnode_submit_block+0xe5/0x7d0 fs/nilfs2/btnode.c:96 __nilfs_btree_get_block+0x18d/0x7f0 fs/nilfs2/btree.c:481 nilfs_btree_do_lookup+0x5b1/0xcf0 fs/nilfs2/btree.c:579 nilfs_btree_lookup_contig+0x2b5/0xfc0 fs/nilfs2/btree.c:720 nilfs_bmap_lookup_contig+0x8f/0x160 fs/nilfs2/bmap.c:100 nilfs_get_block+0x245/0x8e0 fs/nilfs2/inode.c:82 block_read_full_folio+0x418/0xcd0 fs/buffer.c:2401 do_mpage_readpage+0x1a73/0x1c80 fs/mpage.c:317 mpage_readahead+0x44f/0x930 fs/mpage.c:374 read_pages+0x17e/0x840 mm/readahead.c:160 page_cache_ra_unbounded+0x774/0x8a0 mm/readahead.c:290 page_cache_sync_readahead include/linux/pagemap.h:1394 [inline] filemap_get_pages+0x621/0x2540 mm/filemap.c:2547 filemap_read+0x454/0xf90 mm/filemap.c:2645 __kernel_read+0x513/0x9d0 fs/read_write.c:527 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xae6/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x520/0xb10 security/integrity/ima/ima_api.c:293 process_measurement+0x1351/0x1fb0 security/integrity/ima/ima_main.c:372 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572 security_file_post_open+0xb9/0x280 security/security.c:3129 do_open fs/namei.c:3776 [inline] path_openat+0x2ccd/0x3590 fs/namei.c:3933 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faef997e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faef97ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007faef9b35f80 RCX: 00007faef997e719 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007faef99f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007faef9b35f80 R15: 00007fffaa1f9c58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:perf_trace_block_buffer+0x293/0x490 include/trace/events/block.h:24 Code: 24 18 48 8d 58 30 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 2b 82 62 fd 4c 8b 3b 49 83 c7 34 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6c 01 00 00 45 8b 3f 49 8d 5c 24 08 48 RSP: 0018:ffffc9000d3856c0 EFLAGS: 00010207 RAX: 0000000000000006 RBX: ffff888043ef9200 RCX: 0000000000040000 RDX: ffffc9000d3a9000 RSI: 00000000000073ab RDI: ffff88801fc37928 RBP: ffffc9000d3857b8 R08: ffffffff819e732b R09: 1ffffffff203a095 R10: dffffc0000000000 R11: fffffbfff203a096 R12: ffffe8ffffc40f70 R13: dffffc0000000000 R14: ffff88801fc378a0 R15: 0000000000000034 FS: 00007faef97ff6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faeede3f000 CR3: 0000000040586000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 18 and $0x18,%al 2: 48 8d 58 30 lea 0x30(%rax),%rbx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 2b 82 62 fd call 0xfd628247 1c: 4c 8b 3b mov (%rbx),%r15 1f: 49 83 c7 34 add $0x34,%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 6c 01 00 00 jne 0x1a3 37: 45 8b 3f mov (%r15),%r15d 3a: 49 8d 5c 24 08 lea 0x8(%r12),%rbx 3f: 48 rex.W