ci2 starts bisection 2025-07-27 14:16:29.401151594 +0000 UTC m=+228007.106612660 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: 5c1135834a8c82252536242e4ef3d8a9644b8aaaa34ed41edafe3cd50637bd55 all runs: crashed: general protection fault in __device_attach representative crash: general protection fault in __device_attach, types: [DoS] check whether we can drop unnecessary instrumentation disabling configs for [kasan locking atomic_sleep hang memleak ubsan bug_or_warning], 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: d700657c31466f8561e52f51f471b567a81b5dde3a067a492dbcc0cfe14be915 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: [NULL-POINTER-DEREFERENCE] the bug reproduces without the instrumentation disabling configs for [hang memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed kconfig minimization: base=4921 full=6166 leaves diff=245 split chunks (needed=false): <245> split chunk #0 of len 245 into 5 parts testing without sub-chunk 1/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning kasan], 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: 3772e8e2a7a34a65883532786f744638b9233ae7dc9b96141d8ffbdade9f80e8 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: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [memleak ubsan bug_or_warning kasan locking 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: 5351fe8448005b6c3e1b977789f5c6810e74733ba03d001568757a5c9688484d 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: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ubsan bug_or_warning kasan locking atomic_sleep hang memleak], 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: 143116e21502a5bad1e1785cd4201d3e29cd77d8d51da6460f4209b971e1ee71 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: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning kasan], 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: f4449dd48b7eb5e0d23d01f0ba9c68b73d11374d447a69019fa1cb440d7d3389 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: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [hang memleak ubsan bug_or_warning kasan locking 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 49 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM 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 memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed testing current HEAD a71626bd56a5492d6fb4b63184db87006490a810 testing commit a71626bd56a5492d6fb4b63184db87006490a810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49989d8537b077c0ff81c1d5bd81a460a125df063b4d35f951870cd1272872f9 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: [NULL-POINTER-DEREFERENCE] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h18m55.921897665s (build: 37m3.337630233s, test: 39m10.22421197s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.189 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 114fd9067 P4D 114fd9067 PUD 114eb4067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 481 Comm: syz-executor.3 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 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 4e e1 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:ffffc9000060fd98 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881033850a0 RDX: 00000000ffffa00b RSI: ffff888115013780 RDI: 0000000000000000 RBP: ffffc9000060fdd0 R08: ffff888114b1dc00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888114b1dc30 R13: 00000000fffffff0 R14: ffff888114b1dcd0 R15: ffff8881035f83c8 FS: 00007f9e5f6f96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000115139000 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 x64_sys_call+0x912/0x990 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9e5fb76959 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:00007f9e5f6f90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9e5fc95f80 RCX: 00007f9e5fb76959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007f9e5fbd2c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9e5fc95f80 R15: 00007fffbdb00378 Modules linked in: CR2: 00000000000000d0 ---[ end trace 18d1defff97cc7f7 ]--- 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 4e e1 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:ffffc9000060fd98 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881033850a0 RDX: 00000000ffffa00b RSI: ffff888115013780 RDI: 0000000000000000 RBP: ffffc9000060fdd0 R08: ffff888114b1dc00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888114b1dc30 R13: 00000000fffffff0 R14: ffff888114b1dcd0 R15: ffff8881035f83c8 FS: 00007f9e5f6f96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000115139000 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 4e e1 68 00 call 0x68e173 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