attempt to access beyond end of device loop3: rw=1, want=145, limit=112 Buffer I/O error on dev loop3, logical block 144, lost async page write 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: 12426 Comm: syz-executor2 Not tainted 4.19.0-rc3-next-20180912+ #72 attempt to access beyond end of device Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mqueue_get_tree+0xba/0x2e0 ipc/mqueue.c:362 Code: 4c 8d b3 98 00 00 00 4d 85 ed 0f 84 d1 00 00 00 e8 6b 44 3f fe 49 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff88016362f928 EFLAGS: 00010a02 loop3: rw=1, want=3737, limit=112 RAX: dffffc0000000000 RBX: ffff8801c18cb640 RCX: ffffc9000345b000 RDX: 10000048200002b9 RSI: ffffffff833deb15 RDI: 80000241000015c8 RBP: ffff88016362f948 R08: fffffbfff13555fd R09: fffffbfff13555fc R10: fffffbfff13555fc R11: ffffffff89aaafe3 R12: ffff8801c8f40680 R13: 80000241000015c0 R14: ffff8801c18cb6d8 R15: ffff8801c18cb6d8 FS: 00007f7a10764700(0000) GS:ffff8801dac00000(0000) knlGS:0000000000000000 attempt to access beyond end of device CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30e23000 CR3: 00000001d94f6000 CR4: 00000000001406f0 Call Trace: vfs_get_tree+0x1cb/0x5c0 fs/super.c:1787 mq_create_mount+0xe3/0x190 ipc/mqueue.c:415 mq_init_ns+0x15a/0x210 ipc/mqueue.c:1621 loop3: rw=1, want=3766, limit=112 create_ipc_ns ipc/namespace.c:58 [inline] copy_ipcs+0x3d2/0x580 ipc/namespace.c:84 Buffer I/O error on dev loop3, logical block 3765, lost async page write create_new_namespaces+0x376/0x900 kernel/nsproxy.c:87 attempt to access beyond end of device unshare_nsproxy_namespaces+0xc3/0x1f0 kernel/nsproxy.c:206 ksys_unshare+0x79c/0x10b0 kernel/fork.c:2535 __do_sys_unshare kernel/fork.c:2603 [inline] __se_sys_unshare kernel/fork.c:2601 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:2601 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7a10763c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f7a107646d4 RCX: 00000000004572d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c000000 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d7c40 R14: 00000000004caa82 R15: 0000000000000000 Modules linked in: ---[ end trace 93d05fa944ad2895 ]--- RIP: 0010:mqueue_get_tree+0xba/0x2e0 ipc/mqueue.c:362 Code: 4c 8d b3 98 00 00 00 4d 85 ed 0f 84 d1 00 00 00 e8 6b 44 3f fe 49 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff88016362f928 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff8801c18cb640 RCX: ffffc9000345b000 loop3: rw=1, want=3767, limit=112 RDX: 10000048200002b9 RSI: ffffffff833deb15 RDI: 80000241000015c8 RBP: ffff88016362f948 R08: fffffbfff13555fd R09: fffffbfff13555fc R10: fffffbfff13555fc R11: ffffffff89aaafe3 R12: ffff8801c8f40680 R13: 80000241000015c0 R14: ffff8801c18cb6d8 R15: ffff8801c18cb6d8 kobject: 'loop4' (00000000c3c0a7a3): kobject_uevent_env FS: 00007f7a10764700(0000) GS:ffff8801dac00000(0000) knlGS:0000000000000000 Buffer I/O error on dev loop3, logical block 3766, lost async page write CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop4' (00000000c3c0a7a3): fill_kobj_path: path = '/devices/virtual/block/loop4' CR2: 0000001b30e23000 CR3: 00000001d94f6000 CR4: 00000000001406f0 attempt to access beyond end of device