ci2 starts bisection 2023-02-03 09:59:33.670667764 +0000 UTC m=+27664.539310804 bisecting fixing commit since c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f building syzkaller on f0036e181e274023235289be91e334cb7507eaa6 ensuring issue is reproducible on original commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: Debian clang version 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f25d7cf81f9ea97532d0932a5e26377a222186add404f653914fa3c0cdec6a8a all runs: crashed: general protection fault in __device_attach testing current HEAD 7e0097918ff89c162089316bbffe24b104fb9808 testing commit 7e0097918ff89c162089316bbffe24b104fb9808 gcc compiler: Debian clang version 13.0.1-6~deb11u1, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a355816c362a96112355147570eef61db5d7b78c86cf72fa2bbcbb866c63ed39 all runs: crashed: general protection fault in __device_attach revisions tested: 2, total time: 22m12.81312357s (build: 13m42.227064111s, test: 5m55.352877284s) the crash still happens on HEAD commit msg: Revert "scsi: ufs: core: Fix devfreq deadlocks" crash: general protection fault in __device_attach general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7] CPU: 0 PID: 608 Comm: syz-executor.0 Not tainted 5.15.91-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__device_attach+0xad/0x480 drivers/base/dd.c:950 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 54 30 f0 fe 4c 8b 3b 49 8d 9f d0 00 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 30 03 00 00 45 31 f6 f6 03 01 0f 85 d1 02 RSP: 0018:ffffc90000ddf4e0 EFLAGS: 00010202 RAX: 000000000000001a RBX: 00000000000000d0 RCX: ffff888115a1e180 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90000ddf460 RBP: ffffc90000ddf5b8 R08: dffffc0000000000 R09: fffff520001bbe8d R10: fffff520001bbe8d R11: 1ffff920001bbe8c R12: ffff8881155af830 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f6fbab75700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fbb11e0c0 CR3: 0000000115841000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_attach+0xb/0x10 drivers/base/dd.c:1017 proc_ioctl+0x2ee/0x520 drivers/usb/core/devio.c:2344 usbdev_ioctl+0x355d/0x5ac0 drivers/usb/core/devio.c:2795 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xc7/0x110 fs/ioctl.c:860 __x64_sys_ioctl+0x76/0x80 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f6fbb0020a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6fbab75168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6fbb121f80 RCX: 00007f6fbb0020a9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000003 RBP: 00007f6fbb05dae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8dde80df R14: 00007f6fbab75300 R15: 0000000000022000 Modules linked in: ---[ end trace f8c31d5131d38b42 ]--- RIP: 0010:__device_attach+0xad/0x480 drivers/base/dd.c:950 Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 54 30 f0 fe 4c 8b 3b 49 8d 9f d0 00 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 30 03 00 00 45 31 f6 f6 03 01 0f 85 d1 02 RSP: 0018:ffffc90000ddf4e0 EFLAGS: 00010202 RAX: 000000000000001a RBX: 00000000000000d0 RCX: ffff888115a1e180 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90000ddf460 RBP: ffffc90000ddf5b8 R08: dffffc0000000000 R09: fffff520001bbe8d R10: fffff520001bbe8d R11: 1ffff920001bbe8c R12: ffff8881155af830 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f6fbab75700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fbab33718 CR3: 0000000115841000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 24 68 and $0x68,%al 3: 48 89 d8 mov %rbx,%rax 6: 48 c1 e8 03 shr $0x3,%rax a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) f: 74 08 je 0x19 11: 48 89 df mov %rbx,%rdi 14: e8 54 30 f0 fe callq 0xfef0306d 19: 4c 8b 3b mov (%rbx),%r15 1c: 49 8d 9f d0 00 00 00 lea 0xd0(%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 8a 04 30 mov (%rax,%r14,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 30 03 00 00 jne 0x366 36: 45 31 f6 xor %r14d,%r14d 39: f6 03 01 testb $0x1,(%rbx) 3c: 0f .byte 0xf 3d: 85 d1 test %edx,%ecx 3f: 02 .byte 0x2