============================= WARNING: suspicious RCU usage 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 Not tainted ----------------------------- kernel/sched/core.c:8762 Illegal context switch in RCU-sched read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 4 locks held by kworker/u8:7/635: #0: ffff0000cf529148 ((wq_completion)loop0){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009d327bc0 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: shmem_file_write_iter+0x80/0x134 mm/shmem.c:3457 #3: ffff80008f869a40 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 stack backtrace: CPU: 0 UID: 0 PID: 635 Comm: kworker/u8:7 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: loop0 loop_workfn Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x168/0x274 kernel/locking/lockdep.c:6871 __might_resched+0xd0/0x4c4 kernel/sched/core.c:8762 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 __do_softirq+0x14/0x20 kernel/softirq.c:613 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:68 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:73 invoke_softirq kernel/softirq.c:460 [inline] __irq_exit_rcu+0x1b0/0x478 kernel/softirq.c:680 irq_exit_rcu+0x14/0x84 kernel/softirq.c:696 __el1_irq arch/arm64/kernel/entry-common.c:654 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:668 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:673 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __preempt_count_add arch/arm64/include/asm/preempt.h:47 [inline] (P) rcu_is_watching+0x34/0x134 kernel/rcu/tree.c:744 (P) rcu_read_unlock_sched include/linux/rcupdate.h:951 [inline] pfn_valid+0x380/0x478 include/linux/mmzone.h:2168 lowmem_page_address include/linux/mm.h:2206 [inline] kmap_local_page+0x6c/0xf0 include/linux/highmem-internal.h:188 iterate_bvec include/linux/iov_iter.h:118 [inline] iterate_and_advance2 include/linux/iov_iter.h:304 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] copy_folio_from_iter_atomic+0xb30/0x1604 lib/iov_iter.c:479 generic_perform_write+0x4c0/0x79c mm/filemap.c:4130 shmem_file_write_iter+0x10c/0x134 mm/shmem.c:3467 lo_rw_aio+0x994/0xb44 drivers/block/loop.c:-1 do_req_filebacked drivers/block/loop.c:-1 [inline] loop_handle_cmd drivers/block/loop.c:1888 [inline] loop_process_work+0x7c4/0xff4 drivers/block/loop.c:1923 loop_workfn+0x50/0x64 drivers/block/loop.c:1947 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 635, name: kworker/u8:7 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 4 locks held by kworker/u8:7/635: #0: ffff0000cf529148 ((wq_completion)loop0){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009d327bc0 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: shmem_file_write_iter+0x80/0x134 mm/shmem.c:3457 #3: ffff80008f869a40 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 Preemption disabled at: [] rcu_read_lock_sched include/linux/rcupdate.h:930 [inline] [] pfn_valid+0x128/0x478 include/linux/mmzone.h:2158 CPU: 0 UID: 0 PID: 635 Comm: kworker/u8:7 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: loop0 loop_workfn Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 __do_softirq+0x14/0x20 kernel/softirq.c:613 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:68 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:73 invoke_softirq kernel/softirq.c:460 [inline] __irq_exit_rcu+0x1b0/0x478 kernel/softirq.c:680 irq_exit_rcu+0x14/0x84 kernel/softirq.c:696 __el1_irq arch/arm64/kernel/entry-common.c:654 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:668 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:673 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __preempt_count_add arch/arm64/include/asm/preempt.h:47 [inline] (P) rcu_is_watching+0x34/0x134 kernel/rcu/tree.c:744 (P) rcu_read_unlock_sched include/linux/rcupdate.h:951 [inline] pfn_valid+0x380/0x478 include/linux/mmzone.h:2168 lowmem_page_address include/linux/mm.h:2206 [inline] kmap_local_page+0x6c/0xf0 include/linux/highmem-internal.h:188 iterate_bvec include/linux/iov_iter.h:118 [inline] iterate_and_advance2 include/linux/iov_iter.h:304 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] copy_folio_from_iter_atomic+0xb30/0x1604 lib/iov_iter.c:479 generic_perform_write+0x4c0/0x79c mm/filemap.c:4130 shmem_file_write_iter+0x10c/0x134 mm/shmem.c:3467 lo_rw_aio+0x994/0xb44 drivers/block/loop.c:-1 do_req_filebacked drivers/block/loop.c:-1 [inline] loop_handle_cmd drivers/block/loop.c:1888 [inline] loop_process_work+0x7c4/0xff4 drivers/block/loop.c:1923 loop_workfn+0x50/0x64 drivers/block/loop.c:1947 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 ============================= [ BUG: Invalid wait context ] 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 Tainted: G W ----------------------------- kworker/u8:7/635 is trying to lock: ffff0000eb697418 (&sb->s_type->i_mutex_key#20){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] ffff0000eb697418 (&sb->s_type->i_mutex_key#20){+.+.}-{4:4}, at: jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 other info that might help us debug this: context-{3:3} 4 locks held by kworker/u8:7/635: #0: ffff0000cf529148 ((wq_completion)loop0){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009d327bc0 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #2: ffff0000cba58950 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: shmem_file_write_iter+0x80/0x134 mm/shmem.c:3457 #3: ffff80008f869a40 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 stack backtrace: CPU: 0 UID: 0 PID: 635 Comm: kworker/u8:7 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: loop0 loop_workfn Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 print_lock_invalid_wait_context kernel/locking/lockdep.c:4833 [inline] check_wait_context kernel/locking/lockdep.c:4905 [inline] __lock_acquire+0xaec/0x30a4 kernel/locking/lockdep.c:5190 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5871 down_write+0x50/0xc0 kernel/locking/rwsem.c:1577 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 __do_softirq+0x14/0x20 kernel/softirq.c:613 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:68 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:73 invoke_softirq kernel/softirq.c:460 [inline] __irq_exit_rcu+0x1b0/0x478 kernel/softirq.c:680 irq_exit_rcu+0x14/0x84 kernel/softirq.c:696 __el1_irq arch/arm64/kernel/entry-common.c:654 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:668 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:673 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __preempt_count_add arch/arm64/include/asm/preempt.h:47 [inline] (P) rcu_is_watching+0x34/0x134 kernel/rcu/tree.c:744 (P) rcu_read_unlock_sched include/linux/rcupdate.h:951 [inline] pfn_valid+0x380/0x478 include/linux/mmzone.h:2168 lowmem_page_address include/linux/mm.h:2206 [inline] kmap_local_page+0x6c/0xf0 include/linux/highmem-internal.h:188 iterate_bvec include/linux/iov_iter.h:118 [inline] iterate_and_advance2 include/linux/iov_iter.h:304 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] copy_folio_from_iter_atomic+0xb30/0x1604 lib/iov_iter.c:479 generic_perform_write+0x4c0/0x79c mm/filemap.c:4130 shmem_file_write_iter+0x10c/0x134 mm/shmem.c:3467 lo_rw_aio+0x994/0xb44 drivers/block/loop.c:-1 do_req_filebacked drivers/block/loop.c:-1 [inline] loop_handle_cmd drivers/block/loop.c:1888 [inline] loop_process_work+0x7c4/0xff4 drivers/block/loop.c:1923 loop_workfn+0x50/0x64 drivers/block/loop.c:1947 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:420 [inline] [] handle_softirqs+0xe8/0xc88 kernel/softirq.c:555 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:420 [inline] [] handle_softirqs+0xe8/0xc88 kernel/softirq.c:555 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:420 [inline] [] handle_softirqs+0xe8/0xc88 kernel/softirq.c:555 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:420 [inline] [] handle_softirqs+0xe8/0xc88 kernel/softirq.c:555 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:420 [inline] [] handle_softirqs+0xe8/0xc88 kernel/softirq.c:555 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x348/0x4c4 kernel/sched/core.c:8800 __might_sleep+0x94/0x110 kernel/sched/core.c:8729 down_write+0x28/0xc0 kernel/locking/rwsem.c:1576 inode_lock include/linux/fs.h:869 [inline] jfs_fsync+0x9c/0x1d0 fs/jfs/file.c:28 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_bio_end_aio+0x474/0x544 fs/direct-io.c:368 bio_endio+0x804/0x840 block/bio.c:1645 blk_update_request+0x4a4/0xbcc block/blk-mq.c:987 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1149 lo_complete_rq+0x124/0x274 drivers/block/loop.c:304 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1229 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844