ci2 starts bisection 2024-05-26 02:16:21.677180556 +0000 UTC m=+117590.538148481 bisecting fixing commit since dcb09569bbff14d203a6b2ffa40da7b724665e31 building syzkaller on af24b0505c748561efb50f1d03c824d6642f6c0b ensuring issue is reproducible on original commit dcb09569bbff14d203a6b2ffa40da7b724665e31 testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cbfe589d6c864b3610c950fe123453b8036f8fda1bde71bd1e9d4b3080daf596 run #0: crashed: BUG: scheduling while atomic in do_task_dead run #1: crashed: BUG: scheduling while atomic in do_task_dead run #2: crashed: BUG: scheduling while atomic in do_task_dead run #3: crashed: BUG: scheduling while atomic in do_task_dead run #4: crashed: BUG: scheduling while atomic in ext4_buffered_write_iter run #5: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #6: crashed: BUG: scheduling while atomic in do_task_dead run #7: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #8: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #9: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #10: crashed: BUG: scheduling while atomic in do_task_dead run #11: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #12: crashed: BUG: scheduling while atomic in do_task_dead run #13: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #14: crashed: BUG: scheduling while atomic in do_task_dead run #15: crashed: BUG: soft lockup in corrupted run #16: crashed: BUG: soft lockup in corrupted run #17: crashed: BUG: soft lockup in corrupted run #18: crashed: no output from test machine run #19: crashed: no output from test machine representative crash: BUG: scheduling while atomic in do_task_dead, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c21cf03d2096e63b96f17994e9652b09bdff918941afd93fd3d3cb104e71e76 run #0: crashed: BUG: scheduling while atomic in do_epoll_wait run #1: crashed: BUG: scheduling while atomic in do_task_dead run #2: crashed: BUG: scheduling while atomic in do_task_dead run #3: crashed: BUG: scheduling while atomic in folio_wait_bit_common run #4: crashed: BUG: scheduling while atomic in do_task_dead run #5: crashed: BUG: scheduling while atomic in do_task_dead run #6: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #7: crashed: BUG: workqueue lockup run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in do_epoll_wait, types: [ATOMIC_SLEEP UNKNOWN] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=5179 full=6491 leaves diff=256 split chunks (needed=false): <256> split chunk #0 of len 256 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1bf01e60e63f69e0dfe0c802af3f4321762dc6056797635be3e5bf75342da5a1 run #0: crashed: BUG: scheduling while atomic in do_task_dead run #1: crashed: BUG: scheduling while atomic in do_task_dead run #2: crashed: BUG: scheduling while atomic in do_task_dead run #3: crashed: BUG: scheduling while atomic in do_task_dead run #4: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #5: crashed: BUG: scheduling while atomic in do_task_dead run #6: crashed: BUG: scheduling while atomic in do_task_dead run #7: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in do_task_dead, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5341d3c5191fd50be442a544af3d719e1063a82cfff3e7b501b448c94af5fac3 run #0: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #1: crashed: BUG: scheduling while atomic in do_task_dead run #2: crashed: BUG: scheduling while atomic in folio_wait_bit_common run #3: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #4: crashed: BUG: scheduling while atomic in do_task_dead run #5: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #6: crashed: BUG: workqueue lockup run #7: crashed: BUG: workqueue lockup run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in exit_to_user_mode_loop, types: [ATOMIC_SLEEP UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP HANG], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30c182af114b33990504db6dab8d9fbc4a2f0cf807c1e7ef442e05fcddacecd3 run #0: crashed: BUG: scheduling while atomic in folio_wait_bit_common run #1: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #2: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #3: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #4: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #5: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #6: crashed: BUG: workqueue lockup run #7: crashed: BUG: workqueue lockup run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in folio_wait_bit_common, types: [ATOMIC_SLEEP UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 27ba25b9cb4f731dcb826d7bbe8848ea77738e7ee288b68ceb080406d3d5de98 run #0: crashed: BUG: scheduling while atomic in do_task_dead run #1: crashed: BUG: scheduling while atomic in blk_mq_get_tag run #2: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #3: crashed: BUG: scheduling while atomic in do_task_dead run #4: crashed: BUG: scheduling while atomic in do_task_dead run #5: crashed: BUG: scheduling while atomic in do_epoll_wait run #6: crashed: BUG: workqueue lockup run #7: crashed: BUG: workqueue lockup run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in do_task_dead, types: [ATOMIC_SLEEP UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dcb09569bbff14d203a6b2ffa40da7b724665e31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building dcb09569bbff14d203a6b2ffa40da7b724665e31: net/socket.c:1245: undefined reference to `wext_handle_ioctl' net/socket.c:3442: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 48 configs; suspects: [HID_ZEROPLUS 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_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 V4L2_ASYNC V4L2_FWNODE VIDEO_CAMERA_SENSOR WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed testing current HEAD 68c821783c7688df37f4ac7bb39f3fb606b827c0 testing commit 68c821783c7688df37f4ac7bb39f3fb606b827c0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d360b6b8489e107b07caebfc9a8d8776ef4e20e4c5ae83ee41bcc03e73004da run #0: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #1: crashed: BUG: scheduling while atomic in folio_wait_bit_common run #2: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #3: crashed: BUG: scheduling while atomic in folio_wait_bit_common run #4: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #5: crashed: BUG: workqueue lockup run #6: crashed: BUG: workqueue lockup run #7: crashed: BUG: workqueue lockup run #8: crashed: BUG: workqueue lockup run #9: crashed: BUG: workqueue lockup representative crash: BUG: scheduling while atomic in exit_to_user_mode_loop, types: [ATOMIC_SLEEP UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h7m35.936551116s (build: 17m22.649453991s, test: 47m49.277414363s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: epoll: be better about file lifetimes crash: BUG: scheduling while atomic in exit_to_user_mode_loop BUG: scheduling while atomic: syz-executor.3/507/0x00000002 Modules linked in: Preemption disabled at: [] percpu_up_read include/linux/percpu-rwsem.h:113 [inline] [] __sb_end_write include/linux/fs.h:1880 [inline] [] sb_end_write include/linux/fs.h:1912 [inline] [] mnt_drop_write+0x46/0xc0 fs/namespace.c:471 CPU: 1 PID: 507 Comm: syz-executor.3 Not tainted 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x68/0x91 lib/dump_stack.c:106 dump_stack+0x10/0x19 lib/dump_stack.c:113 __schedule_bug+0xcf/0x100 kernel/sched/core.c:5964 schedule_debug kernel/sched/core.c:5991 [inline] __schedule+0x4a9/0x6e0 kernel/sched/core.c:6626 schedule+0x54/0xc0 kernel/sched/core.c:6809 exit_to_user_mode_loop+0x4e/0xa0 kernel/entry/common.c:159 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8bbfc7d627 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc7dd46d48 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: 0000000000000000 RBX: 00007ffc7dd46e10 RCX: 00007f8bbfc7d627 RDX: 00007f8bbfcca550 RSI: 00000000ffffff9c RDI: 00007ffc7dd46e10 RBP: 0000000000000001 R08: 0000000000000017 R09: 00007ffc7dd46a97 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000