ci2 starts bisection 2024-08-14 19:17:23.262032685 +0000 UTC m=+20754.312671455 bisecting fixing commit since dd976ecce2ce969d698599c84c8e7dcbb07c9aaf building syzkaller on d615901c739a765329b688494cee2f8e1b5037cb ensuring issue is reproducible on original commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f2d717792265497dbb79cb850e28d65e02f1ca46f99bbe9b5146eb6e6e64ad2 all runs: crashed: general protection fault in open_or_create_special_dir representative crash: general protection fault in open_or_create_special_dir, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c811261317f7115abf1ad237a9a1ad376a105030f45a9cec8bd028c197a8de63 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, 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=4789 full=6019 leaves diff=238 split chunks (needed=false): <238> split chunk #0 of len 238 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 831c6fe39f89c60eb5cbc15147ce98e99a18c9a62b21899f8f12fa740874c2eb all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c55fde661dc1ef91ac53509dc996099d3eac9008cd0f72e958a3061b43ceb68e all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35599f7002f2dbbef555ec5677bdf59fb53a2bc0e7a3763b4bbb3e6d83079755 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 17e88baf22970a425fdc06b02f039079f24ca89793d3fc827f560a8e70925549 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building dd976ecce2ce969d698599c84c8e7dcbb07c9aaf: 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 46 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 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing current HEAD 0890c03b8b7d395993066728c9607e18df5a2b55 testing commit 0890c03b8b7d395993066728c9607e18df5a2b55 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 03d2faa67da4ffb21ca63c6516ac62e529e1d2e51b34b28c6d026f9fcffc5694 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir representative crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 45m52.893742915s (build: 22m51.358139372s, test: 21m39.493574007s) crash still not fixed or there were kernel test errors commit msg: Revert "scsi: core: Fix a use-after-free" crash: BUG: unable to handle kernel NULL pointer dereference in open_or_create_special_dir BUG: kernel NULL pointer dereference, address: 0000000000000038 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 111bf3067 P4D 111bf3067 PUD 111cbe067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 384 Comm: syz-executor.0 Not tainted 5.10.223-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:open_or_create_special_dir+0x27/0xc0 fs/incfs/vfs.c:453 Code: 00 00 00 55 48 89 e5 41 56 41 55 41 54 53 48 89 d3 4c 8b 6f 30 e8 09 97 ff ff 48 85 c0 74 6f 48 3d 00 f0 ff ff 49 89 c4 77 0a <48> 83 78 30 00 74 0f c6 03 00 5b 4c 89 e0 41 5c 41 5d 41 5e 5d c3 RSP: 0018:ffffc900006cfdb8 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffffc900006cfdef RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000700000000 RDI: ffff888112043ca0 RBP: ffffc900006cfdd8 R08: 0000000000000008 R09: 0000000000000064 R10: ffff8881000446a0 R11: 0000000000007001 R12: 0000000000000008 R13: ffff888112043c00 R14: ffff888111cc1000 R15: ffff888111bd4000 FS: 00007f97c7baf6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000038 CR3: 0000000111c46000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: incfs_mount_fs+0x1af/0x320 fs/incfs/vfs.c:1839 legacy_get_tree+0x26/0x50 fs/fs_context.c:593 vfs_get_tree+0x1a/0x70 fs/super.c:1559 do_new_mount fs/namespace.c:2910 [inline] path_mount+0x2f8/0xb70 fs/namespace.c:3240 do_mount fs/namespace.c:3253 [inline] __do_sys_mount fs/namespace.c:3461 [inline] __se_sys_mount fs/namespace.c:3438 [inline] __x64_sys_mount+0x103/0x140 fs/namespace.c:3438 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f97c804eda9 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:00007f97c7baf0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f97c817d050 RCX: 00007f97c804eda9 RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f97c809b47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f97c817d050 R15: 00007ffe248219c8 Modules linked in: CR2: 0000000000000038 ---[ end trace 06ebca2aed8f65d4 ]--- RIP: 0010:open_or_create_special_dir+0x27/0xc0 fs/incfs/vfs.c:453 Code: 00 00 00 55 48 89 e5 41 56 41 55 41 54 53 48 89 d3 4c 8b 6f 30 e8 09 97 ff ff 48 85 c0 74 6f 48 3d 00 f0 ff ff 49 89 c4 77 0a <48> 83 78 30 00 74 0f c6 03 00 5b 4c 89 e0 41 5c 41 5d 41 5e 5d c3 RSP: 0018:ffffc900006cfdb8 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffffc900006cfdef RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000700000000 RDI: ffff888112043ca0 RBP: ffffc900006cfdd8 R08: 0000000000000008 R09: 0000000000000064 R10: ffff8881000446a0 R11: 0000000000007001 R12: 0000000000000008 R13: ffff888112043c00 R14: ffff888111cc1000 R15: ffff888111bd4000 FS: 00007f97c7baf6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000038 CR3: 0000000111c46000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 55 48 add %dl,0x48(%rbp) 5: 89 e5 mov %esp,%ebp 7: 41 56 push %r14 9: 41 55 push %r13 b: 41 54 push %r12 d: 53 push %rbx e: 48 89 d3 mov %rdx,%rbx 11: 4c 8b 6f 30 mov 0x30(%rdi),%r13 15: e8 09 97 ff ff call 0xffff9723 1a: 48 85 c0 test %rax,%rax 1d: 74 6f je 0x8e 1f: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 25: 49 89 c4 mov %rax,%r12 28: 77 0a ja 0x34 * 2a: 48 83 78 30 00 cmpq $0x0,0x30(%rax) <-- trapping instruction 2f: 74 0f je 0x40 31: c6 03 00 movb $0x0,(%rbx) 34: 5b pop %rbx 35: 4c 89 e0 mov %r12,%rax 38: 41 5c pop %r12 3a: 41 5d pop %r13 3c: 41 5e pop %r14 3e: 5d pop %rbp 3f: c3 ret