ci2 starts bisection 2023-09-26 04:06:58.362041994 +0000 UTC m=+1108150.391216097 bisecting fixing commit since 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 building syzkaller on babc43895723dd9cfadab49eeb039b9e06b89af7 ensuring issue is reproducible on original commit 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 testing commit 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 264d111ba049b09b23b7152584fc72251a9aaa6e4691693e1cbfc9089935a000 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 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 16a2a8a53bf14ce6bc3cec340723eed9aedce6776e675cd0bdf4f6e939a34533 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=5179 full=6520 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c52118f26ade286bfdb55f2d805ad420f67b51e88b19ff7b65e89981c5d34c4c 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 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dfab916187e9b1f5b8b2ba114d263077c92032352b70b95e6b2b0b50973ef192 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 465e642a10b7aa17a33d711d0ec9e4e238f0cc25205366cd17f68535cb2c06d1 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4d33d716cb840c5457230065aeb2ddb4d786c51c8715483b71527aee0373c612 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 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 78fe8913d1b260e0ab179fa50be7bf4d7fd937f1: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: 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 50 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_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_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 b548c046c7de4c427ac5a0d5008a995d5e304f9b testing commit b548c046c7de4c427ac5a0d5008a995d5e304f9b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2bf092288b41a0db7bfb373466d974ca8d0d59f0dec311791986c1c7d5fc734d 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: 51m46.552606238s (build: 25m51.291744675s, test: 23m3.859366245s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: net: prevent skb corruption on frag list segmentation crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach RBP: 00007f39e44ff120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f39e399bf80 R15: 00007ffcb037a238 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 11668e067 P4D 11668e067 PUD 116698067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 481 Comm: syz-executor.0 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:1007 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 dd 95 70 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:ffffc90000a0fca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888115df1030 RCX: ffff88810b02d400 RDX: 00000000ffff9bf8 RSI: ffff888116159300 RDI: 0000000000000000 RBP: ffffc90000a0fce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000a0fdf8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff888115df10d0 R15: 0000000000000000 FS: 00007f39e44ff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001167f1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0xb/0x10 drivers/base/dd.c:1074 proc_ioctl+0x166/0x200 drivers/usb/core/devio.c:2355 usbdev_ioctl+0x1560/0x1fc0 drivers/usb/core/devio.c:2806 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:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f39e387c959 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:00007f39e44ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f39e399bf80 RCX: 00007f39e387c959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000007 RBP: 00007f39e38d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f39e399bf80 R15: 00007ffcb037a238 Modules linked in: CR2: 00000000000000d0 ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:1007 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 dd 95 70 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:ffffc90000a0fca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888115df1030 RCX: ffff88810b02d400 RDX: 00000000ffff9bf8 RSI: ffff888116159300 RDI: 0000000000000000 RBP: ffffc90000a0fce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000a0fdf8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff888115df10d0 R15: 0000000000000000 FS: 00007f39e44ff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001167f1000 CR4: 00000000003506b0 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 dd 95 70 00 call 0x709600 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