ci2 starts bisection 2023-08-16 01:54:29.589227825 +0000 UTC m=+385563.287796764 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: e93077344fa45b33fa0e6fc478675f1b2c29ebb4d091cb2ed30a5618a4d25bdd 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: c2578be04480e9e7600395af0c89117d751b64b1b3a5796853d64d5786bcca87 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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 [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: cad82170998e0a2439a4353d8501112b45df5979aba792629a19806e65289dcd 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: 31e596b23a8167dd36d365d7b2e24cf9fdcf4c04dba06ee6f18e89136b2ec172 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 [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: 13b39185f5b55ad3f102e4617a9bffb1d39ce34cdabcccb3cda69c64f265acbd 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 [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: dafc41191ce87963a00549d5e87f196a205fd11bf4606b85419c869e3e5466d6 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing current HEAD 683966ac69a05c07817ed4a8f4c4c44601adc133 testing commit 683966ac69a05c07817ed4a8f4c4c44601adc133 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b9eef6b3ff6885cebc7690c7ac0d8390ef729bbe7808bdc2317cad492734f362 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: 2h3m29.884043785s (build: 1h38m8.77106546s, test: 20m34.673084921s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: UPSTREAM: mm/mmap: Fix extra maple tree write crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach RAX: ffffffffffffffda RBX: 00007f7e3b39bf80 RCX: 00007f7e3b27c959 RDX: 0000000020000040 RSI: 0000000080045505 RDI: 0000000000000005 RBP: 00007f7e3c052120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f7e3b39bf80 R15: 00007fff6388f448 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 11695c067 P4D 11695c067 PUD 11695f067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 392 Comm: syz-executor.1 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:984 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 3d 8a 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:ffffc90000877ca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811597b030 RCX: ffff888108a2b400 RDX: 00000000ffff9cb4 RSI: ffff888116684c00 RDI: 0000000000000000 RBP: ffffc90000877ce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000877df8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff88811597b0d0 R15: 0000000000000000 FS: 00007f7e3c0526c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 000000011697b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0xb/0x10 drivers/base/dd.c:1051 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:0x7f7e3b27c959 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:00007f7e3c0520c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7e3b39bf80 RCX: 00007f7e3b27c959 RDX: 0000000020000080 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007f7e3b2d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7e3b39bf80 R15: 00007fff6388f448 Modules linked in: CR2: 00000000000000d0 ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0x3a/0x1b0 drivers/base/dd.c:984 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 3d 8a 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:ffffc90000877ca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811597b030 RCX: ffff888108a2b400 RDX: 00000000ffff9cb4 RSI: ffff888116684c00 RDI: 0000000000000000 RBP: ffffc90000877ce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000877df8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff88811597b0d0 R15: 0000000000000000 FS: 00007f7e3c0526c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 000000011697b000 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 3d 8a 70 00 call 0x708a60 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