ci2 starts bisection 2024-04-09 01:46:38.120853951 +0000 UTC m=+97.007831484 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: 65430102349eb33c0fe07d1426bc94d73222756c360de374463efb0aacb9c130 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 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 848ca0bcbe312b0884f964409ed22e651b022fe502ee99efed80eddc85efddab 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: bccea16ad01957d96051ce7763e9de1a7c8645a9c3bfe71db220ddafadfe4224 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 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0bc75ec78f70d09fd628e56cf20e0f512be2abb7dc2737614f0bf9955f01c1a1 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 [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: 5c61855c8be57e201450d104b3c6d791cdb6bb334ca6eecd04f28b306e31bcd3 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 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea458080f72aec22f908eacf1ad34a737ca50d93d979467a85a9f66fe4b6b07a 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 338203a817216e1cd81b7a19f734f58cf59ff658 testing commit 338203a817216e1cd81b7a19f734f58cf59ff658 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42ce1a756e9d4f9045973001abb3b252e0708bd403d4d5992a464cc4023dca0a 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: 3h30m36.474982701s (build: 56m48.126557041s, test: 34m21.696174904s) crash still not fixed or there were kernel test errors commit msg: BACKPORT: mm: update mark_victim tracepoints fields crash: BUG: unable to handle kernel NULL pointer dereference in __device_attach R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f3e739abf80 R15: 00007fff41bb6f98 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 1164a5067 P4D 1164a5067 PUD 10e774067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 699 Comm: syz-executor.4 Not tainted 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 8d 2f 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:ffffc90001643ca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881009f5c30 RCX: ffff8881009f5800 RDX: 00000000ffff9de4 RSI: ffff888115e74c00 RDI: 0000000000000000 RBP: ffffc90001643ce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90001643df8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff8881009f5cd0 R15: 0000000000000000 FS: 00007f3e7465c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 000000010e781000 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:0x7f3e7387cda9 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:00007f3e7465c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3e739abf80 RCX: 00007f3e7387cda9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000005 RBP: 00007f3e738c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3e739abf80 R15: 00007fff41bb6f98 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 8d 2f 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:ffffc90001643ca8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881009f5c30 RCX: ffff8881009f5800 RDX: 00000000ffff9de4 RSI: ffff888115e74c00 RDI: 0000000000000000 RBP: ffffc90001643ce8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90001643df8 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffff0 R14: ffff8881009f5cd0 R15: 0000000000000000 FS: 00007f3e7465c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 000000010e781000 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 8d 2f 71 00 call 0x712fb0 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