ci2 starts bisection 2023-10-01 10:12:03.926709453 +0000 UTC m=+157334.719958541 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: 4b09053b69304b82c3fe7908131debb1d31237a90d60341c899f84af0e8e2909 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 [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: 9aaac4340dda8ae3ce849c06118ce803012f846331921bcff7fa7d4489c12c7c 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], 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: 95a4d68501e8ec846eb8b1255c772bdbed44c829c9b62edeee992dcbc6b32532 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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: a8d06920bb80fb6b01ae0f8a8925ab05a5035582ae1213a37eee779290794247 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: 008b3410fe740ca8139b3ab809f079854f3cbdbdcba5fc8259be8b706c052dc7 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 [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: 3a2b891dc2eb125cf0df326055a7d9498ced61932596c48513f869acc83b3d1c 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: 21d30219bea9d36ca2fb34055eb26a23abe7db07de0e6efa2496794773840fb6 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: 34m29.500235933s (build: 12m55.731874315s, test: 19m47.94627644s) 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 __device_attach BUG: kernel NULL pointer dereference, address: 00000000000000d0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 113f7e067 P4D 113f7e067 PUD 113dc4067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 461 Comm: syz-executor.3 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 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 ee 05 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:ffffc90000817da8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881063f3ca0 RDX: 00000000ffff9b41 RSI: ffff888113bfb780 RDI: 0000000000000000 RBP: ffffc90000817de0 R08: ffff8881137d0c00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881137d0c30 R13: 00000000fffffff0 R14: ffff8881137d0cd0 R15: ffff88810878a228 FS: 00007f2cb7e076c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000113dd6000 CR4: 00000000003506a0 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:0x7f2cb8284959 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:00007f2cb7e070c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2cb83a3f80 RCX: 00007f2cb8284959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007f2cb82e0c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2cb83a3f80 R15: 00007fff85159938 Modules linked in: CR2: 00000000000000d0 ---[ end trace a9f1b51b22a602b5 ]--- 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 ee 05 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:ffffc90000817da8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881063f3ca0 RDX: 00000000ffff9b41 RSI: ffff888113bfb780 RDI: 0000000000000000 RBP: ffffc90000817de0 R08: ffff8881137d0c00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881137d0c30 R13: 00000000fffffff0 R14: ffff8881137d0cd0 R15: ffff88810878a228 FS: 00007f2cb7e076c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000113dd6000 CR4: 00000000003506a0 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 ee 05 68 00 call 0x680613 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