ci2 starts bisection 2024-02-12 18:44:01.028936727 +0000 UTC m=+264916.108659698 bisecting fixing commit since a27512601c2d65569fdd5a843246dc8da96b6408 building syzkaller on 8e26a358122e06b336ae4824141abc32e31e3d7a ensuring issue is reproducible on original commit a27512601c2d65569fdd5a843246dc8da96b6408 testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd036770bd82b0a9b0f0aa81e2db31956e5f46f78966f1460c39a40fe64354c1 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in del_gendisk run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in kernfs_name_hash run #4: crashed: general protection fault in del_gendisk run #5: crashed: general protection fault in del_gendisk run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in del_gendisk run #10: crashed: general protection fault in del_gendisk run #11: crashed: general protection fault in kernfs_name_hash run #12: crashed: general protection fault in del_gendisk run #13: crashed: general protection fault in del_gendisk run #14: crashed: general protection fault in del_gendisk run #15: crashed: general protection fault in del_gendisk run #16: crashed: general protection fault in del_gendisk run #17: crashed: general protection fault in del_gendisk run #18: crashed: general protection fault in del_gendisk run #19: crashed: general protection fault in del_gendisk representative crash: general protection fault in del_gendisk, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2702c8c0c421f14ba665e7031e56275bdebea7d97fc822a1a4bec9f6e0bbc04f all runs: 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 bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=4789 full=6024 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 a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d800ec09c25a1ffadc58f25493f81d04fc673df3b46e4fe1b0f9e6197c7ece35 all runs: 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 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 479a6ab1af38fb1bb1150f5741e0d41b464f43f1bceeb966ef623a249c0c499d all runs: 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7961b4fde9661fd2658854581bd961698a899de1f499abd4f87c99472f58b85c all runs: 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 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d878c973be4f8b0a8777db895f7c94d415bec74c5534cc90130e172f2bc72cd all runs: 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit a27512601c2d65569fdd5a843246dc8da96b6408 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building a27512601c2d65569fdd5a843246dc8da96b6408: net/socket.c:1109: undefined reference to `wext_handle_ioctl' net/socket.c:3378: 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 fc10db4b193239730f058050e153df17bfdceee7 testing commit fc10db4b193239730f058050e153df17bfdceee7 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eed20d6a451b5eab91e827ce901b3e07a3deda6f90d6533daee652eb6171c60a all runs: 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: 34m57.832882687s (build: 12m52.036286502s, test: 20m34.072662298s) crash still not fixed or there were kernel test errors commit msg: Merge android13-5.10 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 112039067 P4D 112039067 PUD 112046067 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 11/17/2023 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 8a db 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:ffffc9000057fe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888112056800 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888112056908 RBP: ffffc9000057fe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff88810950c580 R11: 0000000000000000 R12: ffff888112056868 R13: ffff888112056908 R14: ffff888112056c88 R15: 0000000000000000 FS: 00007fb8d4edb6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000112079000 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:0x7fb8d5358ae9 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:00007fb8d4edb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb8d5477f80 RCX: 00007fb8d5358ae9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000004 RBP: 00007fb8d53a447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb8d5477f80 R15: 00007ffddf928b08 Modules linked in: CR2: 00000000000000d0 ---[ end trace b284484c3264bbbe ]--- 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 8a db 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:ffffc9000057fe28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888112056800 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888112056908 RBP: ffffc9000057fe68 R08: 0000000000000008 R09: 0000000000000008 R10: ffff88810950c580 R11: 0000000000000000 R12: ffff888112056868 R13: ffff888112056908 R14: ffff888112056c88 R15: 0000000000000000 FS: 00007fb8d4edb6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 0000000112079000 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 8a db 62 00 call 0x62dbaf 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