REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. audit: type=1804 audit(1676891481.602:71): pid=8779 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir3941412392/syzkaller.KZ7IaW/587/file1/bus" dev="loop0" ino=4 res=1 ------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:509! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8656 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:reiserfs_in_journal+0x49c/0x6f0 fs/reiserfs/journal.c:509 Code: 39 ec 75 a7 e8 95 9d 8c ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 79 01 00 00 48 3b 5d 08 75 86 e8 74 9d 8c ff <0f> 0b e8 6d 9d 8c ff 48 8b 9b 80 06 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88802c25ee20 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888045180040 RCX: ffffc90005d30000 base_sock_release(0000000083fcce1e) sk= (null) RDX: 0000000000003bfc RSI: ffffffff81d5e7fc RDI: ffffc9000ba55050 RBP: ffffc9000ba55048 R08: ffff88802c25ef10 R09: 0000000000000213 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: 0000000000000da7 FS: 00007f866eb48700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d82f000 CR3: 0000000097b26000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block.constprop.0+0x486/0xf60 fs/reiserfs/bitmap.c:203 scan_bitmap fs/reiserfs/bitmap.c:408 [inline] allocate_without_wrapping_disk fs/reiserfs/bitmap.c:1161 [inline] blocknrs_and_prealloc_arrays_from_search_start fs/reiserfs/bitmap.c:1274 [inline] reiserfs_allocate_blocknrs+0x1f8f/0x4cd0 fs/reiserfs/bitmap.c:1375 reiserfs_new_unf_blocknrs fs/reiserfs/reiserfs.h:3360 [inline] _allocate_block fs/reiserfs/inode.c:653 [inline] reiserfs_get_block+0x948/0x3e40 fs/reiserfs/inode.c:764 __block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978 reiserfs_write_begin+0x39f/0xa10 fs/reiserfs/inode.c:2794 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f86705d60f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f866eb48168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f86706f5f80 RCX: 00007f86705d60f9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000006 RBP: 00007f8670631ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2adc596f R14: 00007f866eb48300 R15: 0000000000022000 Modules linked in: base_sock_release(0000000099a0b4ef) sk=000000001923338c base_sock_release(00000000b6887123) sk=00000000991b2bbb ---[ end trace 7787cdc84cf350da ]--- RIP: 0010:reiserfs_in_journal+0x49c/0x6f0 fs/reiserfs/journal.c:509 Code: 39 ec 75 a7 e8 95 9d 8c ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 79 01 00 00 48 3b 5d 08 75 86 e8 74 9d 8c ff <0f> 0b e8 6d 9d 8c ff 48 8b 9b 80 06 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88802c25ee20 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888045180040 RCX: ffffc90005d30000 RDX: 0000000000003bfc RSI: ffffffff81d5e7fc RDI: ffffc9000ba55050 RBP: ffffc9000ba55048 R08: ffff88802c25ef10 R09: 0000000000000213 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: 0000000000000da7 FS: 00007f866eb48700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefdb35e000 CR3: 0000000097b26000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400