ci2 starts bisection 2024-07-01 05:11:05.858834025 +0000 UTC m=+228816.357176928 bisecting fixing commit since 2730733d54b61c35b835ce5c21fab0e280e52577 building syzkaller on cc4a4020ecb6d62110981f597feea0c04a643efa ensuring issue is reproducible on original commit 2730733d54b61c35b835ce5c21fab0e280e52577 testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f1536cfc5401e7c0262e899b994668b5eb862fbae7cf88a8ca9b5b1b292397ac all runs: 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42103658e3114c80883bb786cef75d982874425169a80e0dc9e8320ff63162c1 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=5179 full=6492 leaves diff=255 split chunks (needed=false): <255> split chunk #0 of len 255 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 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 40085f0cb892814325834277369a2c19110859c3f37d6851f96ceff5f1f4728e 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 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cb7cfd1248597aff2a567ed64dc18c8d7b674958d5b3b5e9fe06d9dfef692c65 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7578803602a8c82752361208e1c1020086a9ac1ce2be30b02e9e6eae4a7e51da 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 237a188dab4f84ebcbb8079a20c2857946671f79be16d62181b6acd36522684f 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 2730733d54b61c35b835ce5c21fab0e280e52577: net/socket.c:1242: undefined reference to `wext_handle_ioctl' net/socket.c:3437: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 51 configs; suspects: [HID_ZEROPLUS 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_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 V4L2_ASYNC V4L2_FWNODE VIDEO_CAMERA_SENSOR WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 76d91af9daec9090bcfc91a5ffdcbd1ba42b0587 testing commit 76d91af9daec9090bcfc91a5ffdcbd1ba42b0587 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 538c49383e36647cda23390472eeb214eb898237fb4ec35bdeb4cffe1a164b7d 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: 1h22m44.444633708s (build: 59m16.245824042s, test: 20m56.651402871s) crash still not fixed or there were kernel test errors commit msg: ANDROID: fix kernelci build breaks due to hid/uhid cyclic dependency crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach RAX: ffffffffffffffda RBX: 00007f31451abf80 RCX: 00007f314507cda9 RDX: 0000000020000040 RSI: 0000000080045505 RDI: 0000000000000003 RBP: 00007f3145d26120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f31451abf80 R15: 00007ffc981e1d38 usb usb5: 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 1156fa067 P4D 1156fa067 PUD 117aff067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 446 Comm: syz-executor.3 Not tainted 6.1.78-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:1014 Code: 18 41 89 f4 48 89 fb 65 48 8b 04 25 28 00 00 00 48 89 45 d0 4c 8d b7 a0 00 00 00 4c 89 f7 e8 0d 31 71 00 48 8b 7b 68 45 31 ff 87 d0 00 00 00 01 0f 85 2d 01 00 00 48 83 bb 88 00 00 00 00 74 RSP: 0018:ffffc900009fbca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810d72cc30 RCX: ffff88810087f000 RDX: 00000000ffff9c6c RSI: ffff8881178c2600 RDI: 0000000000000000 RBP: ffffc900009fbce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc900009fbdf8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff88810d72ccd0 R15: 0000000000000000 FS: 00007f3145d266c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000117b46000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0xb/0x10 drivers/base/dd.c:1081 proc_ioctl+0x166/0x200 drivers/usb/core/devio.c:2365 usbdev_ioctl+0x1560/0x1fc0 drivers/usb/core/devio.c:2816 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x72/0xc0 fs/ioctl.c:856 __x64_sys_ioctl+0x18/0x20 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f314507cda9 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:00007f3145d260c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f31451abf80 RCX: 00007f314507cda9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000005 RBP: 00007f31450c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f31451abf80 R15: 00007ffc981e1d38 Modules linked in: CR2: 00000000000000d0 ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:1014 Code: 18 41 89 f4 48 89 fb 65 48 8b 04 25 28 00 00 00 48 89 45 d0 4c 8d b7 a0 00 00 00 4c 89 f7 e8 0d 31 71 00 48 8b 7b 68 45 31 ff 87 d0 00 00 00 01 0f 85 2d 01 00 00 48 83 bb 88 00 00 00 00 74 RSP: 0018:ffffc900009fbca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810d72cc30 RCX: ffff88810087f000 RDX: 00000000ffff9c6c RSI: ffff8881178c2600 RDI: 0000000000000000 RBP: ffffc900009fbce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc900009fbdf8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff88810d72ccd0 R15: 0000000000000000 FS: 00007f3145d266c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000117b46000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 18 41 89 sbb %al,-0x77(%rcx) 3: f4 hlt 4: 48 89 fb mov %rdi,%rbx 7: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax e: 00 00 10: 48 89 45 d0 mov %rax,-0x30(%rbp) 14: 4c 8d b7 a0 00 00 00 lea 0xa0(%rdi),%r14 1b: 4c 89 f7 mov %r14,%rdi 1e: e8 0d 31 71 00 call 0x713130 23: 48 8b 7b 68 mov 0x68(%rbx),%rdi 27: 45 31 ff xor %r15d,%r15d * 2a: f6 87 d0 00 00 00 01 testb $0x1,0xd0(%rdi) <-- trapping instruction 31: 0f 85 2d 01 00 00 jne 0x164 37: 48 83 bb 88 00 00 00 cmpq $0x0,0x88(%rbx) 3e: 00 3f: 74 .byte 0x74