JFS: discard option not supported on device JFS: discard option not supported on device JFS: discard option not supported on device kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:3) task: ffff8880b5fec140 task.stack: ffff8880b5ff8000 BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: 0018:ffff8880b5fff4f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a0597400 RCX: 0000000000000003 RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0 RBP: ffff88809e56d2c0 R08: 0000000000000001 R09: ffff88809e56d2c0 R10: ffff88809e56d347 R11: 0000000000000000 R12: ffff8880a2227200 devid 1 transid 8 /dev/loop5 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f764fc13168 CR3: 00000000b4194000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x254/0x380 fs/jfs/jfs_logmgr.c:2092 lmGCwrite+0x3d4/0x4d0 fs/jfs/jfs_logmgr.c:806 jfs_flush_journal.part.0+0x3e6/0x600 fs/jfs/jfs_logmgr.c:1570 jfs_flush_journal+0x23/0x30 fs/jfs/jfs_logmgr.c:1537 metapage_writepage+0x2f8/0xa80 fs/jfs/jfs_metapage.c:387 __writepage+0x5a/0xc0 mm/page-writeback.c:2322 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257 generic_writepages mm/page-writeback.c:2346 [inline] generic_writepages mm/page-writeback.c:2335 [inline] do_writepages+0x1a2/0x240 mm/page-writeback.c:2363 __writeback_single_inode+0xda/0x1010 fs/fs-writeback.c:1382 writeback_sb_inodes+0x48b/0xd30 fs/fs-writeback.c:1645 wb_writeback+0x243/0xb80 fs/fs-writeback.c:1820 wb_do_writeback fs/fs-writeback.c:1952 [inline] wb_workfn+0x2bd/0xf50 fs/fs-writeback.c:1988 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 20 49 8d bd e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d5 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 RIP: lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: ffff8880b5fff4f0 BTRFS info (device loop5): unrecognized mount option 'ref_verify' ---[ end trace 450a068594fbc607 ]--- ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 06 03 00 00 jne 0x314 e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4d 8b 6c 24 20 mov 0x20(%r12),%r13 1d: 49 8d bd e0 00 00 00 lea 0xe0(%r13),%rdi 24: 48 89 fa mov %rdi,%rdx 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 d5 02 00 00 jne 0x30a 35: 4d 8b ad e0 00 00 00 mov 0xe0(%r13),%r13 3c: 4d 39 ee cmp %r13,%r14 3f: 74 .byte 0x74