ci2 starts bisection 2024-07-20 23:09:42.214790395 +0000 UTC m=+60134.800508390 bisecting fixing commit since dd976ecce2ce969d698599c84c8e7dcbb07c9aaf building syzkaller on 25905f5d0a2a7883bd33491997556193582c6059 ensuring issue is reproducible on original commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e1d32b99ce6a1a3233a8a5102ba743d7ee3996e6ae429d49a89b2e2a6193537b all runs: crashed: general protection fault in kernfs_name_hash representative crash: general protection fault in kernfs_name_hash, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b0c2ca354c756214ca66d51d144c33e8e7c50164149021fc333f6c20730b3e1 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns, 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=4789 full=6019 leaves diff=238 split chunks (needed=false): <238> split chunk #0 of len 238 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 dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c2b2e9021c9aecf900337ab354c06f277349cbf4ebdd3718ba6cbbb1cd6789e all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee1b22ae613088a65433df3564cb475d8bdb19a63e58da88a7f3c857ae1a141a run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in del_gendisk, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 17f415165db6edc07740a0b789744b54f884393da7a11290c12aa7eaee1b5d1e all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns, 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 dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 739cfe77492e835984c527e9f339bfee3a26943948636534c0298c2eb0d5ec5b run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building dd976ecce2ce969d698599c84c8e7dcbb07c9aaf: net/socket.c:1128: undefined reference to `wext_handle_ioctl' net/socket.c:3397: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 46 configs; suspects: [HID_ZEROPLUS 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing current HEAD 1240968f76440c63b615ebded66d5e68ef134834 testing commit 1240968f76440c63b615ebded66d5e68ef134834 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ff94e09101b18094241b8b1cc0e9399e34816684190e06aeddb0300b9b366f1 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in del_gendisk, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 57m43.697825022s (build: 24m11.973348789s, test: 32m4.734245198s) crash still not fixed or there were kernel test errors commit msg: ANDROID: fix build error in ksz9477.c crash: BUG: unable to handle kernel NULL pointer dereference in del_gendisk BUG: kernel NULL pointer dereference, address: 00000000000000d0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1092c1067 P4D 1092c1067 PUD 109275067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 355 Comm: syz-executor.0 Not tainted 5.10.221-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kill_device drivers/base/core.c:3387 [inline] RIP: 0010:device_del+0x3b/0x3b0 drivers/base/core.c:3415 Code: 41 54 49 89 fc 53 48 83 ec 18 4c 8b 7f 60 4c 89 ef 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 e8 4a fb 62 00 49 8b 54 24 68 <0f> b6 82 d0 00 00 00 a8 01 75 09 83 c8 01 88 82 d0 00 00 00 4c 89 RSP: 0018:ffffc900005efe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110422000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888110422108 RBP: ffffc900005efe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff888102bfedc0 R11: 0000000000000000 R12: ffff888110422068 R13: ffff888110422108 R14: ffff888110422488 R15: 0000000000000000 FS: 00007f3241cc16c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000110d39000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: del_gendisk+0x207/0x2c0 block/genhd.c:953 loop_remove drivers/block/loop.c:2210 [inline] loop_control_ioctl drivers/block/loop.c:2309 [inline] loop_control_ioctl+0x14e/0x1b0 drivers/block/loop.c:2275 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x89/0xc0 fs/ioctl.c:739 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3242160da9 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:00007f3241cc10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f324228f050 RCX: 00007f3242160da9 RDX: 000000000000000b RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007f32421ad47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f324228f050 R15: 00007ffd0c0cbea8 Modules linked in: CR2: 00000000000000d0 ---[ end trace 878da21d9cc4f6a1 ]--- RIP: 0010:kill_device drivers/base/core.c:3387 [inline] RIP: 0010:device_del+0x3b/0x3b0 drivers/base/core.c:3415 Code: 41 54 49 89 fc 53 48 83 ec 18 4c 8b 7f 60 4c 89 ef 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 e8 4a fb 62 00 49 8b 54 24 68 <0f> b6 82 d0 00 00 00 a8 01 75 09 83 c8 01 88 82 d0 00 00 00 4c 89 RSP: 0018:ffffc900005efe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110422000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888110422108 RBP: ffffc900005efe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff888102bfedc0 R11: 0000000000000000 R12: ffff888110422068 R13: ffff888110422108 R14: ffff888110422488 R15: 0000000000000000 FS: 00007f3241cc16c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000110d39000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 54 push %r12 2: 49 89 fc mov %rdi,%r12 5: 53 push %rbx 6: 48 83 ec 18 sub $0x18,%rsp a: 4c 8b 7f 60 mov 0x60(%rdi),%r15 e: 4c 89 ef mov %r13,%rdi 11: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 18: 00 00 1a: 48 89 45 d0 mov %rax,-0x30(%rbp) 1e: 31 c0 xor %eax,%eax 20: e8 4a fb 62 00 call 0x62fb6f 25: 49 8b 54 24 68 mov 0x68(%r12),%rdx * 2a: 0f b6 82 d0 00 00 00 movzbl 0xd0(%rdx),%eax <-- trapping instruction 31: a8 01 test $0x1,%al 33: 75 09 jne 0x3e 35: 83 c8 01 or $0x1,%eax 38: 88 82 d0 00 00 00 mov %al,0xd0(%rdx) 3e: 4c rex.WR 3f: 89 .byte 0x89