ci2 starts bisection 2024-04-19 04:46:31.007087612 +0000 UTC m=+76714.496026201 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: 079703d8116a5edca7f954dedf7306a5206efb4d791c39a28e4857f7a318b28c 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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: d0ec733aa406629449dc224dc9d7d748bd875932e5f06d3f5530cb15c3b0d775 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], 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: 5dfef2a597d73def540f38b2e635ae790e71fb1e3c0124ba15ed7376dc8d22f1 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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: d8b9a7b71c129873454d0fa8795c56b8200c858c937e2aafef3948857cdfa819 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 del_gendisk 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 kernfs_find_ns 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 del_gendisk 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 del_gendisk 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: 720faaf4b6e0df64505a2817db7a075fb647b725dcf614d5c3f76dc3cd9e62d1 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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: b4a87643f4fb19cabfe486d91f6e8a718317166541807496523ba52de33f4825 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 kernfs_find_ns run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk 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 del_gendisk 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 del_gendisk representative crash: BUG: unable to handle kernel NULL pointer dereference in del_gendisk, 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 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing current HEAD d82f901b3eb55d60b6c1d559c71a5b3b2baadaa3 testing commit d82f901b3eb55d60b6c1d559c71a5b3b2baadaa3 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22641b5aac6e13245ca810576b0c57516e447d34c2e46c37a6873f12c7610889 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 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 del_gendisk run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns 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 del_gendisk run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in del_gendisk 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: 1h3m6.909702764s (build: 23m9.270105922s, test: 38m18.468552042s) crash still not fixed or there were kernel test errors commit msg: Merge 9de69732dde4 ("dmaengine: fix NULL pointer in channel unregistration function") into android13-5.10-lts 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 110b17067 P4D 110b17067 PUD 110b1b067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 355 Comm: syz-executor.0 Not tainted 5.10.209-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kill_device drivers/base/core.c:3369 [inline] RIP: 0010:device_del+0x3b/0x3b0 drivers/base/core.c:3397 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 5a dd 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:ffffc900005bfe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110aa5000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888110aa5108 RBP: ffffc900005bfe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff88810956b300 R11: 000000000000fc01 R12: ffff888110aa5068 R13: ffff888110aa5108 R14: ffff888110aa5488 R15: 0000000000000000 FS: 00007f65ff31f6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000110b0a000 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/0xc6 RIP: 0033:0x7f65ff7beda9 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:00007f65ff31f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f65ff8ed050 RCX: 00007f65ff7beda9 RDX: 000000000000000b RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007f65ff80b47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f65ff8ed050 R15: 00007ffe3421b6e8 Modules linked in: CR2: 00000000000000d0 ---[ end trace c569283e096facaf ]--- RIP: 0010:kill_device drivers/base/core.c:3369 [inline] RIP: 0010:device_del+0x3b/0x3b0 drivers/base/core.c:3397 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 5a dd 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:ffffc900005bfe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110aa5000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888110aa5108 RBP: ffffc900005bfe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff88810956b300 R11: 000000000000fc01 R12: ffff888110aa5068 R13: ffff888110aa5108 R14: ffff888110aa5488 R15: 0000000000000000 FS: 00007f65ff31f6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000110b0a000 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 5a dd 62 00 call 0x62dd7f 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