ci2 starts bisection 2023-10-06 10:46:38.232297457 +0000 UTC m=+63063.892692308 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.40 kernel signature: 39f58713137a22c31940a5b67c984bcb7c0c1368d0d9193ce99675d185a6ad78 all runs: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36afab49231606ab50085c5eea8abd857aa655417bb8e7942f81c8226dc2841e run #0: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #1: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #2: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #3: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [LOCKDEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=4920 full=6168 leaves diff=252 split chunks (needed=false): <252> split chunk #0 of len 252 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4e25402ba3db3ee8f750731654980c2d8cc7fc7a8b9fc1e4423a9607f99cff4 run #0: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #1: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #2: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #3: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #4: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #5: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #6: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #7: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #8: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #9: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #10: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #11: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d6789b1bea96f2651818a263d2c457170442867085c969f7c56dab6070ce4d39 all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c103519310a2b8f5b6d393d426afa7a3df033572551e2fe2d70176549aa4ab5 run #0: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #1: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #2: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #3: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #4: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #5: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #6: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #7: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #8: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #9: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #10: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #11: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d38dfe3f45a8990ff18765bee2d46643b441372d7f048f7f711590a0a443fa2c run #0: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #1: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #2: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #3: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #4: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #5: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #6: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #7: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #8: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing commit 5448b2fda85f2d90de03f053226f721ba2f7e731 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 5448b2fda85f2d90de03f053226f721ba2f7e731: net/socket.c:1172: undefined reference to `wext_handle_ioctl' net/socket.c:3366: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:343: undefined reference to `wext_proc_exit' net/core/net-procfs.c:327: undefined reference to `wext_proc_init' minimized to 99 configs; suspects: [FB HID_HOLTEK HID_NTI HID_NTRIG HID_ORTEK HID_PANTHERLORD HID_PENMOUNT HID_PETALYNX HID_PICOLCD_FB HID_PICOLCD_LEDS HID_PID HID_PRIMAX HID_PRODIKEYS HID_RMI HID_SAITEK HID_SAMSUNG HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_HUB HID_SPEEDLINK HID_STEELSERIES HID_SUNPLUS HID_THINGM HID_TIVO HID_TOPSEED HID_TWINHAN HID_WALTOP HID_XINMO HID_ZEROPLUS HID_ZYDACRON HOLTEK_FF HOTPLUG_PCI HWMON HW_CONSOLE I2C_MUX I8253_LOCK INPUT_JOYSTICK INPUT_LEDS INPUT_MOUSE INPUT_TOUCHSCREEN INTEGRITY INTEGRITY_AUDIT JOYSTICK_XPAD JOYSTICK_XPAD_FF JOYSTICK_XPAD_LEDS KCOV KCOV_ENABLE_COMPARISONS KCOV_INSTRUMENT_ALL LCD_CLASS_DEVICE LOGIG940_FF LOGIRUMBLEPAD2_FF LOGITECH_FF LOGIWHEELS_FF MEDIA_ANALOG_TV_SUPPORT MEDIA_ATTACH MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_TUNER MFD_CORE MICROCODE MICROCODE_INTEL MTRR_SANITIZER NET_CLS_TCINDEX NOP_USB_XCEIV PANTHERLORD_FF SND SOUND USB_NET_DM9601 USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM VT WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_PM_TIMER X86_X32 ZEROPLUS_FF] disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing current HEAD ea586874d2f9e501ef84b7e55036fc8965397d5d testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 64675017783fcd12989a4c082e33234213abea3cd7f20d157d68092dcf4865d9 run #0: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #1: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #2: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #3: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #4: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #5: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #6: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #7: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #8: crashed: BUG: scheduling while atomic in f2fs_register_inmem_page run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: BUG: scheduling while atomic in f2fs_register_inmem_page, types: [ATOMIC_SLEEP] crash still not fixed/happens on the oldest tested release reproducer is flaky (0.45 repro chance estimate) revisions tested: 7, total time: 2h34m48.183491934s (build: 52m33.099182396s, test: 1h22m54.347898547s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.131 into android13-5.15-lts crash: BUG: scheduling while atomic in f2fs_register_inmem_page BUG: scheduling while atomic: syz-executor.0/375/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+0x5e5/0x14c0 mm/memory.c:1624 CPU: 0 PID: 375 Comm: syz-executor.0 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x75/0x9b lib/dump_stack.c:106 dump_stack+0x15/0x17 lib/dump_stack.c:113 __schedule_bug.cold+0x80/0xab kernel/sched/core.c:5701 schedule_debug kernel/sched/core.c:5728 [inline] __schedule+0x66d/0x720 kernel/sched/core.c:6396 schedule+0x60/0xf0 kernel/sched/core.c:6589 schedule_preempt_disabled+0x2c/0x40 kernel/sched/core.c:6648 mutex_optimistic_spin kernel/locking/mutex.c:521 [inline] __mutex_lock_common kernel/locking/mutex.c:620 [inline] __mutex_lock.constprop.0+0x7ea/0x810 kernel/locking/mutex.c:755 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1006 mutex_lock+0x77/0x80 kernel/locking/mutex.c:288 f2fs_register_inmem_page+0xbb/0x240 fs/f2fs/segment.c:202 f2fs_set_data_page_dirty+0x385/0x410 fs/f2fs/data.c:3631 set_page_dirty+0xd6/0x1b0 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+0xf13/0x14c0 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] unmap_vmas+0x137/0x200 mm/memory.c:1701 exit_mmap+0x122/0x390 mm/mmap.c:3209 __mmput kernel/fork.c:1171 [inline] mmput kernel/fork.c:1194 [inline] mmput+0x89/0x240 kernel/fork.c:1188 exit_mm kernel/exit.c:551 [inline] do_exit+0x432/0x1050 kernel/exit.c:862 do_group_exit+0x73/0x110 kernel/exit.c:997 get_signal+0x131/0xef0 kernel/signal.c:2891 arch_do_signal_or_restart+0xee/0x790 arch/x86/kernel/signal.c:867 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:0x7f31da5858d9 Code: Unable to access opcode bytes at RIP 0x7f31da5858af. RSP: 002b:00007f31da108178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f31da6a4f88 RCX: 00007f31da5858d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f31da6a4f88 RBP: 00007f31da6a4f80 R08: 00007f31da1086c0 R09: 00007f31da1086c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f31da6a4f8c R13: 000000000000000b R14: 00007ffd78d5a930 R15: 00007ffd78d5aa18