audit: type=1804 audit(1675940858.405:3): pid=9596 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.4" name="/root/syzkaller-testdir725596244/syzkaller.7FVgMa/3/file2/bus" dev="loop4" ino=25 res=1 BUG: unable to handle kernel paging request at fffffffffffffffb IP: hfsplus_bnode_put+0x43/0x3e0 fs/hfsplus/bnode.c:629 PGD 8e6b067 P4D 8e6b067 PUD 8e6d067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 9569 Comm: syz-executor.4 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 task: ffff88804f466140 task.stack: ffff88804f468000 RIP: 0010:hfsplus_bnode_put+0x43/0x3e0 fs/hfsplus/bnode.c:629 RSP: 0018:ffff88804f46f0b0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88804f46f1e8 RCX: ffffc900079ed000 RDX: 1fffffffffffffff RSI: ffffffff81d3b564 RDI: fffffffffffffffb RBP: fffffffffffffffb R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: ffff88804f466140 R12: ffff8880a61d818c R13: 0000000000000073 R14: ffff8880aa6fd890 R15: ffff88804f46f1e8 FS: 00007f01b5ea5700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffb CR3: 00000000a2ec4000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_brec_find+0xb6/0x460 fs/hfsplus/bfind.c:174 __hfsplus_ext_read_extent fs/hfsplus/extents.c:164 [inline] __hfsplus_ext_cache_extent fs/hfsplus/extents.c:191 [inline] hfsplus_ext_read_extent+0x441/0x9e0 fs/hfsplus/extents.c:218 hfsplus_file_extend+0x616/0xef0 fs/hfsplus/extents.c:456 hfsplus_get_block+0x15b/0x820 fs/hfsplus/extents.c:245 __block_write_begin_int+0x35c/0x11d0 fs/buffer.c:2038 __block_write_begin fs/buffer.c:2088 [inline] block_write_begin+0x58/0x270 fs/buffer.c:2147 cont_write_begin+0x4a3/0x740 fs/buffer.c:2497 hfsplus_write_begin+0x87/0x130 fs/hfsplus/inode.c:53 generic_perform_write+0x1d5/0x430 mm/filemap.c:3055 __generic_file_write_iter+0x227/0x590 mm/filemap.c:3180 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 __kernel_write+0xf5/0x330 fs/read_write.c:501 write_pipe_buf+0x143/0x1c0 fs/splice.c:797 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x326/0x7a0 fs/splice.c:626 splice_from_pipe fs/splice.c:661 [inline] default_file_splice_write+0xc5/0x150 fs/splice.c:809 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1018 splice_direct_to_actor+0x27c/0x730 fs/splice.c:973 do_splice_direct+0x164/0x210 fs/splice.c:1061 do_sendfile+0x47f/0xb30 fs/read_write.c:1441 SYSC_sendfile64 fs/read_write.c:1502 [inline] SyS_sendfile64+0xff/0x110 fs/read_write.c:1488 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f01b79330f9 RSP: 002b:00007f01b5ea5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f01b7a52f80 RCX: 00007f01b79330f9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f01b798eae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001000fc4 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeccc0000f R14: 00007f01b5ea5300 R15: 0000000000022000 Code: ed 0f 84 71 01 00 00 e8 4c a1 81 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2f 03 00 00 4c 8d 6d 78 <4c> 8b 65 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 RIP: hfsplus_bnode_put+0x43/0x3e0 fs/hfsplus/bnode.c:629 RSP: ffff88804f46f0b0 CR2: fffffffffffffffb ---[ end trace 4246c1eeefd9eb1b ]--- ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: 0f 84 71 01 00 00 je 0x178 7: e8 4c a1 81 ff callq 0xff81a158 c: 48 89 ea mov %rbp,%rdx f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 16: fc ff df 19: 48 c1 ea 03 shr $0x3,%rdx 1d: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 21: 0f 85 2f 03 00 00 jne 0x356 27: 4c 8d 6d 78 lea 0x78(%rbp),%r13 * 2b: 4c 8b 65 00 mov 0x0(%rbp),%r12 <-- trapping instruction 2f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 36: fc ff df 39: 4c 89 ea mov %r13,%rdx 3c: 48 c1 ea 03 shr $0x3,%rdx