EXT4-fs (loop5): Unrecognized mount option "m000000000" or missing value ====================================================== [ INFO: possible circular locking dependency detected ] 4.9.202+ #0 Not tainted ------------------------------------------------------- syz-executor.5/15301 is trying to acquire lock: (&mm->mmap_sem){++++++}, at: [<0000000018ff1fd9>] __do_page_fault+0x7bd/0xa60 arch/x86/mm/fault.c:1337 but task is already holding lock: (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [<000000001db9283a>] inode_lock include/linux/fs.h:771 [inline] (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [<000000001db9283a>] generic_file_write_iter+0x9a/0x630 mm/filemap.c:3090 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3759 down_write+0x41/0xa0 kernel/locking/rwsem.c:52 inode_lock include/linux/fs.h:771 [inline] shmem_fallocate+0x143/0xab0 mm/shmem.c:2683 ashmem_shrink_scan drivers/staging/android/ashmem.c:462 [inline] ashmem_shrink_scan+0x1c3/0x4c0 drivers/staging/android/ashmem.c:446 ashmem_ioctl+0x29b/0xdd0 drivers/staging/android/ashmem.c:804 vfs_ioctl fs/ioctl.c:43 [inline] file_ioctl fs/ioctl.c:493 [inline] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 entry_SYSCALL_64_after_swapgs+0x5d/0xdb lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3759 __mutex_lock_common kernel/locking/mutex.c:521 [inline] mutex_lock_nested+0xc7/0x920 kernel/locking/mutex.c:621 ashmem_mmap+0x53/0x470 drivers/staging/android/ashmem.c:378 mmap_region+0x7e7/0xfa0 mm/mmap.c:1726 do_mmap+0x539/0xbc0 mm/mmap.c:1505 do_mmap_pgoff include/linux/mm.h:2066 [inline] vm_mmap_pgoff+0x179/0x1c0 mm/util.c:329 SYSC_mmap_pgoff mm/mmap.c:1555 [inline] SyS_mmap_pgoff+0xfa/0x1b0 mm/mmap.c:1513 SYSC_mmap arch/x86/kernel/sys_x86_64.c:96 [inline] SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:87 do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 entry_SYSCALL_64_after_swapgs+0x5d/0xdb check_prev_add kernel/locking/lockdep.c:1828 [inline] check_prevs_add kernel/locking/lockdep.c:1938 [inline] validate_chain kernel/locking/lockdep.c:2265 [inline] __lock_acquire+0x2d22/0x4390 kernel/locking/lockdep.c:3345 lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3759 down_read+0x44/0xb0 kernel/locking/rwsem.c:22 __do_page_fault+0x7bd/0xa60 arch/x86/mm/fault.c:1337 do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1464 page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 generic_perform_write+0x1b6/0x500 mm/filemap.c:2930 __generic_file_write_iter+0x340/0x530 mm/filemap.c:3065 generic_file_write_iter+0x38a/0x630 mm/filemap.c:3093 new_sync_write fs/read_write.c:498 [inline] __vfs_write+0x3c1/0x560 fs/read_write.c:511 vfs_write+0x185/0x520 fs/read_write.c:559 SYSC_pwrite64 fs/read_write.c:649 [inline] SyS_pwrite64+0x13f/0x170 fs/read_write.c:636 do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 entry_SYSCALL_64_after_swapgs+0x5d/0xdb other info that might help us debug this: Chain exists of: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&sb->s_type->i_mutex_key#10); lock(ashmem_mutex); lock(&sb->s_type->i_mutex_key#10); lock(&mm->mmap_sem); *** DEADLOCK *** 2 locks held by syz-executor.5/15301: #0: (sb_writers#6){.+.+.+}, at: [<00000000c23909d0>] file_start_write include/linux/fs.h:2645 [inline] #0: (sb_writers#6){.+.+.+}, at: [<00000000c23909d0>] vfs_write+0x3e9/0x520 fs/read_write.c:558 #1: (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [<000000001db9283a>] inode_lock include/linux/fs.h:771 [inline] #1: (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [<000000001db9283a>] generic_file_write_iter+0x9a/0x630 mm/filemap.c:3090 stack backtrace: CPU: 1 PID: 15301 Comm: syz-executor.5 Not tainted 4.9.202+ #0 ffff88019f38f5e8 ffffffff81b55d2b ffffffff83caeb80 ffffffff83cb7e50 ffffffff83cf9b50 ffffffff8424ff40 ffff8801ae4797c0 ffff88019f38f640 ffffffff81406d6a ffffffff816f7f0d ffffffff84077440 ffff8801ae47a0c0 Call Trace: [<000000002a1ab518>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a1ab518>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<000000002f6b75f7>] print_circular_bug.cold+0x2f6/0x454 kernel/locking/lockdep.c:1202 [<00000000b9c3e396>] check_prev_add kernel/locking/lockdep.c:1828 [inline] [<00000000b9c3e396>] check_prevs_add kernel/locking/lockdep.c:1938 [inline] [<00000000b9c3e396>] validate_chain kernel/locking/lockdep.c:2265 [inline] [<00000000b9c3e396>] __lock_acquire+0x2d22/0x4390 kernel/locking/lockdep.c:3345 [<0000000005729256>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3759 [<00000000089ea8ea>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<0000000018ff1fd9>] __do_page_fault+0x7bd/0xa60 arch/x86/mm/fault.c:1337 [<0000000012b4684b>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1464 [<00000000d92d0d65>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 [<0000000055b3eb91>] generic_perform_write+0x1b6/0x500 mm/filemap.c:2930 [<000000004396ce57>] __generic_file_write_iter+0x340/0x530 mm/filemap.c:3065 [<00000000b88a5f88>] generic_file_write_iter+0x38a/0x630 mm/filemap.c:3093 [<00000000d541faa2>] new_sync_write fs/read_write.c:498 [inline] [<00000000d541faa2>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<00000000156faeac>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000151a7475>] SYSC_pwrite64 fs/read_write.c:649 [inline] [<00000000151a7475>] SyS_pwrite64+0x13f/0x170 fs/read_write.c:636 [<000000000f6fa2ac>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000a1173078>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb EXT4-fs (loop5): Unrecognized mount option "m000000000" or missing value SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=15383 comm=syz-executor.3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=15428 comm=syz-executor.4 audit: type=1400 audit(1574617596.113:110): avc: denied { associate } for pid=15481 comm="syz-executor.4" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 syz-executor.1: vmalloc: allocation failure: 0 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 15848 Comm: syz-executor.1 Not tainted 4.9.202+ #0 ffff88019c417968 ffffffff81b55d2b 1ffff10033882f2f ffff8801c41c17c0 ffffffff82aab360 0000000000000001 0000000000400000 ffff88019c417a90 ffffffff81507f2c 0000000041b58ab3 ffffffff82e3a440 ffffffff81431d00 Call Trace: [<000000002a1ab518>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a1ab518>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<00000000ad59417b>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000105e3c41>] __vmalloc_node_range+0x368/0x610 mm/vmalloc.c:1733 [<00000000d5801047>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000d5801047>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000d5801047>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<00000000730a8549>] sel_write_load+0x119/0xf60 security/selinux/selinuxfs.c:514 [<00000000e552198c>] __vfs_write+0x116/0x560 fs/read_write.c:509 [<00000000156faeac>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000d0a318c8>] SYSC_write fs/read_write.c:607 [inline] [<00000000d0a318c8>] SyS_write+0x121/0x270 fs/read_write.c:599 [<000000000f6fa2ac>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000a1173078>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:85443 inactive_anon:9109 isolated_anon:0 active_file:18386 inactive_file:11456 isolated_file:0 unevictable:0 dirty:260 writeback:0 unstable:0 slab_reclaimable:5106 slab_unreclaimable:64125 mapped:59419 shmem:176 pagetables:1807 bounce:0 free:1390146 free_pcp:392 free_cma:0 Node 0 active_anon:341772kB inactive_anon:36436kB active_file:73544kB inactive_file:45824kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:237676kB dirty:1040kB writeback:0kB shmem:704kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:3019420kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020096kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:676kB local_pcp:644kB free_cma:0kB lowmem_reserve[]:[ 295.626561] blk_update_request: I/O error, dev loop0, sector 0 0 3505 3505 Normal free:2541228kB min:5580kB low:9168kB high:12756kB active_anon:341188kB inactive_anon:36436kB active_file:73544kB inactive_file:45920kB unevictable:0kB writepending:1044kB present:4718592kB managed:3589320kB mlocked:0kB slab_reclaimable:20424kB slab_unreclaimable:256732kB kernel_stack:5760kB pagetables:7228kB bounce:0kB free_pcp:1280kB local_pcp:624kB free_cma:0kB lowmem_reserve[]: 0 0 0 DMA32: 3*4kB (UM) 2*8kB (M) 2*16kB (M) 3*32kB (UM) 4*64kB (UM) 4*128kB (UM) 3*256kB (UM) 2*512kB (M) 2*1024kB (UM) 2*2048kB (UM) 735*4096kB (M) = 3019420kB Normal: 965*4kB (UME) 1381*8kB (UME) 829*16kB (UME) 743*32kB (UME) 628*64kB (UME) 236*128kB (UME) 135*256kB (UME) 79*512kB (UM) 17*1024kB (UM) 6*2048kB (ME) 565*4096kB (M) = 2541292kB 29872 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved syz-executor.1: vmalloc: allocation failure: 0 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 15868 Comm: syz-executor.1 Not tainted 4.9.202+ #0 ffff8801c6ed7968 ffffffff81b55d2b 1ffff10038ddaf2f ffff88019fe897c0 ffffffff82aab360 0000000000000001 0000000000400000 ffff8801c6ed7a90 ffffffff81507f2c 0000000041b58ab3 ffffffff82e3a440 ffffffff81431d00 Call Trace: [<000000002a1ab518>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002a1ab518>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<00000000ad59417b>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<00000000105e3c41>] __vmalloc_node_range+0x368/0x610 mm/vmalloc.c:1733 [<00000000d5801047>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<00000000d5801047>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<00000000d5801047>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<00000000730a8549>] sel_write_load+0x119/0xf60 security/selinux/selinuxfs.c:514 [<00000000e552198c>] __vfs_write+0x116/0x560 fs/read_write.c:509 [<00000000156faeac>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000d0a318c8>] SYSC_write fs/read_write.c:607 [inline] [<00000000d0a318c8>] SyS_write+0x121/0x270 fs/read_write.c:599 [<000000000f6fa2ac>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000a1173078>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:85316 inactive_anon:9108 isolated_anon:0 active_file:18386 inactive_file:11458 isolated_file:0 unevictable:0 dirty:262 writeback:0 unstable:0 slab_reclaimable:5106 slab_unreclaimable:63955 mapped:59394 shmem:46 pagetables:1800 bounce:0 free:1390473 free_pcp:475 free_cma:0 Node 0 active_anon:340964kB inactive_anon:36432kB active_file:73544kB inactive_file:45832kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:237576kB dirty:1048kB writeback:0kB shmem:184kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:3019420kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020096kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:676kB local_pcp:644kB free_cma:0kB lowmem_reserve[]: 0 3505 3505 Normal free:2542972kB min:5580kB low:9168kB high:12756kB active_anon:340964kB inactive_anon:36432kB active_file:73544kB inactive_file:45832kB unevictable:0kB writepending:1048kB present:4718592kB managed:3589320kB mlocked:0kB slab_reclaimable:20424kB slab_unreclaimable:255820kB kernel_stack:5376kB pagetables:7052kB bounce:0kB free_pcp:956kB local_pcp:488kB free_cma:0kB lowmem_reserve[]: 0 0 0 DMA32: 3*4kB (UM) 2*8kB (M) 2*16kB (M) 3*32kB (UM) 4*64kB (UM) 4*128kB (UM) 3*256kB (UM) 2*512kB (M) 2*1024kB (UM) 2*2048kB (UM) 735*4096kB (M) = 3019420kB Normal: 923*4kB (UME) 1376*8kB (UME) 828*16kB (UME) 771*32kB (UME) 630*64kB (UME) 236*128kB (UME) 135*256kB (UME) 79*512kB (UM) 17*1024kB (UM) 6*2048kB (ME) 565*4096kB (M) = 2542092kB 29874 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 313625 pages reserved