BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 105fdf067 P4D 105fdf067 PUD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 3433 Comm: syz-executor.0 Not tainted 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:bio_alloc include/linux/bio.h:432 [inline] RIP: 0010:lbmStartIO+0x4d/0x120 fs/jfs/jfs_logmgr.c:2116 Code: ff 83 fb 03 0f 8f c9 00 00 00 e8 0e c0 85 ff 49 8b 44 24 20 b9 40 0c 00 00 49 c7 c0 20 9f 05 86 ba 01 08 00 00 be 01 00 00 00 <48> 8b 38 e8 8b 54 25 00 ba 00 10 00 00 48 89 c3 41 8b 44 24 3c 48 RSP: 0018:ffffc90002a4fc40 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000c40 RDX: 0000000000000801 RSI: 0000000000000001 RDI: 0000000000000005 RBP: ffff888100ec69c0 R08: ffffffff86059f20 R09: 0000000000000003 R10: 0000000000000002 R11: 0000000000000003 R12: ffff888110846800 R13: 0000000000000000 R14: 0000000000000046 R15: 0000000000000002 FS: 0000555555893480(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010e35b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x187/0x200 fs/jfs/jfs_logmgr.c:2067 lmNextPage.isra.0+0xb6/0x1d0 fs/jfs/jfs_logmgr.c:616 lmWriteRecord+0x548/0x6d0 fs/jfs/jfs_logmgr.c:529 lmLogSync+0xc5/0x340 fs/jfs/jfs_logmgr.c:969 jfs_syncpt+0x61/0x70 fs/jfs/jfs_logmgr.c:1041 jfs_sync_fs+0x48/0x60 fs/jfs/super.c:685 sync_filesystem+0x64/0xf0 fs/sync.c:56 generic_shutdown_super+0x34/0x170 fs/super.c:666 kill_block_super+0x1d/0x50 fs/super.c:1649 deactivate_locked_super+0x4a/0xe0 fs/super.c:481 deactivate_super fs/super.c:514 [inline] deactivate_super+0x9c/0xb0 fs/super.c:510 cleanup_mnt+0x109/0x1e0 fs/namespace.c:1254 task_work_run+0x8f/0xe0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x193/0x1a0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f881e07de17 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffcf38d9158 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f881e07de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffcf38d9210 RBP: 00007ffcf38d9210 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcf38da2d0 R13: 00007f881e0c73b9 R14: 0000000000010ee6 R15: 0000000000000001 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:bio_alloc include/linux/bio.h:432 [inline] RIP: 0010:lbmStartIO+0x4d/0x120 fs/jfs/jfs_logmgr.c:2116 Code: ff 83 fb 03 0f 8f c9 00 00 00 e8 0e c0 85 ff 49 8b 44 24 20 b9 40 0c 00 00 49 c7 c0 20 9f 05 86 ba 01 08 00 00 be 01 00 00 00 <48> 8b 38 e8 8b 54 25 00 ba 00 10 00 00 48 89 c3 41 8b 44 24 3c 48 RSP: 0018:ffffc90002a4fc40 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000c40 RDX: 0000000000000801 RSI: 0000000000000001 RDI: 0000000000000005 RBP: ffff888100ec69c0 R08: ffffffff86059f20 R09: 0000000000000003 R10: 0000000000000002 R11: 0000000000000003 R12: ffff888110846800 R13: 0000000000000000 R14: 0000000000000046 R15: 0000000000000002 FS: 0000555555893480(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010e35b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 83 fb 03 cmp $0x3,%ebx 3: 0f 8f c9 00 00 00 jg 0xd2 9: e8 0e c0 85 ff call 0xff85c01c e: 49 8b 44 24 20 mov 0x20(%r12),%rax 13: b9 40 0c 00 00 mov $0xc40,%ecx 18: 49 c7 c0 20 9f 05 86 mov $0xffffffff86059f20,%r8 1f: ba 01 08 00 00 mov $0x801,%edx 24: be 01 00 00 00 mov $0x1,%esi * 29: 48 8b 38 mov (%rax),%rdi <-- trapping instruction 2c: e8 8b 54 25 00 call 0x2554bc 31: ba 00 10 00 00 mov $0x1000,%edx 36: 48 89 c3 mov %rax,%rbx 39: 41 8b 44 24 3c mov 0x3c(%r12),%eax 3e: 48 rex.W