ci2 starts bisection 2023-06-26 20:27:47.51739205 +0000 UTC m=+20486.607739906 bisecting fixing commit since 5448b2fda85f2d90de03f053226f721ba2f7e731 building syzkaller on 18b586030b9a7e7f4c7208f44be8994740608841 ensuring issue is reproducible on original commit 5448b2fda85f2d90de03f053226f721ba2f7e731 testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 019ae73bfed5155db9a5bf49af8f8c54411985fb20cc3cf48d9b3ae936eb650a all runs: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page testing current HEAD 36c485619a95d3f1d4302d5c44f501c79b1e2c06 testing commit 36c485619a95d3f1d4302d5c44f501c79b1e2c06 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9a50d20275029feb3a08b6a3d8660d91bc0ba85aa88d3b8d9a043a4d05101b78 all runs: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 43m31.47874324s (build: 33m46.999419054s, test: 8m37.698794128s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge 5.15.115 into android13-5.15-lts crash: BUG: scheduling while atomic in f2fs_register_inmem_page F2FS-fs (loop0): Found nat_bits in checkpoint F2FS-fs (loop0): Try to recover 1th superblock, ret: 0 F2FS-fs (loop0): Mounted with checkpoint version = 753bd00b BUG: scheduling while atomic: syz-executor.0/477/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:363 [inline] [] zap_pte_range mm/memory.c:1390 [inline] [] zap_pmd_range mm/memory.c:1553 [inline] [] zap_pud_range mm/memory.c:1582 [inline] [] zap_p4d_range mm/memory.c:1603 [inline] [] unmap_page_range+0x5ad/0x1b10 mm/memory.c:1624 CPU: 0 PID: 477 Comm: syz-executor.0 Not tainted 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 __schedule_bug.cold+0xcb/0x154 kernel/sched/core.c:5701 schedule_debug kernel/sched/core.c:5728 [inline] __schedule+0x12a2/0x19a0 kernel/sched/core.c:6396 schedule+0x116/0x240 kernel/sched/core.c:6589 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6648 mutex_optimistic_spin kernel/locking/mutex.c:521 [inline] __mutex_lock_common kernel/locking/mutex.c:618 [inline] __mutex_lock.constprop.0+0x112f/0x1430 kernel/locking/mutex.c:753 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1004 mutex_lock+0x19e/0x1e0 kernel/locking/mutex.c:288 f2fs_register_inmem_page+0x14e/0x4f0 fs/f2fs/segment.c:202 f2fs_set_data_page_dirty+0x446/0x600 fs/f2fs/data.c:3631 set_page_dirty+0xf7/0x260 mm/page-writeback.c:2611 zap_pte_range mm/memory.c:1425 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0x10cb/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 check_preemption_disabled: 5 callbacks suppressed BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 __mod_node_page_state+0x60/0x130 mm/vmstat.c:370 __mod_lruvec_state+0x48/0x80 mm/memcontrol.c:766 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 __mod_node_page_state+0x7d/0x130 mm/vmstat.c:372 __mod_lruvec_state+0x48/0x80 mm/memcontrol.c:766 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using __this_cpu_write() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 __mod_node_page_state+0xa6/0x130 mm/vmstat.c:378 __mod_lruvec_state+0x48/0x80 mm/memcontrol.c:766 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using __this_cpu_add() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 __mod_memcg_lruvec_state+0x4f/0x210 mm/memcontrol.c:744 __mod_lruvec_state+0x58/0x80 mm/memcontrol.c:770 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using __this_cpu_add() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 __mod_memcg_lruvec_state+0xa5/0x210 mm/memcontrol.c:747 __mod_lruvec_state+0x58/0x80 mm/memcontrol.c:770 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.0/477 caller is debug_smp_processor_id+0x17/0x20 lib/smp_processor_id.c:60 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 debug_smp_processor_id+0x17/0x20 lib/smp_processor_id.c:60 memcg_rstat_updated mm/memcontrol.c:664 [inline] __mod_memcg_lruvec_state+0xe8/0x210 mm/memcontrol.c:749 __mod_lruvec_state+0x58/0x80 mm/memcontrol.c:770 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 BUG: using __this_cpu_add_return() in preemptible [00000000] code: syz-executor.0/477 caller is __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 check_preemption_disabled+0xdf/0xf0 lib/smp_processor_id.c:49 __this_cpu_preempt_check+0x13/0x20 lib/smp_processor_id.c:66 memcg_rstat_updated mm/memcontrol.c:666 [inline] __mod_memcg_lruvec_state+0x11a/0x210 mm/memcontrol.c:749 __mod_lruvec_state+0x58/0x80 mm/memcontrol.c:770 __mod_lruvec_page_state+0x139/0x1c0 mm/memcontrol.c:792 page_remove_file_rmap mm/rmap.c:1356 [inline] page_remove_rmap+0x464/0xc70 mm/rmap.c:1429 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0xbb1/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(val > preempt_count()) WARNING: CPU: 1 PID: 477 at kernel/sched/core.c:5644 preempt_count_sub+0xbd/0x150 kernel/sched/core.c:5644 Modules linked in: CPU: 0 PID: 477 Comm: syz-executor.0 Tainted: G W 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:preempt_count_sub+0xbd/0x150 kernel/sched/core.c:5644 Code: 11 38 d0 7c 08 84 d2 0f 85 91 00 00 00 8b 15 d2 5c 20 05 85 d2 75 b9 48 c7 c6 a0 eb a8 84 48 c7 c7 e0 eb a8 84 e8 53 bd ee 02 <0f> 0b eb a2 84 c0 75 95 e8 06 73 ed 00 85 c0 74 95 48 c7 c0 e8 65 RSP: 0018:ffffc90000967788 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff5200012cee3 RBP: ffffc90000967790 R08: 0000000000000001 R09: ffff8881f732758b R10: ffffed103ee64eb1 R11: 000000000000002b R12: ffffc90000967a78 R13: ffffc90000967a80 R14: ffffc90000967a88 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003700 CR3: 000000010c364000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x41/0x70 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] zap_pte_range mm/memory.c:1494 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0x1090/0x1b10 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1701 exit_mmap+0x203/0x710 mm/mmap.c:3209 __mmput+0x70/0x3a0 kernel/fork.c:1171 mmput kernel/fork.c:1194 [inline] mmput+0x35/0xf0 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x87d/0x2410 kernel/exit.c:862 do_group_exit+0xe6/0x290 kernel/exit.c:997 get_signal+0x230/0x20b0 kernel/signal.c:2891 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xff/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4c9ece60f9 Code: Unable to access opcode bytes at RIP 0x7f4c9ece60cf. RSP: 002b:00007f4c9e859218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c9ee05f88 RCX: 00007f4c9ece60f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c9ee05f88 RBP: 00007f4c9ee05f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c9ee05f8c R13: 00007ffea8209edf R14: 00007f4c9e859300 R15: 0000000000022000 ---[ end trace 62671ea92bab2298 ]---