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 CPU: 0 PID: 28465 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:diFree+0x167/0x29c0 fs/jfs/jfs_imap.c:886 Code: 8b 44 24 10 48 8b 68 80 48 8b 44 24 18 4c 8d 6d 04 48 c1 e8 0c 4c 89 ea 48 c1 ea 03 48 89 04 24 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fb ucma_write: process 1860 (syz-executor.5) changed security contexts after opening file descriptor, this is not allowed. RSP: 0018:ffff8880439cf930 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff88809ce16d40 RCX: ffffffff8272bf79 RDX: 0000000000000000 RSI: ffffffff8274e8b2 RDI: ffff88804a545ae8 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888039701b28 R13: 0000000000000004 R14: ffffffff889adf80 R15: ffff88803a829038 FS: 00007f9adf184700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9adf185000 CR3: 0000000092880000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: jfs_evict_inode+0x1a1/0x210 fs/jfs/inode.c:165 evict+0x2ed/0x760 fs/inode.c:559 iput_final fs/inode.c:1555 [inline] iput+0x4f1/0x860 fs/inode.c:1581 diFreeSpecial fs/jfs/jfs_imap.c:563 [inline] diFreeSpecial+0x63/0x80 fs/jfs/jfs_imap.c:555 jfs_mount+0x357/0x3d0 fs/jfs/jfs_mount.c:216 jfs_fill_super+0x55c/0xb50 fs/jfs/super.c:589 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9ae0c135fa Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9adf183f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000022ea RCX: 00007f9ae0c135fa RDX: 0000000020005d00 RSI: 0000000020000000 RDI: 00007f9adf183fe0 RBP: 00007f9adf184020 R08: 00007f9adf184020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020005d00 R13: 0000000020000000 R14: 00007f9adf183fe0 R15: 0000000020000040 Modules linked in: ---[ end trace c542703b12e5cc3a ]--- RIP: 0010:diFree+0x167/0x29c0 fs/jfs/jfs_imap.c:886 Code: 8b 44 24 10 48 8b 68 80 48 8b 44 24 18 4c 8d 6d 04 48 c1 e8 0c 4c 89 ea 48 c1 ea 03 48 89 04 24 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fb bridge0: port 1(bridge_slave_0) entered disabled state audit: type=1800 audit(1674956299.360:192): pid=28550 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=14017 res=0 RSP: 0018:ffff8880439cf930 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff88809ce16d40 RCX: ffffffff8272bf79 RDX: 0000000000000000 RSI: ffffffff8274e8b2 RDI: ffff88804a545ae8 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888039701b28 R13: 0000000000000004 R14: ffffffff889adf80 R15: ffff88803a829038 FS: 00007f9adf184700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e324000 CR3: 0000000092880000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8b 44 24 10 mov 0x10(%rsp),%eax 4: 48 8b 68 80 mov -0x80(%rax),%rbp 8: 48 8b 44 24 18 mov 0x18(%rsp),%rax d: 4c 8d 6d 04 lea 0x4(%rbp),%r13 11: 48 c1 e8 0c shr $0xc,%rax 15: 4c 89 ea mov %r13,%rdx 18: 48 c1 ea 03 shr $0x3,%rdx 1c: 48 89 04 24 mov %rax,(%rsp) 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 4c 89 e8 mov %r13,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 fb test %edi,%ebx