ci2 starts bisection 2025-02-11 14:47:54.459335801 +0000 UTC m=+120.884118589 bisecting fixing commit since 139a6bb26d9db33a3067b656bc9686f4b22c838c building syzkaller on 5df2386563cbffa1bbbb9d0b8ec1eebb98d051ae ensuring issue is reproducible on original commit 139a6bb26d9db33a3067b656bc9686f4b22c838c testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd07ac78f9443398dadbe24ff76da546d571ca7ee13bbfe546160967140bf94e 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5232b327eebe659f15abbd9ff684aefc967c0fbed19c5c345b1fcc900b075dd9 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 bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=4789 full=6020 leaves diff=243 split chunks (needed=false): <243> split chunk #0 of len 243 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 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a71a4c21da872a5b371d4574e157cd3fdbc23d15d2399cda4be7af79e78bd0f 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 03f5966915818a2512d4bddd4ed2df49f3c54a17ba62c135f00adc45293cba99 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf6a147e7b1fa62f768622dc9e3fa95715fc88a179d08030224f79643956744b 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 24557c9618660f34de458d848ef4251d4a745eff370b6767641863c4045e83c9 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 139a6bb26d9db33a3067b656bc9686f4b22c838c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 139a6bb26d9db33a3067b656bc9686f4b22c838c: net/socket.c:1128: undefined reference to `wext_handle_ioctl' net/socket.c:3397: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 47 configs; suspects: [HID_ZEROPLUS 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 6686f2996d23ab0b94151843024f466a3a264f34 testing commit 6686f2996d23ab0b94151843024f466a3a264f34 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0940d1b7e85f770507423c9c7033d296bb6027af110caae741c6636843669cd1 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: 2h46m39.600097208s (build: 1h22m2.185270183s, test: 39m32.696714781s) crash still not fixed or there were kernel test errors commit msg: Revert "net: net_namespace: Optimize the code" 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 1160bd067 P4D 1160bd067 PUD 10da16067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 482 Comm: syz.2.15 Not tainted 5.10.234-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2908 [inline] RIP: 0010:update_sit_entry+0x116/0x340 fs/f2fs/segment.c:2339 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 ac 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 30 06 00 00 01 48 RSP: 0018:ffffc900007a7740 EFLAGS: 00010246 RAX: 000000000000000b RBX: ffff8881168df000 RCX: 0000000000000080 RDX: ffff888116609580 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900007a7780 R08: 0000000000000001 R09: ffffffff82f8a220 R10: 000000000000000a R11: ffff88810ddb224a R12: 0000000000000001 R13: ffff8881160781b8 R14: 000000000000000b R15: 0000000000000000 FS: 00007f1adf7886c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000116a1b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x67e/0xbc0 fs/f2fs/segment.c:3481 __allocate_data_block+0x125/0x230 fs/f2fs/data.c:1407 f2fs_map_blocks+0x6c2/0xd80 fs/f2fs/data.c:1575 f2fs_iomap_begin+0x9b/0x1b0 fs/f2fs/data.c:4118 iomap_apply+0x8b/0x320 fs/iomap/apply.c:46 __iomap_dio_rw+0x1ef/0x4e0 fs/iomap/direct-io.c:527 f2fs_dio_write_iter+0x14b/0x6d0 fs/f2fs/file.c:4743 f2fs_file_write_iter+0x4c7/0x530 fs/f2fs/file.c:4858 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x105/0x190 fs/read_write.c:518 vfs_write+0x1fb/0x290 fs/read_write.c:605 ksys_write+0x62/0xe0 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x15/0x20 fs/read_write.c:667 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1adfd2a809 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:00007f1adf788058 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1adfef0080 RCX: 00007f1adfd2a809 RDX: 000000000000003b RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f1adfd9d93e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1adfef0080 R15: 00007ffcccbeca78 Modules linked in: CR2: 0000000000000000 ---[ end trace d368ebde113e3a7a ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2908 [inline] RIP: 0010:update_sit_entry+0x116/0x340 fs/f2fs/segment.c:2339 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 ac 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 30 06 00 00 01 48 RSP: 0018:ffffc900007a7740 EFLAGS: 00010246 RAX: 000000000000000b RBX: ffff8881168df000 RCX: 0000000000000080 RDX: ffff888116609580 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900007a7780 R08: 0000000000000001 R09: ffffffff82f8a220 R10: 000000000000000a R11: ffff88810ddb224a R12: 0000000000000001 R13: ffff8881160781b8 R14: 000000000000000b R15: 0000000000000000 FS: 00007f1adf7886c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000116a1b000 CR4: 00000000003506b0 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 ac 07 00 00 mov 0x7ac(%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 30 06 00 00 01 subl $0x1,0x630(%rbx) 3f: 48 rex.W