ci2 starts bisection 2023-09-11 07:30:33.493660323 +0000 UTC m=+235221.766984976 bisecting fixing commit since 241da2ad56013ea077895b8498d7fcbbe770ae4c building syzkaller on bfc478367b83b3fda580f54964aa9f3651beeb3d ensuring issue is reproducible on original commit 241da2ad56013ea077895b8498d7fcbbe770ae4c testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f54ed0320ea71a87f9dbaef5200759f2465aa003e457c1ceb7b95c421dcba6de all runs: crashed: general protection fault in do_unlinkat representative crash: general protection fault in do_unlinkat, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c225b1d05508de79e085d3b9fddbb9f579feedea9d54f348021370ca904f735b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=4920 full=6162 leaves diff=240 split chunks (needed=false): <240> split chunk #0 of len 240 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 06ed4a9f58fbdc0f6a65a386289cd08e49cfee04e89390cb15c3f1e81eb4516a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e669819f9bd1b8d5cf5ddbb822de8b8a4728fdd42008af30fe81a3ed82223ac8 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, 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 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f095ad1eb056f8413eb7a06cbb42265cf1a8c5fb69199fdad01b5f55a212d09 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 783ce9e94c7869ec37ef45bdcd99db38cc45c3fd93177ed3344a2e195bbd4953 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 241da2ad56013ea077895b8498d7fcbbe770ae4c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 241da2ad56013ea077895b8498d7fcbbe770ae4c: 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 48 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 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 ea586874d2f9e501ef84b7e55036fc8965397d5d testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36b5e079dead78f7727360a92a076c23c65c9fe4c01d9d077c5fa90d12384fb6 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat representative crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 32m50.874956609s (build: 12m1.063153831s, test: 19m11.013212776s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.131 into android13-5.15-lts crash: BUG: unable to handle kernel NULL pointer dereference in do_unlinkat BUG: kernel NULL pointer dereference, address: 0000000000000002 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 112a13067 P4D 112a13067 PUD 112a17067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 351 Comm: syz-executor.0 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:do_unlinkat+0x132/0x2a0 fs/namei.c:4270 Code: 48 81 c7 a0 00 00 00 e8 cc 70 a9 00 48 8b 75 b8 48 8d 7d c0 89 da e8 ed 89 ff ff 48 3d 00 f0 ff ff 49 89 c7 0f 87 44 01 00 00 <8b> 00 8b 4d c4 48 8b 75 c8 89 c2 81 e2 00 00 70 00 80 3c 0e 00 0f RSP: 0018:ffffc900003d3eb0 EFLAGS: 00010203 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000400000000 RDX: 0000000000000003 RSI: 0000000300000000 RDI: ffff888101bf3780 RBP: ffffc900003d3f18 R08: 0000000000000004 R09: 0000000000000064 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888107de2000 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f627a12b6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000002 CR3: 00000001139e0000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_unlink fs/namei.c:4325 [inline] __se_sys_unlink fs/namei.c:4323 [inline] __x64_sys_unlink+0x3d/0x60 fs/namei.c:4323 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f627a5a8b29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f627a12b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f627a6c7f80 RCX: 00007f627a5a8b29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f627a5f447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f627a6c7f80 R15: 00007fff467db7e8 Modules linked in: CR2: 0000000000000002 ---[ end trace 34401e4b169783c4 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:do_unlinkat+0x132/0x2a0 fs/namei.c:4270 Code: 48 81 c7 a0 00 00 00 e8 cc 70 a9 00 48 8b 75 b8 48 8d 7d c0 89 da e8 ed 89 ff ff 48 3d 00 f0 ff ff 49 89 c7 0f 87 44 01 00 00 <8b> 00 8b 4d c4 48 8b 75 c8 89 c2 81 e2 00 00 70 00 80 3c 0e 00 0f RSP: 0018:ffffc900003d3eb0 EFLAGS: 00010203 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000400000000 RDX: 0000000000000003 RSI: 0000000300000000 RDI: ffff888101bf3780 RBP: ffffc900003d3f18 R08: 0000000000000004 R09: 0000000000000064 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888107de2000 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f627a12b6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000002 CR3: 00000001139e0000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 81 c7 a0 00 00 00 add $0xa0,%rdi 7: e8 cc 70 a9 00 call 0xa970d8 c: 48 8b 75 b8 mov -0x48(%rbp),%rsi 10: 48 8d 7d c0 lea -0x40(%rbp),%rdi 14: 89 da mov %ebx,%edx 16: e8 ed 89 ff ff call 0xffff8a08 1b: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 21: 49 89 c7 mov %rax,%r15 24: 0f 87 44 01 00 00 ja 0x16e * 2a: 8b 00 mov (%rax),%eax <-- trapping instruction 2c: 8b 4d c4 mov -0x3c(%rbp),%ecx 2f: 48 8b 75 c8 mov -0x38(%rbp),%rsi 33: 89 c2 mov %eax,%edx 35: 81 e2 00 00 70 00 and $0x700000,%edx 3b: 80 3c 0e 00 cmpb $0x0,(%rsi,%rcx,1) 3f: 0f .byte 0xf