INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes INIT: Id "6" respawning too fast: disabled for 5 minutes INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "3" respawning too fast: disabled for 5 minutes Warning: Permanently added '10.128.10.42' (ECDSA) to the list of known hosts. executing program [ 391.279367] audit: type=1400 audit(1546649660.141:5): avc: denied { associate } for pid=2096 comm="syz-executor325" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 executing program executing program executing program executing program [ 393.240265] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:33 [ 393.249648] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/1 [ 393.256432] no locks held by swapper/1/0. [ 393.260568] Preemption disabled at:[ 393.264008] [] schedule_preempt_disabled+0x1d/0x20 [ 393.270531] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.141+ #1 [ 393.277042] ffff8801db707660 ffffffff81b42e79 ffffffff828094ad 0000000000000000 [ 393.285051] 0000000000000101 ffff8801da6b2f80 ffff8801da6b2f80 ffff8801db707698 [ 393.293148] ffffffff813f9ecf ffff8801da6b2f80 ffffffff82ad6720 0000000000000021 [ 393.301328] Call Trace: [ 393.303891] [ 393.305937] [] dump_stack+0xc1/0x128 [ 393.311453] [] ? schedule_preempt_disabled+0x1d/0x20 [ 393.318187] [] ___might_sleep.cold.31+0x18a/0x1fc [ 393.324659] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 393.331328] [] __might_sleep+0x95/0x1a0 [ 393.336935] [] ext4_writepages+0x16d/0x2e00 [ 393.343002] [] ? get_stack_info+0x37/0x120 [ 393.348873] [] ? update_stack_state.constprop.2+0x7c/0x170 [ 393.356129] [] ? __module_text_address+0x13/0x150 [ 393.362705] [] ? is_module_text_address+0x2a/0x50 [ 393.369179] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 393.375737] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 393.382663] [] ? trace_hardirqs_on+0xd/0x10 [ 393.388614] [] ? kasan_slab_free+0x119/0x190 [ 393.394654] [] ? save_stack_trace+0x16/0x20 [ 393.400746] [] ? kasan_slab_free+0xac/0x190 [ 393.406845] [] ? kmem_cache_free+0xbe/0x310 [ 393.412842] [] ? mempool_free_slab+0x1d/0x30 [ 393.418890] [] ? mempool_free+0xd6/0x1d0 [ 393.424698] [] ? bio_free+0x11d/0x190 [ 393.430129] [] ? bio_put+0x93/0xb0 [ 393.435532] [] ? dio_bio_complete+0x35d/0x4e0 [ 393.441659] [] ? dio_bio_end_aio+0x47/0x370 [ 393.447622] [] ? blk_update_request+0x248/0x9b0 [ 393.453927] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 393.460590] [] do_writepages+0xef/0x1d0 [ 393.466203] [] ? page_writeback_cpu_online+0x20/0x20 [ 393.473059] [] ? arch_cpu_idle+0x10/0x20 [ 393.478757] [] ? default_idle_call+0x45/0x60 [ 393.484798] [] ? cpu_startup_entry+0x2b5/0x380 [ 393.491008] [] ? start_secondary+0x328/0x400 [ 393.497047] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 393.503874] [] __filemap_fdatawrite_range+0x1a9/0x250 [ 393.510696] [] ? replace_page_cache_page+0x600/0x600 [ 393.517434] [] filemap_write_and_wait_range+0x59/0xb0 [ 393.524255] [] __generic_file_fsync+0x93/0x1a0 [ 393.530471] [] ext4_sync_file+0x659/0x10a0 [ 393.536375] [] ? ext4_llseek+0x8e0/0x8e0 [ 393.542070] [] vfs_fsync_range+0x10c/0x260 [ 393.547936] [] dio_complete+0x512/0x6c0 [ 393.553545] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 393.560368] [] ? ext4_update_bh_state+0xf0/0xf0 [ 393.566669] [] dio_bio_end_aio+0x11c/0x370 [ 393.572530] [] ? dio_complete+0x6c0/0x6c0 [ 393.578311] [] bio_endio+0x1a5/0x1f0 [ 393.583656] [] blk_update_request+0x248/0x9b0 [ 393.589780] [] scsi_end_request+0x9d/0x5c0 [ 393.595732] [] scsi_io_completion+0x273/0x17a0 [ 393.601941] [] ? scsi_unblock_requests+0x50/0x50 [ 393.608330] [] ? check_preemption_disabled+0x3b/0x200 [ 393.615252] [] ? scsi_handle_queue_ramp_up+0x32a/0x430 [ 393.622169] [] ? sd_completed_bytes+0x3f0/0x3f0 [ 393.628471] [] scsi_finish_command+0x3ba/0x530 [ 393.634686] [] scsi_softirq_done+0x250/0x360 [ 393.640721] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 393.647539] [] blk_done_softirq+0x27d/0x3e0 [ 393.653495] [] ? handle_edge_irq+0x331/0x900 [ 393.659531] [] ? trigger_softirq+0x210/0x210 [ 393.665571] [] __do_softirq+0x20e/0x964 [ 393.671176] [] ? check_preemption_disabled+0x3b/0x200 [ 393.677996] [] irq_exit+0x11c/0x150 [ 393.683252] [] do_IRQ+0x10d/0x1c0 [ 393.688332] [] common_interrupt+0x9d/0x9d [ 393.694108] [ 393.696154] [] ? native_safe_halt+0x6/0x10 [ 393.702036] [] ? trace_hardirqs_on+0xd/0x10 [ 393.707982] [] default_idle+0x55/0x360 [ 393.713500] [] arch_cpu_idle+0x10/0x20 [ 393.719061] [] default_idle_call+0x45/0x60 [ 393.724935] [] cpu_startup_entry+0x2b5/0x380 [ 393.730972] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 393.737875] [] ? cpu_in_idle+0x20/0x20 [ 393.743389] [] start_secondary+0x328/0x400 [ 393.749246] [] ? set_cpu_sibling_map+0x13d0/0x13d0 [ 393.755888] [ 393.757501] ========================================================= [ 393.764053] [ INFO: possible irq lock inversion dependency detected ] [ 393.770614] 4.9.141+ #1 Tainted: G W [ 393.775432] --------------------------------------------------------- [ 393.781986] swapper/1/0 just changed the state of lock: [ 393.787324] (&sbi->s_journal_flag_rwsem){.+.?.+}, at: [] do_writepages+0xef/0x1d0 but this lock took another, SOFTIRQ-unsafe lock in the past: [ 393.802461] (&ei->i_data_sem){++++..} [ 393.806393] [ 393.806393] and interrupts could create inverse lock ordering between them. [ 393.806393] [ 393.816611] [ 393.816611] other info that might help us debug this: [ 393.823314] Possible interrupt unsafe locking scenario: [ 393.823314] [ 393.830260] CPU0 CPU1 [ 393.834910] ---- ---- [ 393.839603] lock(&ei->i_data_sem); [ 393.843544] local_irq_disable(); [ 393.849575] lock(&sbi->s_journal_flag_rwsem); [ 393.856994] lock(&ei->i_data_sem); [ 393.863512] [ 393.866250] lock(&sbi->s_journal_flag_rwsem); [ 393.871327] [ 393.871327] *** DEADLOCK *** [ 393.871327] [ 393.877364] no locks held by swapper/1/0. [ 393.881482] [ 393.881482] the shortest dependencies between 2nd lock and 1st lock: [ 393.889432] -> (&ei->i_data_sem){++++..} ops: 46364 { [ 393.895294] HARDIRQ-ON-W at: [ 393.898780] __lock_acquire+0x10b0/0x4a10 [ 393.904851] lock_acquire+0x130/0x3e0 [ 393.910471] down_write+0x41/0xa0 [ 393.915741] ext4_release_file+0x25b/0x2e0 [ 393.921852] __fput+0x263/0x700 [ 393.926936] ____fput+0x15/0x20 [ 393.932020] task_work_run+0x10c/0x180 [ 393.937708] exit_to_usermode_loop+0x129/0x150 [ 393.944103] do_syscall_64+0x3e2/0x550 [ 393.949793] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 393.956691] HARDIRQ-ON-R at: [ 393.960158] __lock_acquire+0xb79/0x4a10 [ 393.966135] lock_acquire+0x130/0x3e0 [ 393.971781] down_read+0x44/0xb0 [ 393.977037] ext4_map_blocks+0x361/0x16d0 [ 393.982993] ext4_getblk+0x2cc/0x450 [ 393.988511] ext4_find_entry+0xa94/0x12c0 [ 393.994459] ext4_lookup+0x139/0x5e0 [ 393.999978] lookup_slow+0x24a/0x470 [ 394.005594] walk_component+0x822/0xcf0 [ 394.011372] path_lookupat.isra.10+0x186/0x410 [ 394.017759] filename_lookup.part.18+0x177/0x370 [ 394.024317] user_path_at_empty+0x53/0x70 [ 394.030274] do_mount+0x134/0x28a0 [ 394.035621] SyS_mount+0xea/0x100 [ 394.040878] devtmpfs_mount+0x49/0x70 [ 394.046487] prepare_namespace+0x1e4/0x210 [ 394.052524] kernel_init_freeable+0x38e/0x3ac [ 394.058867] kernel_init+0x11/0x15e [ 394.064317] ret_from_fork+0x5c/0x70 [ 394.069836] SOFTIRQ-ON-W at: [ 394.073303] __lock_acquire+0xbdd/0x4a10 [ 394.079180] lock_acquire+0x130/0x3e0 [ 394.084793] down_write+0x41/0xa0 [ 394.090053] ext4_release_file+0x25b/0x2e0 [ 394.096089] __fput+0x263/0x700 [ 394.101166] ____fput+0x15/0x20 [ 394.106266] task_work_run+0x10c/0x180 [ 394.111959] exit_to_usermode_loop+0x129/0x150 [ 394.118339] do_syscall_64+0x3e2/0x550 [ 394.124091] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.130996] SOFTIRQ-ON-R at: [ 394.134496] __lock_acquire+0xbdd/0x4a10 [ 394.140355] lock_acquire+0x130/0x3e0 [ 394.145961] down_read+0x44/0xb0 [ 394.151127] ext4_map_blocks+0x361/0x16d0 [ 394.157078] ext4_getblk+0x2cc/0x450 [ 394.162590] ext4_find_entry+0xa94/0x12c0 [ 394.168551] ext4_lookup+0x139/0x5e0 [ 394.174079] lookup_slow+0x24a/0x470 [ 394.179589] walk_component+0x822/0xcf0 [ 394.185427] path_lookupat.isra.10+0x186/0x410 [ 394.191812] filename_lookup.part.18+0x177/0x370 [ 394.198386] user_path_at_empty+0x53/0x70 [ 394.204432] do_mount+0x134/0x28a0 [ 394.209785] SyS_mount+0xea/0x100 [ 394.215046] devtmpfs_mount+0x49/0x70 [ 394.220652] prepare_namespace+0x1e4/0x210 [ 394.226799] kernel_init_freeable+0x38e/0x3ac [ 394.233096] kernel_init+0x11/0x15e [ 394.238526] ret_from_fork+0x5c/0x70 [ 394.244040] INITIAL USE at: [ 394.247428] __lock_acquire+0x654/0x4a10 [ 394.253220] lock_acquire+0x130/0x3e0 [ 394.258765] down_read+0x44/0xb0 [ 394.263845] ext4_map_blocks+0x361/0x16d0 [ 394.269771] ext4_getblk+0x2cc/0x450 [ 394.275202] ext4_find_entry+0xa94/0x12c0 [ 394.281060] ext4_lookup+0x139/0x5e0 [ 394.286483] lookup_slow+0x24a/0x470 [ 394.291935] walk_component+0x822/0xcf0 [ 394.297629] path_lookupat.isra.10+0x186/0x410 [ 394.303926] filename_lookup.part.18+0x177/0x370 [ 394.310435] user_path_at_empty+0x53/0x70 [ 394.316471] do_mount+0x134/0x28a0 [ 394.321731] SyS_mount+0xea/0x100 [ 394.326897] devtmpfs_mount+0x49/0x70 [ 394.332527] prepare_namespace+0x1e4/0x210 [ 394.338481] kernel_init_freeable+0x38e/0x3ac [ 394.344800] kernel_init+0x11/0x15e [ 394.350162] ret_from_fork+0x5c/0x70 [ 394.355601] } [ 394.357491] ... key at: [] __key.74437+0x0/0x40 [ 394.364303] ... acquired at: [ 394.367475] lock_acquire+0x130/0x3e0 [ 394.371435] down_write+0x41/0xa0 [ 394.375040] ext4_map_blocks+0x6d3/0x16d0 [ 394.379336] ext4_writepages+0x1551/0x2e00 [ 394.383719] do_writepages+0xef/0x1d0 [ 394.387669] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.392836] filemap_flush+0x23/0x30 [ 394.396701] ext4_alloc_da_blocks+0xd9/0x330 [ 394.401257] ext4_release_file+0x1ff/0x2e0 [ 394.405644] __fput+0x263/0x700 [ 394.409071] ____fput+0x15/0x20 [ 394.412505] task_work_run+0x10c/0x180 [ 394.416544] exit_to_usermode_loop+0x129/0x150 [ 394.421273] do_syscall_64+0x3e2/0x550 [ 394.425311] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.430561] [ 394.432168] -> (&sbi->s_journal_flag_rwsem){.+.?.+} ops: 304 { [ 394.438717] HARDIRQ-ON-R at: [ 394.442101] __lock_acquire+0xb79/0x4a10 [ 394.447785] lock_acquire+0x130/0x3e0 [ 394.453211] ext4_writepages+0x19e/0x2e00 [ 394.459026] do_writepages+0xef/0x1d0 [ 394.464460] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.471108] SyS_fadvise64_64+0x6db/0x7d0 [ 394.476890] SyS_fadvise64+0x2c/0x40 [ 394.482245] do_syscall_64+0x19f/0x550 [ 394.487761] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.494493] IN-SOFTIRQ-R at: [ 394.497871] __lock_acquire+0x1084/0x4a10 [ 394.503643] lock_acquire+0x130/0x3e0 [ 394.509072] ext4_writepages+0x19e/0x2e00 [ 394.514853] do_writepages+0xef/0x1d0 [ 394.520279] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.526928] filemap_write_and_wait_range+0x59/0xb0 [ 394.533570] __generic_file_fsync+0x93/0x1a0 [ 394.539604] ext4_sync_file+0x659/0x10a0 [ 394.545291] vfs_fsync_range+0x10c/0x260 [ 394.550976] dio_complete+0x512/0x6c0 [ 394.556402] dio_bio_end_aio+0x11c/0x370 [ 394.562090] bio_endio+0x1a5/0x1f0 [ 394.567259] blk_update_request+0x248/0x9b0 [ 394.573230] scsi_end_request+0x9d/0x5c0 [ 394.578926] scsi_io_completion+0x273/0x17a0 [ 394.584968] scsi_finish_command+0x3ba/0x530 [ 394.591061] scsi_softirq_done+0x250/0x360 [ 394.596934] blk_done_softirq+0x27d/0x3e0 [ 394.602708] __do_softirq+0x20e/0x964 [ 394.608136] irq_exit+0x11c/0x150 [ 394.613214] do_IRQ+0x10d/0x1c0 [ 394.618120] ret_from_intr+0x0/0x20 [ 394.623372] default_idle+0x55/0x360 [ 394.628712] arch_cpu_idle+0x10/0x20 [ 394.634057] default_idle_call+0x45/0x60 [ 394.639752] cpu_startup_entry+0x2b5/0x380 [ 394.645621] start_secondary+0x328/0x400 [ 394.651312] SOFTIRQ-ON-R at: [ 394.654690] __lock_acquire+0xbdd/0x4a10 [ 394.660377] lock_acquire+0x130/0x3e0 [ 394.665802] ext4_writepages+0x19e/0x2e00 [ 394.671573] do_writepages+0xef/0x1d0 [ 394.677014] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.683660] SyS_fadvise64_64+0x6db/0x7d0 [ 394.689530] SyS_fadvise64+0x2c/0x40 [ 394.694872] do_syscall_64+0x19f/0x550 [ 394.700382] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.707175] RECLAIM_FS-ON-R at: [ 394.710818] mark_held_locks+0xc7/0x130 [ 394.716678] lockdep_trace_alloc+0x18e/0x2a0 [ 394.722976] kmem_cache_alloc+0x2d/0x2b0 [ 394.728929] ext4_init_io_end+0x25/0x100 [ 394.734880] ext4_writepages+0xcd0/0x2e00 [ 394.740927] do_writepages+0xef/0x1d0 [ 394.746625] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.753567] filemap_flush+0x23/0x30 [ 394.759172] ext4_alloc_da_blocks+0xd9/0x330 [ 394.765470] ext4_release_file+0x1ff/0x2e0 [ 394.771590] __fput+0x263/0x700 [ 394.776755] ____fput+0x15/0x20 [ 394.781927] task_work_run+0x10c/0x180 [ 394.787700] exit_to_usermode_loop+0x129/0x150 [ 394.794173] do_syscall_64+0x3e2/0x550 [ 394.799947] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.806934] INITIAL USE at: [ 394.810221] __lock_acquire+0x654/0x4a10 [ 394.815818] lock_acquire+0x130/0x3e0 [ 394.821158] ext4_writepages+0x19e/0x2e00 [ 394.826850] do_writepages+0xef/0x1d0 [ 394.832194] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.838752] SyS_fadvise64_64+0x6db/0x7d0 [ 394.844438] SyS_fadvise64+0x2c/0x40 [ 394.849687] do_syscall_64+0x19f/0x550 [ 394.855118] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 394.861757] } [ 394.863537] ... key at: [] rwsem_key.75130+0x0/0x40 [ 394.870611] ... acquired at: [ 394.873694] check_usage_forwards+0x14e/0x290 [ 394.878342] mark_lock+0x6ec/0x1290 [ 394.882115] __lock_acquire+0x1084/0x4a10 [ 394.886409] lock_acquire+0x130/0x3e0 [ 394.890362] ext4_writepages+0x19e/0x2e00 [ 394.894665] do_writepages+0xef/0x1d0 [ 394.898626] __filemap_fdatawrite_range+0x1a9/0x250 [ 394.903793] filemap_write_and_wait_range+0x59/0xb0 [ 394.908958] __generic_file_fsync+0x93/0x1a0 [ 394.913517] ext4_sync_file+0x659/0x10a0 [ 394.917731] vfs_fsync_range+0x10c/0x260 [ 394.921949] dio_complete+0x512/0x6c0 [ 394.925905] dio_bio_end_aio+0x11c/0x370 [ 394.930125] bio_endio+0x1a5/0x1f0 [ 394.933814] blk_update_request+0x248/0x9b0 [ 394.938287] scsi_end_request+0x9d/0x5c0 [ 394.942497] scsi_io_completion+0x273/0x17a0 [ 394.947107] scsi_finish_command+0x3ba/0x530 [ 394.951705] scsi_softirq_done+0x250/0x360 [ 394.956100] blk_done_softirq+0x27d/0x3e0 [ 394.960398] __do_softirq+0x20e/0x964 [ 394.964347] irq_exit+0x11c/0x150 [ 394.967950] do_IRQ+0x10d/0x1c0 [ 394.971379] ret_from_intr+0x0/0x20 [ 394.975154] default_idle+0x55/0x360 [ 394.979015] arch_cpu_idle+0x10/0x20 [ 394.982877] default_idle_call+0x45/0x60 [ 394.987089] cpu_startup_entry+0x2b5/0x380 [ 394.991474] start_secondary+0x328/0x400 [ 394.995731] [ 394.997340] [ 394.997340] stack backtrace: [ 395.001811] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 4.9.141+ #1 [ 395.009232] ffff8801db7072d0 ffffffff81b42e79 ffffffff84011300 ffff8801db7073a0 [ 395.017328] ffff8801da6b2f80 0000000000000001 ffffffff84011300 ffff8801db707320 [ 395.025327] ffffffff813ff4da 0000000100000000 ffffffff83cab520 ffffffff83ca2910 [ 395.033323] Call Trace: [ 395.035880] [ 395.037929] [] dump_stack+0xc1/0x128 [ 395.043289] [] print_irq_inversion_bug.cold.38+0x319/0x32d [ 395.050546] [] check_usage_forwards+0x14e/0x290 [ 395.056848] [] ? print_irq_inversion_bug+0x90/0x90 [ 395.063405] [] ? __kernel_text_address+0x6b/0xa0 [ 395.069790] [] ? unwind_get_return_address+0x71/0xa0 [ 395.076519] [] ? __save_stack_trace+0x8d/0xf0 [ 395.082641] [] ? save_stack_trace+0x16/0x20 [ 395.088587] [] ? save_trace+0xe0/0x250 [ 395.094105] [] mark_lock+0x6ec/0x1290 [ 395.099539] [] ? print_irq_inversion_bug+0x90/0x90 [ 395.106101] [] __lock_acquire+0x1084/0x4a10 [ 395.112120] [] ? hrtimer_interrupt+0x338/0x430 [ 395.118378] [] ? check_preemption_disabled+0x3b/0x200 [ 395.125327] [] ? retint_kernel+0x2d/0x2d [ 395.131021] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.137838] [] ? trace_hardirqs_on+0x10/0x10 [ 395.143874] [] ? check_preemption_disabled+0x3b/0x200 [ 395.150695] [] ? retint_kernel+0x2d/0x2d [ 395.156388] [] ? dump_stack+0x105/0x128 [ 395.161989] [] ? dump_stack+0x10f/0x128 [ 395.167656] [] lock_acquire+0x130/0x3e0 [ 395.173367] [] ? do_writepages+0xef/0x1d0 [ 395.179141] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 395.185707] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 395.192272] [] ext4_writepages+0x19e/0x2e00 [ 395.198216] [] ? do_writepages+0xef/0x1d0 [ 395.203989] [] ? get_stack_info+0x37/0x120 [ 395.209849] [] ? __module_text_address+0x13/0x150 [ 395.216315] [] ? is_module_text_address+0x2a/0x50 [ 395.222787] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 395.229340] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.236154] [] ? trace_hardirqs_on+0xd/0x10 [ 395.242099] [] ? kasan_slab_free+0x119/0x190 [ 395.248140] [] ? save_stack_trace+0x16/0x20 [ 395.254094] [] ? kasan_slab_free+0xac/0x190 [ 395.260052] [] ? kmem_cache_free+0xbe/0x310 [ 395.265998] [] ? mempool_free_slab+0x1d/0x30 [ 395.272068] [] ? mempool_free+0xd6/0x1d0 [ 395.277755] [] ? bio_free+0x11d/0x190 [ 395.283196] [] ? bio_put+0x93/0xb0 [ 395.288372] [] ? dio_bio_complete+0x35d/0x4e0 [ 395.294490] [] ? dio_bio_end_aio+0x47/0x370 [ 395.300444] [] ? blk_update_request+0x248/0x9b0 [ 395.306745] [] ? ext4_mark_inode_dirty+0xb40/0xb40 [ 395.313498] [] do_writepages+0xef/0x1d0 [ 395.319235] [] ? page_writeback_cpu_online+0x20/0x20 [ 395.325963] [] ? arch_cpu_idle+0x10/0x20 [ 395.331901] [] ? default_idle_call+0x45/0x60 [ 395.337947] [] ? cpu_startup_entry+0x2b5/0x380 [ 395.344158] [] ? start_secondary+0x328/0x400 [ 395.350197] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.357019] [] __filemap_fdatawrite_range+0x1a9/0x250 [ 395.363837] [] ? replace_page_cache_page+0x600/0x600 [ 395.370564] [] filemap_write_and_wait_range+0x59/0xb0 [ 395.377380] [] __generic_file_fsync+0x93/0x1a0 [ 395.383591] [] ext4_sync_file+0x659/0x10a0 [ 395.389452] [] ? ext4_llseek+0x8e0/0x8e0 [ 395.395239] [] vfs_fsync_range+0x10c/0x260 [ 395.401106] [] dio_complete+0x512/0x6c0 [ 395.406708] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.413524] [] ? ext4_update_bh_state+0xf0/0xf0 [ 395.419820] [] dio_bio_end_aio+0x11c/0x370 [ 395.425771] [] ? dio_complete+0x6c0/0x6c0 [ 395.431550] [] bio_endio+0x1a5/0x1f0 [ 395.436892] [] blk_update_request+0x248/0x9b0 [ 395.443039] [] scsi_end_request+0x9d/0x5c0 [ 395.448900] [] scsi_io_completion+0x273/0x17a0 [ 395.455391] [] ? scsi_unblock_requests+0x50/0x50 [ 395.461776] [] ? check_preemption_disabled+0x3b/0x200 [ 395.468593] [] ? scsi_handle_queue_ramp_up+0x32a/0x430 [ 395.475501] [] ? sd_completed_bytes+0x3f0/0x3f0 [ 395.481795] [] scsi_finish_command+0x3ba/0x530 [ 395.488005] [] scsi_softirq_done+0x250/0x360 [ 395.494051] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.500872] [] blk_done_softirq+0x27d/0x3e0 [ 395.506823] [] ? handle_edge_irq+0x331/0x900 [ 395.512855] [] ? trigger_softirq+0x210/0x210 [ 395.518891] [] __do_softirq+0x20e/0x964 [ 395.524504] [] ? check_preemption_disabled+0x3b/0x200 [ 395.531325] [] irq_exit+0x11c/0x150 [ 395.536596] [] do_IRQ+0x10d/0x1c0 [ 395.541677] [] common_interrupt+0x9d/0x9d [ 395.547445] [ 395.549492] [] ? native_safe_halt+0x6/0x10 [ 395.555375] [] ? trace_hardirqs_on+0xd/0x10 [ 395.561322] [] default_idle+0x55/0x360 [ 395.566856] [] arch_cpu_idle+0x10/0x20 [ 395.572380] [] default_idle_call+0x45/0x60 [ 395.578240] [] cpu_startup_entry+0x2b5/0x380 [ 395.584276] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 395.591177] [] ? cpu_in_idle+0x20/0x20 [ 395.596693] [] start_secondary+0x328/0x400 [ 395.602552] [] ? set_cpu_sibling_map+0x13d0/0x13d0 [ 395.609142] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:51 [ 395.617631] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/1 [ 395.624357] INFO: lockdep is turned off. [ 395.628414] Preemption disabled at:[ 395.631861] [] schedule_preempt_disabled+0x1d/0x20 [ 395.638359] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 4.9.141+ #1 [ 395.645780] ffff8801db707a20 ffffffff81b42e79 ffffffff828094ad 0000000000000000 [ 395.653773] 0000000000000101 ffff8801da6b2f80 ffff8801da6b2f80 ffff8801db707a58 [ 395.661771] ffffffff813f9ecf ffff8801da6b2f80 ffffffff82a4fa80 0000000000000033 [ 395.669780] Call Trace: [ 395.672355] [ 395.674400] [] dump_stack+0xc1/0x128 [ 395.679778] [] ? schedule_preempt_disabled+0x1d/0x20 [ 395.686509] [] ___might_sleep.cold.31+0x18a/0x1fc [ 395.692981] [] __might_sleep+0x95/0x1a0 [ 395.698580] [] ? filemap_fdatawait_range+0x39/0x50 [ 395.705133] [] down_write+0x21/0xa0 [ 395.710389] [] __generic_file_fsync+0xc1/0x1a0 [ 395.716596] [] ext4_sync_file+0x659/0x10a0 [ 395.722456] [] ? ext4_llseek+0x8e0/0x8e0 [ 395.728146] [] vfs_fsync_range+0x10c/0x260 [ 395.734009] [] dio_complete+0x512/0x6c0 [ 395.739608] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.746509] [] ? ext4_update_bh_state+0xf0/0xf0 [ 395.752805] [] dio_bio_end_aio+0x11c/0x370 [ 395.758664] [] ? dio_complete+0x6c0/0x6c0 [ 395.764452] [] bio_endio+0x1a5/0x1f0 [ 395.769793] [] blk_update_request+0x248/0x9b0 [ 395.775922] [] scsi_end_request+0x9d/0x5c0 [ 395.781792] [] scsi_io_completion+0x273/0x17a0 [ 395.787999] [] ? scsi_unblock_requests+0x50/0x50 [ 395.794382] [] ? check_preemption_disabled+0x3b/0x200 [ 395.801196] [] ? scsi_handle_queue_ramp_up+0x32a/0x430 [ 395.808100] [] ? sd_completed_bytes+0x3f0/0x3f0 [ 395.814395] [] scsi_finish_command+0x3ba/0x530 [ 395.820603] [] scsi_softirq_done+0x250/0x360 [ 395.826654] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 395.833472] [] blk_done_softirq+0x27d/0x3e0 [ 395.839420] [] ? handle_edge_irq+0x331/0x900 [ 395.845462] [] ? trigger_softirq+0x210/0x210 [ 395.851495] [] __do_softirq+0x20e/0x964 [ 395.857111] [] ? check_preemption_disabled+0x3b/0x200 [ 395.863937] [] irq_exit+0x11c/0x150 [ 395.869195] [] do_IRQ+0x10d/0x1c0 [ 395.874284] [] common_interrupt+0x9d/0x9d [ 395.880055] [ 395.882097] [] ? native_safe_halt+0x6/0x10 [ 395.887983] [] ? trace_hardirqs_on+0xd/0x10 [ 395.893941] [] default_idle+0x55/0x360 [ 395.899452] [] arch_cpu_idle+0x10/0x20 [ 395.904966] [] default_idle_call+0x45/0x60 [ 395.910825] [] cpu_startup_entry+0x2b5/0x380 [ 395.916857] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 395.923758] [] ? cpu_in_idle+0x20/0x20 [ 395.929271] [] start_secondary+0x328/0x400 [ 395.935129] [] ? set_cpu_sibling_map+0x13d0/0x13d0 [ 395.941719] BUG: scheduling while atomic: swapper/1/0/0x00000102 [ 395.947860] INFO: lockdep is turned off. [ 395.951898] Modules linked in: [ 395.955196] Preemption disabled at:[ 395.958646] [] schedule_preempt_disabled+0x1d/0x20 [ 395.965163] Kernel panic - not syncing: scheduling while atomic [ 395.965163] [ 395.972686] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 4.9.141+ #1 [ 395.980148] ffff8801db7076d0 ffffffff81b42e79 ffffffff82a47a40 00000000ffffffff [ 395.988148] ffffffff82809400 0000000000000001 ffff8801da6b2f80 ffff8801db707790 [ 395.996170] ffffffff813f7125 0000000041b58ab3 ffffffff82e2b62b ffffffff813f6f66 [ 396.004163] Call Trace: [ 396.006718] [ 396.008769] [] dump_stack+0xc1/0x128 [ 396.014127] [] ? preempt_schedule_notrace+0x70/0x100 [ 396.020859] [] panic+0x1bf/0x39f [ 396.025849] [] ? add_taint.cold.5+0x16/0x16 [ 396.031805] [] ? vprintk_emit+0x272/0x790 [ 396.037581] [] ? vprintk_emit+0x272/0x790 [ 396.043352] [] ? schedule_preempt_disabled+0x1d/0x20 [ 396.050080] [] ? rwsem_down_write_failed+0x395/0x730 [ 396.056814] [] __schedule_bug.cold.30+0x8d/0x8d [ 396.063106] [] __schedule+0xfec/0x1b10 [ 396.068619] [] ? rwsem_down_write_failed+0x395/0x730 [ 396.075345] [] ? rwsem_down_write_failed+0x395/0x730 [ 396.082089] [] schedule+0x7f/0x1b0 [ 396.087257] [] rwsem_down_write_failed+0x39a/0x730 [ 396.093813] [] ? rt_mutex_futex_unlock+0x10/0x10 [ 396.100196] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 396.106772] [] ? trace_hardirqs_on+0x10/0x10 [ 396.112824] [] ? check_preemption_disabled+0x3b/0x200 [ 396.119645] [] ? dump_stack+0xfb/0x128 [ 396.125159] [] ? dump_stack+0x10f/0x128 [ 396.130761] [] call_rwsem_down_write_failed+0x17/0x30 [ 396.137576] [] down_write+0x5c/0xa0 [ 396.142831] [] ? __generic_file_fsync+0xc1/0x1a0 [ 396.149213] [] __generic_file_fsync+0xc1/0x1a0 [ 396.155430] [] ext4_sync_file+0x659/0x10a0 [ 396.161292] [] ? ext4_llseek+0x8e0/0x8e0 [ 396.166979] [] vfs_fsync_range+0x10c/0x260 [ 396.172839] [] dio_complete+0x512/0x6c0 [ 396.178446] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 396.185265] [] ? ext4_update_bh_state+0xf0/0xf0 [ 396.191558] [] dio_bio_end_aio+0x11c/0x370 [ 396.197420] [] ? dio_complete+0x6c0/0x6c0 [ 396.203201] [] bio_endio+0x1a5/0x1f0 [ 396.208543] [] blk_update_request+0x248/0x9b0 [ 396.214667] [] scsi_end_request+0x9d/0x5c0 [ 396.220530] [] scsi_io_completion+0x273/0x17a0 [ 396.226757] [] ? scsi_unblock_requests+0x50/0x50 [ 396.233143] [] ? check_preemption_disabled+0x3b/0x200 [ 396.239958] [] ? scsi_handle_queue_ramp_up+0x32a/0x430 [ 396.246877] [] ? sd_completed_bytes+0x3f0/0x3f0 [ 396.253172] [] scsi_finish_command+0x3ba/0x530 [ 396.259377] [] scsi_softirq_done+0x250/0x360 [ 396.265411] [] ? trace_hardirqs_on_caller+0x266/0x590 [ 396.272233] [] blk_done_softirq+0x27d/0x3e0 [ 396.278179] [] ? handle_edge_irq+0x331/0x900 [ 396.284222] [] ? trigger_softirq+0x210/0x210 [ 396.290280] [] __do_softirq+0x20e/0x964 [ 396.295881] [] ? check_preemption_disabled+0x3b/0x200 [ 396.302695] [] irq_exit+0x11c/0x150 [ 396.307946] [] do_IRQ+0x10d/0x1c0 [ 396.313029] [] common_interrupt+0x9d/0x9d [ 396.318965] [ 396.321016] [] ? native_safe_halt+0x6/0x10 [ 396.326908] [] ? trace_hardirqs_on+0xd/0x10 [ 396.332866] [] default_idle+0x55/0x360 [ 396.338400] [] arch_cpu_idle+0x10/0x20 [ 396.343940] [] default_idle_call+0x45/0x60 [ 396.349802] [] cpu_startup_entry+0x2b5/0x380 [ 396.355841] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 396.362752] [] ? cpu_in_idle+0x20/0x20 [ 396.368267] [] start_secondary+0x328/0x400 [ 396.374131] [] ? set_cpu_sibling_map+0x13d0/0x13d0 [ 396.381028] Kernel Offset: disabled [ 396.384637] Rebooting in 86400 seconds..