find_entry called with index = 0 read_mapping_page failed! ERROR: (device loop0): txAbort: ... Log Wrap ... Log Wrap ... Log Wrap ... ... Log Wrap ... Log Wrap ... Log Wrap ... BUG: kernel NULL pointer dereference, address: 0000000000000040 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 8000000135ecd067 P4D 8000000135ecd067 PUD 135b52067 PMD 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 4575 Comm: syz-executor.0 Not tainted 5.1.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:314 [inline] RIP: 0010:txBegin+0x136/0x3a0 fs/jfs/jfs_txnmgr.c:379 Code: 48 8b 45 a0 e8 cb 60 e1 00 e8 76 32 ba ff 48 8d 75 a8 48 c7 c7 08 99 c3 83 e8 56 b9 bb ff 48 c7 c7 e0 e5 0d 83 e8 7a 5f e1 00 <49> 8b 44 24 40 a8 04 0f 85 c7 00 00 00 49 8b 44 24 40 a8 08 0f 85 RSP: 0018:ffffc90000f3ba48 EFLAGS: 00010246 RAX: 0000000000000138 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 000000008e3e83d0 RDI: ffffffff830de5e0 RBP: ffffc90000f3bad8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff830de5f8 R11: 00000000000006d8 R12: 0000000000000000 R13: ffffffff810ec820 R14: ffffffff83c39900 R15: 0000000024cd3118 FS: 00007fd18ff496c0(0000) GS:ffff88813bb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000040 CR3: 00000001329e8000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_create+0xca/0x360 fs/jfs/namei.c:111 lookup_open+0x2cd/0x8a0 fs/namei.c:3232 do_last fs/namei.c:3322 [inline] path_openat+0x50a/0xc40 fs/namei.c:3533 do_filp_open+0x8e/0x100 fs/namei.c:3563 do_sys_open+0x17d/0x220 fs/open.c:1069 __do_sys_openat fs/open.c:1096 [inline] __se_sys_openat fs/open.c:1090 [inline] __x64_sys_openat+0x1b/0x20 fs/open.c:1090 do_syscall_64+0x55/0x170 arch/x86/entry/common.c:298 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fd1903c7e69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd18ff490c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd1904f5f80 RCX: 00007fd1903c7e69 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fd19041447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fd1904f5f80 R15: 00007ffcb2348c38 Modules linked in: CR2: 0000000000000040 ---[ end trace 74d77e8c7e5b5ddd ]--- RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:314 [inline] RIP: 0010:txBegin+0x136/0x3a0 fs/jfs/jfs_txnmgr.c:379 Code: 48 8b 45 a0 e8 cb 60 e1 00 e8 76 32 ba ff 48 8d 75 a8 48 c7 c7 08 99 c3 83 e8 56 b9 bb ff 48 c7 c7 e0 e5 0d 83 e8 7a 5f e1 00 <49> 8b 44 24 40 a8 04 0f 85 c7 00 00 00 49 8b 44 24 40 a8 08 0f 85 RSP: 0018:ffffc90000f3ba48 EFLAGS: 00010246 RAX: 0000000000000138 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 000000008e3e83d0 RDI: ffffffff830de5e0 RBP: ffffc90000f3bad8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff830de5f8 R11: 00000000000006d8 R12: 0000000000000000 R13: ffffffff810ec820 R14: ffffffff83c39900 R15: 0000000024cd3118 FS: 00007fd18ff496c0(0000) GS:ffff88813bb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000040 CR3: 00000001329e8000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 8b 45 a0 mov -0x60(%rbp),%rax 4: e8 cb 60 e1 00 call 0xe160d4 9: e8 76 32 ba ff call 0xffba3284 e: 48 8d 75 a8 lea -0x58(%rbp),%rsi 12: 48 c7 c7 08 99 c3 83 mov $0xffffffff83c39908,%rdi 19: e8 56 b9 bb ff call 0xffbbb974 1e: 48 c7 c7 e0 e5 0d 83 mov $0xffffffff830de5e0,%rdi 25: e8 7a 5f e1 00 call 0xe15fa4 * 2a: 49 8b 44 24 40 mov 0x40(%r12),%rax <-- trapping instruction 2f: a8 04 test $0x4,%al 31: 0f 85 c7 00 00 00 jne 0xfe 37: 49 8b 44 24 40 mov 0x40(%r12),%rax 3c: a8 08 test $0x8,%al 3e: 0f .byte 0xf 3f: 85 .byte 0x85