dmapctl: invalid nleafs 327680 (max 1024) ERROR: (device loop0): dbFindCtl: Corrupt dmapctl page jfs_create: dtInsert returned -EIO ERROR: (device (efault)): jfs_create: Oops: general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f] CPU: 0 UID: 0 PID: 5912 Comm: syz.0.15 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:sb_rdonly include/linux/fs/super.h:187 [inline] RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline] RIP: 0010:jfs_error+0x13b/0x2c0 fs/jfs/super.c:98 Code: 8d b7 c0 06 00 00 48 8b 55 08 48 8d 4c 24 60 48 c7 c7 40 46 6e 8c 48 89 34 24 e8 80 6c fe ff 4d 8d 67 78 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 46 c3 19 01 4c 89 64 24 08 4d 8b RSP: 0018:ffffc900030b7a20 EFLAGS: 00010206 RAX: 0000000000000027 RBX: 1ffff92000616f4c RCX: 395bf9c2cec0c900 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900030b7b30 R08: ffffffff9014c76b R09: 1ffffffff20298ed R10: dffffc0000000000 R11: fffffbfff20298ee R12: 0000000000000078 R13: dffffc0000000000 R14: 000000000000000f R15: 0000000000000000 FS: 00007f3ab80356c0(0000) GS:ffff88808a9e9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf9f3e6feb CR3: 000000004fe6b000 CR4: 0000000000352ef0 Call Trace: jfs_create+0x79e/0xae0 fs/jfs/namei.c:141 vfs_create+0x2e2/0x4d0 fs/namei.c:4203 filename_mknodat+0x3e8/0x680 fs/namei.c:5337 __do_sys_mknod fs/namei.c:5374 [inline] __se_sys_mknod+0x3a/0x150 fs/namei.c:5371 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3ab7188429 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ab8035028 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f3ab7355f80 RCX: 00007f3ab7188429 RDX: 0000000000000701 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f3ab720b667 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3ab7355f80 R15: 00007fff8c153e78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sb_rdonly include/linux/fs/super.h:187 [inline] RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline] RIP: 0010:jfs_error+0x13b/0x2c0 fs/jfs/super.c:98 Code: 8d b7 c0 06 00 00 48 8b 55 08 48 8d 4c 24 60 48 c7 c7 40 46 6e 8c 48 89 34 24 e8 80 6c fe ff 4d 8d 67 78 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 46 c3 19 01 4c 89 64 24 08 4d 8b RSP: 0018:ffffc900030b7a20 EFLAGS: 00010206 RAX: 0000000000000027 RBX: 1ffff92000616f4c RCX: 395bf9c2cec0c900 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900030b7b30 R08: ffffffff9014c76b R09: 1ffffffff20298ed R10: dffffc0000000000 R11: fffffbfff20298ee R12: 0000000000000078 R13: dffffc0000000000 R14: 000000000000000f R15: 0000000000000000 FS: 00007f3ab80356c0(0000) GS:ffff88808a9e9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa61d429940 CR3: 000000004fe6b000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 8d b7 c0 06 00 00 lea 0x6c0(%rdi),%esi 6: 48 8b 55 08 mov 0x8(%rbp),%rdx a: 48 8d 4c 24 60 lea 0x60(%rsp),%rcx f: 48 c7 c7 40 46 6e 8c mov $0xffffffff8c6e4640,%rdi 16: 48 89 34 24 mov %rsi,(%rsp) 1a: e8 80 6c fe ff call 0xfffe6c9f 1f: 4d 8d 67 78 lea 0x78(%r15),%r12 23: 4d 89 e6 mov %r12,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 46 c3 19 01 call 0x119c37f 39: 4c 89 64 24 08 mov %r12,0x8(%rsp) 3e: 4d rex.WRB 3f: 8b .byte 0x8b