UFO tlock:0xffffc9000152d048 BUG at fs/jfs/jfs_txnmgr.c:662 assert(last) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:662! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 37 e9 76 fe 48 c7 c7 60 bf a4 8b 48 c7 c6 59 bb a4 8b ba 96 02 00 00 48 c7 c1 60 c0 a4 8b e8 a8 67 de fd 90 <0f> 0b e8 10 e9 76 fe 48 c7 c7 20 c1 a4 8b e8 94 67 de fd 48 c7 c7 RSP: 0018:ffffc9000e665fa0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 159b4abf28747c00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000e6660c8 R08: ffffc9000e665cc7 R09: 1ffff92001cccb98 R10: dffffc0000000000 R11: fffff52001cccb99 R12: 1ffff920002a5a00 R13: ffffc9000152d000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f5a159bf6c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000050 CR3: 0000000043cd4000 CR4: 0000000000352ef0 Call Trace: diWrite+0x444/0x1f40 fs/jfs/jfs_imap.c:654 txCommit+0x852/0x5430 fs/jfs/jfs_txnmgr.c:1256 jfs_commit_inode+0x2ef/0x530 fs/jfs/inode.c:114 extAlloc+0xc3b/0xfb0 fs/jfs/jfs_extent.c:177 jfs_get_block+0x346/0xab0 fs/jfs/inode.c:254 __block_write_begin_int+0x6b5/0x1900 fs/buffer.c:2145 block_write_begin+0x8a/0x120 fs/buffer.c:2256 jfs_write_begin+0x35/0x80 fs/jfs/inode.c:306 generic_perform_write+0x2c5/0x900 mm/filemap.c:4254 generic_file_write_iter+0x117/0x550 mm/filemap.c:4397 __kernel_write_iter+0x428/0x910 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0x8a0/0xc90 fs/coredump.c:1372 elf_core_dump+0x3369/0x3960 fs/binfmt_elf.c:2111 coredump_write+0x116c/0x1900 fs/coredump.c:1049 vfs_coredump+0x1db5/0x2a60 fs/coredump.c:1170 get_signal+0x1108/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:40 [inline] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] irqentry_exit_to_user_mode+0x7e/0x110 kernel/entry/common.c:73 exc_page_fault+0xab/0x100 arch/x86/mm/fault.c:1535 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7f5a14b8f751 Code: 00 00 00 00 00 0f 1f 40 00 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000000000000050 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f5a14de5fa0 RCX: 00007f5a14b8f749 RDX: 0000000000000000 RSI: 0000000000000050 RDI: 0000000000904000 RBP: 00007f5a14c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f5a14de6038 R14: 00007f5a14de5fa0 R15: 00007ffe28452918 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 37 e9 76 fe 48 c7 c7 60 bf a4 8b 48 c7 c6 59 bb a4 8b ba 96 02 00 00 48 c7 c1 60 c0 a4 8b e8 a8 67 de fd 90 <0f> 0b e8 10 e9 76 fe 48 c7 c7 20 c1 a4 8b e8 94 67 de fd 48 c7 c7 RSP: 0018:ffffc9000e665fa0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 159b4abf28747c00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000e6660c8 R08: ffffc9000e665cc7 R09: 1ffff92001cccb98 R10: dffffc0000000000 R11: fffff52001cccb99 R12: 1ffff920002a5a00 R13: ffffc9000152d000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f5a159bf6c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a09290000 CR3: 0000000043cd4000 CR4: 0000000000352ef0