loop0: detected capacity change from 0 to 32768 netlink: 4 bytes leftover after parsing attributes in process `syz.0.0'. UFO tlock:0xffffc9000154c288 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: 5344 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 47 23 74 fe 48 c7 c7 a0 a4 a5 8b 48 c7 c6 99 a0 a5 8b ba 96 02 00 00 48 c7 c1 c0 a5 a5 8b e8 58 c4 da fd 90 <0f> 0b e8 20 23 74 fe 48 c7 c7 80 a6 a5 8b e8 44 c4 da fd 48 c7 c7 RSP: 0018:ffffc9000cccde60 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 186fda9318592c00 RDX: ffffc90020e12000 RSI: 0000000000078a2a RDI: 0000000000078a2b RBP: ffffc9000cccdf88 R08: ffffc9000cccdbe7 R09: 1ffff92001999b7c R10: dffffc0000000000 R11: fffff52001999b7d R12: 1ffff920002a9800 R13: ffffc9000154c000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc4b75766c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9c563be3a CR3: 0000000043f17000 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+0x8d/0x120 fs/buffer.c:2256 jfs_write_begin+0x35/0x80 fs/jfs/inode.c:306 generic_perform_write+0x2c5/0x900 mm/filemap.c:4314 generic_file_write_iter+0x117/0x550 mm/filemap.c:4457 __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+0x1121/0x18b0 fs/coredump.c:1049 do_coredump fs/coredump.c:1126 [inline] vfs_coredump+0x3321/0x3e60 fs/coredump.c:1200 get_signal+0x1108/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0x9a/0x7a0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline] exit_to_user_mode_loop+0x87/0x4e0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2c1/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc4b678f7c9 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc4b7576038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 00007fc4b69e5fa0 RCX: 00007fc4b678f7c9 RDX: 0000000000000014 RSI: 0000200000000080 RDI: 0000000000000009 RBP: 00007fc4b6813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007fffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc4b69e6038 R14: 00007fc4b69e5fa0 R15: 00007ffd46a8cbe8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 47 23 74 fe 48 c7 c7 a0 a4 a5 8b 48 c7 c6 99 a0 a5 8b ba 96 02 00 00 48 c7 c1 c0 a5 a5 8b e8 58 c4 da fd 90 <0f> 0b e8 20 23 74 fe 48 c7 c7 80 a6 a5 8b e8 44 c4 da fd 48 c7 c7 RSP: 0018:ffffc9000cccde60 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 186fda9318592c00 RDX: ffffc90020e12000 RSI: 0000000000078a2a RDI: 0000000000078a2b RBP: ffffc9000cccdf88 R08: ffffc9000cccdbe7 R09: 1ffff92001999b7c R10: dffffc0000000000 R11: fffff52001999b7d R12: 1ffff920002a9800 R13: ffffc9000154c000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc4b75766c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9bfb2f4120 CR3: 0000000043f17000 CR4: 0000000000352ef0