ci2 starts bisection 2024-03-02 12:15:33.514827393 +0000 UTC m=+36856.067715003 bisecting fixing commit since 19c0ed55a470d1cd766484abab04871b648560fb building syzkaller on babc43895723dd9cfadab49eeb039b9e06b89af7 ensuring issue is reproducible on original commit 19c0ed55a470d1cd766484abab04871b648560fb testing commit 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e295391ddf6c2d63ad016fdf74225571f63baca24cc441174dc963c7c807da9 run #0: basic kernel testing failed: lost connection to test machine run #1: crashed: general protection fault in __device_attach run #2: crashed: general protection fault in __device_attach run #3: crashed: general protection fault in __device_attach run #4: crashed: general protection fault in __device_attach run #5: crashed: general protection fault in __device_attach run #6: crashed: general protection fault in __device_attach run #7: crashed: general protection fault in __device_attach run #8: crashed: general protection fault in __device_attach run #9: crashed: general protection fault in __device_attach run #10: crashed: general protection fault in __device_attach run #11: crashed: general protection fault in __device_attach run #12: crashed: general protection fault in __device_attach run #13: crashed: general protection fault in __device_attach run #14: crashed: general protection fault in __device_attach run #15: crashed: general protection fault in __device_attach run #16: crashed: general protection fault in __device_attach run #17: crashed: general protection fault in __device_attach run #18: crashed: general protection fault in __device_attach run #19: crashed: general protection fault in __device_attach representative crash: general protection fault in __device_attach, 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 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e13111d7fbea3a75024bdd340aae5d42c20cd62c998741eee1027fff562ef72d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, 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=6166 leaves diff=244 split chunks (needed=false): <244> split chunk #0 of len 244 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 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 43f8fbf56238987094f154555bc9f59df2d52bd7fcd7b9e8bb043b43ecee388f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 45aa79d7f2abc3f1e16ff003f025b898c18a64b73f7a99da1a9bf3bd97d1069b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, 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 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d231187e998490205eeaa6fa8845a9d8c9b309fa097e362a68afa619317c3559 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, 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 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77b9c37a744cc15629deb8e95b4a4ad8c0357e417e27cbc42c3e28058560afb5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, 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 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 19c0ed55a470d1cd766484abab04871b648560fb: 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 993bed180178156a70afdafe8aaf23a117107352 testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2cd734cfa1b4d990f65bc4d2c5182c27aa901ccea03769494248f59a48246285 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __device_attach representative crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h11m8.275019639s (build: 26m14.079877066s, test: 42m53.46715053s) crash still not fixed or there were kernel test errors commit msg: Merge "Merge branch 'android13-5.15' into branch 'android13-5.15-lts'" into android13-5.15-lts crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f09c4fe5f80 R15: 00007ffd6ad2da08 usb usb4: device_add((null)) --> -22 BUG: kernel NULL pointer dereference, address: 00000000000000d0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1154da067 P4D 1154da067 PUD 1154de067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 387 Comm: syz-executor.1 Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__device_attach+0x37/0x1f0 drivers/base/dd.c:955 Code: 41 55 41 54 49 89 fc 4c 89 f7 53 89 f3 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 e8 3e 2f 68 00 49 8b 7c 24 68 87 d0 00 00 00 01 0f 85 23 01 00 00 49 83 bc 24 88 00 00 00 00 RSP: 0018:ffffc900004f3da8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888106be80a0 RDX: 00000000ffff9c3e RSI: ffff888115469280 RDI: 0000000000000000 RBP: ffffc900004f3de0 R08: ffff8881150b1800 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881150b1830 R13: 00000000fffffff0 R14: ffff8881150b18d0 R15: ffff888106bedec8 FS: 00007f09c4a496c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001154ce000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0xb/0x10 drivers/base/dd.c:1022 proc_ioctl.part.0+0x1b9/0x1d0 drivers/usb/core/devio.c:2354 proc_ioctl drivers/usb/core/devio.c:170 [inline] proc_ioctl_default drivers/usb/core/devio.c:2389 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2745 [inline] usbdev_ioctl+0x6ab/0x1100 drivers/usb/core/devio.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x89/0xc0 fs/ioctl.c:860 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:0x7f09c4ec6959 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:00007f09c4a490c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f09c4fe5f80 RCX: 00007f09c4ec6959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000007 RBP: 00007f09c4f22c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f09c4fe5f80 R15: 00007ffd6ad2da08 Modules linked in: CR2: 00000000000000d0 ---[ end trace 19c02b7fe4810fad ]--- RIP: 0010:__device_attach+0x37/0x1f0 drivers/base/dd.c:955 Code: 41 55 41 54 49 89 fc 4c 89 f7 53 89 f3 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 e8 3e 2f 68 00 49 8b 7c 24 68 87 d0 00 00 00 01 0f 85 23 01 00 00 49 83 bc 24 88 00 00 00 00 RSP: 0018:ffffc900004f3da8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888106be80a0 RDX: 00000000ffff9c3e RSI: ffff888115469280 RDI: 0000000000000000 RBP: ffffc900004f3de0 R08: ffff8881150b1800 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881150b1830 R13: 00000000fffffff0 R14: ffff8881150b18d0 R15: ffff888106bedec8 FS: 00007f09c4a496c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001154ce000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 55 push %r13 2: 41 54 push %r12 4: 49 89 fc mov %rdi,%r12 7: 4c 89 f7 mov %r14,%rdi a: 53 push %rbx b: 89 f3 mov %esi,%ebx d: 48 83 ec 18 sub $0x18,%rsp 11: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 18: 00 00 1a: 48 89 45 d8 mov %rax,-0x28(%rbp) 1e: 31 c0 xor %eax,%eax 20: e8 3e 2f 68 00 call 0x682f63 25: 49 8b 7c 24 68 mov 0x68(%r12),%rdi * 2a: f6 87 d0 00 00 00 01 testb $0x1,0xd0(%rdi) <-- trapping instruction 31: 0f 85 23 01 00 00 jne 0x15a 37: 49 83 bc 24 88 00 00 cmpq $0x0,0x88(%r12) 3e: 00 00