ci2 starts bisection 2024-09-18 23:07:03.714451874 +0000 UTC m=+203309.204879445 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: a7ca3ef03c4632c96d18fa2902b93abef19a5092838446141d72a55ceea23436 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: eabdd5782dc92daac58495e067b43ec9032f8e626598fa48211d751192cd8c45 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], 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 [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: 4efbf783e067f4945848b0528d16718fd5feb91a5d97fec27bfec55576faae40 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 [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: 467d5c972caa37ed7344b724d4f644012677e3310ff05accda7321f612e43f5a 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 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 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 kernfs_find_ns 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 kernfs_find_ns, 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 dd976ecce2ce969d698599c84c8e7dcbb07c9aaf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf1328c2a662e54f80b99e0f4d53a0fa3a9e0e3da8cc2180db1c35e80853f3d6 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: 76d9f7d88e2c83727c07b7cc7fb9141e7b6c92bad68dac70fc463697951f4e7d 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 kernfs_find_ns 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 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 8d23314f588a573519ab88c332e94c927f870810 testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9097e68fa249372bcfb1982ed4540a77febc6eafc5dbf3a66524bd22baf16169 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 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 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 kernfs_find_ns representative crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 42m29.98366977s (build: 18m16.697730449s, test: 22m45.200965899s) crash still not fixed or there were kernel test errors commit msg: Merge 5.10.225 into android13-5.10-lts crash: BUG: unable to handle kernel NULL pointer dereference in kernfs_find_ns BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 110d38067 P4D 110d38067 PUD 110d3c067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 362 Comm: syz-executor.0 Not tainted 5.10.225-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:strlen+0x0/0x20 lib/string.c:568 Code: f6 82 80 88 6b 82 20 74 11 0f b6 50 01 48 83 c0 01 f6 82 80 88 6b 82 20 75 ef c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31 RSP: 0018:ffffc900005f7dd8 EFLAGS: 00010246 RAX: ffff88810a9fa500 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900005f7df0 R08: 0000000000000008 R09: 0000000000000008 R10: ffff8881091c6e80 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9e6ba8f6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010bb4d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_find_ns.isra.0+0x36/0xa0 fs/kernfs/dir.c:892 kernfs_remove_by_name_ns+0x4f/0xc0 fs/kernfs/dir.c:1595 kernfs_remove_by_name include/linux/kernfs.h:623 [inline] sysfs_remove_link+0x14/0x30 fs/sysfs/symlink.c:152 del_gendisk+0x1f5/0x2c0 block/genhd.c:951 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:0x7f9e6bf2eda9 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:00007f9e6ba8f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9e6c05d050 RCX: 00007f9e6bf2eda9 RDX: 000000000000000b RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007f9e6bf7b47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9e6c05d050 R15: 00007fffd9b25c38 Modules linked in: CR2: 0000000000000000 ---[ end trace 1ca9902b0c5fe5fb ]--- RIP: 0010:strlen+0x0/0x20 lib/string.c:568 Code: f6 82 80 88 6b 82 20 74 11 0f b6 50 01 48 83 c0 01 f6 82 80 88 6b 82 20 75 ef c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31 RSP: 0018:ffffc900005f7dd8 EFLAGS: 00010246 RAX: ffff88810a9fa500 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900005f7df0 R08: 0000000000000008 R09: 0000000000000008 R10: ffff8881091c6e80 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9e6ba8f6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010bb4d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f6 82 80 88 6b 82 20 testb $0x20,-0x7d947780(%rdx) 7: 74 11 je 0x1a 9: 0f b6 50 01 movzbl 0x1(%rax),%edx d: 48 83 c0 01 add $0x1,%rax 11: f6 82 80 88 6b 82 20 testb $0x20,-0x7d947780(%rdx) 18: 75 ef jne 0x9 1a: c3 ret 1b: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 22: 00 00 00 00 26: 0f 1f 40 00 nopl 0x0(%rax) * 2a: 80 3f 00 cmpb $0x0,(%rdi) <-- trapping instruction 2d: 74 10 je 0x3f 2f: 48 89 f8 mov %rdi,%rax 32: 48 83 c0 01 add $0x1,%rax 36: 80 38 00 cmpb $0x0,(%rax) 39: 75 f7 jne 0x32 3b: 48 29 f8 sub %rdi,%rax 3e: c3 ret 3f: 31 .byte 0x31