syz.0.15[3220]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set loop0: detected capacity change from 0 to 32768 BUG: unable to handle page fault for address: 0000000000047988 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 8000000104712067 P4D 8000000104712067 PUD 104f46067 PMD 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 0 PID: 3220 Comm: syz.0.15 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:gen_poly_key fs/bcachefs/checksum.c:190 [inline] RIP: 0010:bch2_checksum+0x181/0x360 fs/bcachefs/checksum.c:226 Code: 00 00 00 00 00 00 48 c7 84 24 c0 01 00 00 00 00 00 00 48 c7 84 24 b8 01 00 00 00 00 00 00 48 c7 84 24 b0 01 00 00 00 00 00 00 <49> 8b bc 24 88 79 04 00 48 b8 00 00 00 00 00 00 00 80 49 31 c5 48 RSP: 0018:ffffc9000360b570 EFLAGS: 00010246 RAX: ffffc9000360b5a8 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000360b720 RBP: ffffc9000360b778 R08: ffff88810673e010 R09: 0000000000000000 R10: ffffc9000360b5a8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810673e010 FS: 00007fbf46c676c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000047988 CR3: 0000000105332000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: read_one_super+0x1af/0x210 fs/bcachefs/super-io.c:645 bch2_read_super+0x170/0x4a0 fs/bcachefs/super-io.c:715 bch2_fs_open+0xdb/0x1470 fs/bcachefs/super.c:1897 bch2_mount+0x273/0x5b0 fs/bcachefs/fs.c:1829 legacy_get_tree+0x2d/0x60 fs/fs_context.c:638 vfs_get_tree+0x24/0xb0 fs/super.c:1750 do_new_mount+0x153/0x390 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7fbf45f7711a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 7e 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fbf46c66e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbf46c66f00 RCX: 00007fbf45f7711a RDX: 0000000020005b00 RSI: 0000000020000040 RDI: 00007fbf46c66ec0 RBP: 0000000020005b00 R08: 00007fbf46c66f00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000040 R13: 00007fbf46c66ec0 R14: 0000000000005b54 R15: 0000000020000540 Modules linked in: CR2: 0000000000047988 ---[ end trace 0000000000000000 ]--- RIP: 0010:gen_poly_key fs/bcachefs/checksum.c:190 [inline] RIP: 0010:bch2_checksum+0x181/0x360 fs/bcachefs/checksum.c:226 Code: 00 00 00 00 00 00 48 c7 84 24 c0 01 00 00 00 00 00 00 48 c7 84 24 b8 01 00 00 00 00 00 00 48 c7 84 24 b0 01 00 00 00 00 00 00 <49> 8b bc 24 88 79 04 00 48 b8 00 00 00 00 00 00 00 80 49 31 c5 48 RSP: 0018:ffffc9000360b570 EFLAGS: 00010246 RAX: ffffc9000360b5a8 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000360b720 RBP: ffffc9000360b778 R08: ffff88810673e010 R09: 0000000000000000 R10: ffffc9000360b5a8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810673e010 FS: 00007fbf46c676c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000047988 CR3: 0000000105332000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 48 c7 84 24 c0 01 00 movq $0x0,0x1c0(%rsp) d: 00 00 00 00 00 12: 48 c7 84 24 b8 01 00 movq $0x0,0x1b8(%rsp) 19: 00 00 00 00 00 1e: 48 c7 84 24 b0 01 00 movq $0x0,0x1b0(%rsp) 25: 00 00 00 00 00 * 2a: 49 8b bc 24 88 79 04 mov 0x47988(%r12),%rdi <-- trapping instruction 31: 00 32: 48 b8 00 00 00 00 00 movabs $0x8000000000000000,%rax 39: 00 00 80 3c: 49 31 c5 xor %rax,%r13 3f: 48 rex.W