ci2 starts bisection 2025-03-28 05:10:41.41237967 +0000 UTC m=+53223.034959767 bisecting fixing commit since 101e665d55a8a331da5376dba2e374a5b7bce014 building syzkaller on 68da6d951a345757b69b764ceb8dda1e9d65b038 ensuring issue is reproducible on original commit 101e665d55a8a331da5376dba2e374a5b7bce014 testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 16f2827bb6f00df00a309867d9c767054f3d1e7b23efaa3524a894b88376136b all runs: crashed: general protection fault in update_sit_entry representative crash: general protection fault in update_sit_entry, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 549000fd1db394ca0d21480b886a335682ff44755e0ba9b9f0bbd4973a66503b run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: OK run #9: OK representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4920 full=6215 leaves diff=253 split chunks (needed=false): <253> split chunk #0 of len 253 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 06284ea797a1c6d2473ddb26c2222d1f3f0e2d259bfb88430c3b66f5215c831b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4caba01425dcae5e7dc610d3d805bd21ad9e8d108d4b54c19ccb4bc28cf54af all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 52c41f15a193c8b272433fef50f1992e4dd81aff39a2d499364994ae91ae62a4 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f3984b300eec0f13239405d12362d5a57d2c997eaca3feff9c9eb89f5b3ee1dd all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 101e665d55a8a331da5376dba2e374a5b7bce014 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 101e665d55a8a331da5376dba2e374a5b7bce014: net/socket.c:1191: undefined reference to `wext_handle_ioctl' net/socket.c:3390: 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 49 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE 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 USB_XHCI_PCI_RENESAS 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_X32 ZEROPLUS_FF] disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing current HEAD 5e1b899f19c3d900664c1ca05c4714c24647d82b testing commit 5e1b899f19c3d900664c1ca05c4714c24647d82b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8283ab3bd1e229a56bdb320402c50b9de71392cb7fb984cd25550d9db4ab1d2f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h40m39.365058353s (build: 18m17.893203119s, test: 1h16m31.669073426s) crash still not fixed or there were kernel test errors commit msg: FROMGIT: f2fs: fix scheduling while atomic in decompression path crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 119dd7067 P4D 119dd7067 PUD 112ba1067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 543 Comm: syz.4.22 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2931 [inline] RIP: 0010:update_sit_entry+0x116/0x340 fs/f2fs/segment.c:2256 Code: be 3a 41 89 f8 41 09 c8 85 cf 44 88 02 41 b8 01 00 00 00 0f 85 9c 01 00 00 8b bb 9c 07 00 00 85 ff 75 1c 49 8b 75 18 4c 01 fe <0f> be 16 89 d7 09 cf 85 ca 40 88 3e 75 07 83 ab 20 06 00 00 01 48 RSP: 0018:ffffc9000078b670 EFLAGS: 00010246 RAX: 000000000000000b RBX: ffff88810b880000 RCX: 0000000000000080 RDX: ffff88810b882580 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000078b6b0 R08: 0000000000000001 R09: ffffffff8317f120 R10: 000000000000000a R11: ffff888118550922 R12: 0000000000000001 R13: ffff88811ab335b8 R14: 000000000000000b R15: 0000000000000000 FS: 00007fe2c0d1e6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001103f4000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x54d/0xba0 fs/f2fs/segment.c:3457 __allocate_data_block+0x128/0x230 fs/f2fs/data.c:1404 f2fs_map_blocks+0x67f/0xc80 fs/f2fs/data.c:1576 f2fs_iomap_begin+0x9b/0x1b0 fs/f2fs/data.c:4191 iomap_iter+0x128/0x290 fs/iomap/iter.c:74 __iomap_dio_rw+0x230/0x890 fs/iomap/direct-io.c:597 f2fs_dio_write_iter+0x145/0x6e0 fs/f2fs/file.c:4607 f2fs_file_write_iter+0x19b/0x6c0 fs/f2fs/file.c:4739 call_write_iter include/linux/fs.h:2204 [inline] do_iter_readv_writev+0x142/0x190 fs/read_write.c:729 do_iter_write+0x83/0x1c0 fs/read_write.c:855 vfs_writev+0xa9/0x1d0 fs/read_write.c:928 do_pwritev+0x8e/0xd0 fs/read_write.c:1025 __do_sys_pwritev2 fs/read_write.c:1084 [inline] __se_sys_pwritev2 fs/read_write.c:1075 [inline] __x64_sys_pwritev2+0x26/0x40 fs/read_write.c:1075 x64_sys_call+0xfa/0x990 arch/x86/include/generated/asm/syscalls_64.h:329 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe2c12be819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe2c0d1e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fe2c1476080 RCX: 00007fe2c12be819 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000008 RBP: 00007fe2c133175e R08: 0000000000000007 R09: 0000000000000003 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe2c1476080 R15: 00007ffef75cf9d8 Modules linked in: CR2: 0000000000000000 ---[ end trace 59eb94376685e643 ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2931 [inline] RIP: 0010:update_sit_entry+0x116/0x340 fs/f2fs/segment.c:2256 Code: be 3a 41 89 f8 41 09 c8 85 cf 44 88 02 41 b8 01 00 00 00 0f 85 9c 01 00 00 8b bb 9c 07 00 00 85 ff 75 1c 49 8b 75 18 4c 01 fe <0f> be 16 89 d7 09 cf 85 ca 40 88 3e 75 07 83 ab 20 06 00 00 01 48 RSP: 0018:ffffc9000078b670 EFLAGS: 00010246 RAX: 000000000000000b RBX: ffff88810b880000 RCX: 0000000000000080 RDX: ffff88810b882580 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000078b6b0 R08: 0000000000000001 R09: ffffffff8317f120 R10: 000000000000000a R11: ffff888118550922 R12: 0000000000000001 R13: ffff88811ab335b8 R14: 000000000000000b R15: 0000000000000000 FS: 00007fe2c0d1e6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001103f4000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: be 3a 41 89 f8 mov $0xf889413a,%esi 5: 41 09 c8 or %ecx,%r8d 8: 85 cf test %ecx,%edi a: 44 88 02 mov %r8b,(%rdx) d: 41 b8 01 00 00 00 mov $0x1,%r8d 13: 0f 85 9c 01 00 00 jne 0x1b5 19: 8b bb 9c 07 00 00 mov 0x79c(%rbx),%edi 1f: 85 ff test %edi,%edi 21: 75 1c jne 0x3f 23: 49 8b 75 18 mov 0x18(%r13),%rsi 27: 4c 01 fe add %r15,%rsi * 2a: 0f be 16 movsbl (%rsi),%edx <-- trapping instruction 2d: 89 d7 mov %edx,%edi 2f: 09 cf or %ecx,%edi 31: 85 ca test %ecx,%edx 33: 40 88 3e mov %dil,(%rsi) 36: 75 07 jne 0x3f 38: 83 ab 20 06 00 00 01 subl $0x1,0x620(%rbx) 3f: 48 rex.W