ci2 starts bisection 2024-05-23 19:22:30.026098297 +0000 UTC m=+42424.280799038 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: 500d93ffcc41f38fb48ef3559dd614a4814c53e3ffd46ef5758d05a1158e65b0 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: b886ec89e6394b3f73a7ca5e4c77bf4073d50898b419b2646d36581912c91092 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 [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: 038a475af6c8dffb700645caa84b15b319f92b0d862eac10b2026447582711d0 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: 506ab4d170a8707ec7c5fc6df4fa3c6edfe3548fd8a75d464c3b1a19b2ac72e3 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 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 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 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 [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: 862117c620d099aebca18989ed13a94763c49f851d7dcb861b07fb67c2622dba 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: 1f662ec169cd05c6362018211985301727c78bdbbc1c2d30f95fc0c332aa9ed0 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 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 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 kernfs_find_ns, 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 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD a8e7f812fbc15d931311179614ea38730b6bcf09 testing commit a8e7f812fbc15d931311179614ea38730b6bcf09 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e42adce962ca466211be746e5b67a81310468cd4ff79b84d473796ce51ffc06 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 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: 2h36m30.899841358s (build: 1h58m8.095344339s, test: 29m10.475744674s) crash still not fixed or there were kernel test errors commit msg: ANDROID: cpufreq: brcmstb-avs-cpufreq: fix build error 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 111f06067 P4D 111f06067 PUD 111f0a067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 351 Comm: syz-executor.0 Not tainted 5.10.214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 ee 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:ffffc9000061fe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810cf2d000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810cf2d108 RBP: ffffc9000061fe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff888102b850c0 R11: 0000000000000000 R12: ffff88810cf2d068 R13: ffff88810cf2d108 R14: ffff88810cf2d488 R15: 0000000000000000 FS: 00007f5da8ca26c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000111ef9000 CR4: 00000000003506a0 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:0x7f5da9141da9 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:00007f5da8ca20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5da9270050 RCX: 00007f5da9141da9 RDX: 000000000000000b RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007f5da918e47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5da9270050 R15: 00007ffda9a137d8 Modules linked in: CR2: 00000000000000d0 ---[ end trace 67b0837323108010 ]--- 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 ee 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:ffffc9000061fe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810cf2d000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810cf2d108 RBP: ffffc9000061fe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff888102b850c0 R11: 0000000000000000 R12: ffff88810cf2d068 R13: ffff88810cf2d108 R14: ffff88810cf2d488 R15: 0000000000000000 FS: 00007f5da8ca26c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000111ef9000 CR4: 00000000003506a0 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 ee 62 00 call 0x62ee7f 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