last executing test programs: 17.459826599s ago: executing program 0 (id=1): openat$kvm(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) munmap(&(0x7f0000ce0000/0x3000)=nil, 0x3000) mmap$KVM_VCPU(&(0x7f0000c00000/0x400000)=nil, 0x930, 0x0, 0x4f832, 0xffffffffffffffff, 0x1000000) munmap(&(0x7f0000584000/0x800000)=nil, 0x800000) eventfd2(0x0, 0x0) openat$kvm(0xffffffffffffff9c, &(0x7f00000000c0), 0x10000, 0x0) r0 = eventfd2(0x0, 0x0) ioctl$KVM_CREATE_VM(r0, 0x4020940d, 0x20000000) r1 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000100), 0x900, 0x0) r2 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000080), 0x0, 0x0) r3 = ioctl$KVM_CREATE_VM(r2, 0x80111500, 0x20000000) ioctl$KVM_CREATE_VM(r3, 0x5761, 0x2000001c) ioctl$KVM_CHECK_EXTENSION(r1, 0xae03, 0xf3) close(0x3) mmap$KVM_VCPU(&(0x7f0000c00000/0x400000)=nil, 0x930, 0x2, 0x4f832, 0xffffffffffffffff, 0x1000000) 15.004961086s ago: executing program 1 (id=2): r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) ioctl$KVM_CHECK_EXTENSION(r0, 0xae03, 0x77) r1 = openat$kvm(0x0, &(0x7f0000000040), 0x0, 0x0) munmap(&(0x7f00006b3000/0x2000)=nil, 0x2000) r2 = ioctl$KVM_GET_VCPU_MMAP_SIZE(r1, 0xae04) r3 = mmap$KVM_VCPU(&(0x7f00006b4000/0x3000)=nil, r2, 0x100000d, 0x32, 0xffffffffffffffff, 0x0) munmap(&(0x7f0000ec1000/0x3000)=nil, 0x3000) mmap$KVM_VCPU(&(0x7f0000ffd000/0x3000)=nil, 0x930, 0x2, 0x8032, 0xffffffffffffffff, 0x0) syz_memcpy_off$KVM_EXIT_HYPERCALL(r3, 0x20, &(0x7f0000000100)="746abf250f7959c813e4adfb369b808022e69fe80cfadce4a1259e77bab54ac9749537b31771bb7f745a6e22d28467443f39467748a3fbe168ad15f3cb3e87529154fe02c2394576", 0x0, 0x48) 2.70769816s ago: executing program 0 (id=3): openat$kvm(0xffffffffffffff9c, &(0x7f00000000c0), 0x0, 0x0) munmap(&(0x7f00006b3000/0x2000)=nil, 0x2000) munmap(&(0x7f0000ec1000/0x3000)=nil, 0x3000) mmap$KVM_VCPU(&(0x7f0000f2a000/0x4000)=nil, 0x930, 0xf, 0x32, 0xffffffffffffffff, 0x0) munmap(&(0x7f0000002000/0x4000)=nil, 0x4000) mmap$KVM_VCPU(&(0x7f0000000000/0xc00000)=nil, 0x930, 0xf, 0x32, 0xffffffffffffffff, 0x0) 0s ago: executing program 1 (id=4): r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0) r2 = ioctl$KVM_CREATE_VCPU(r1, 0xae41, 0x0) ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0) r3 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000140), 0x0, 0x0) ioctl$KVM_CHECK_EXTENSION(r3, 0xae03, 0x4d) ioctl$KVM_RUN(r2, 0xae80, 0x0) ioctl$KVM_RUN(r2, 0xae80, 0xf5) r4 = openat$kvm(0x0, &(0x7f0000000040), 0x0, 0x0) r5 = ioctl$KVM_CREATE_VM(r4, 0xae01, 0x0) ioctl$KVM_CREATE_VCPU(r5, 0xae41, 0x0) mmap$KVM_VCPU(&(0x7f0000007000/0x1000)=nil, 0x930, 0x1000002, 0x28031, 0xffffffffffffffff, 0x0) r6 = mmap$KVM_VCPU(&(0x7f0000000000/0x14000)=nil, 0x930, 0x3000003, 0x28031, 0xffffffffffffffff, 0x0) eventfd2(0x7f, 0x1) syz_memcpy_off$KVM_EXIT_HYPERCALL(r6, 0x20, &(0x7f0000000240)="fb4149dd033be3ac2cc4a22332fdaa8de0418df24200000000a6ab8031d1dfd92f0000000001ffffffff9610fbff77521ce10d8f6b69d22627e700", 0x0, 0xffffffffffffffca) r7 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000280), 0x0, 0x0) r8 = ioctl$KVM_CREATE_VM(r7, 0xae01, 0x0) close(r8) r9 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000040), 0x0, 0x0) r10 = ioctl$KVM_CREATE_VM(r9, 0xae01, 0x0) ioctl$KVM_CREATE_DEVICE(r10, 0xc00caee0, &(0x7f0000000280)={0x8, 0xffffffffffffffff}) ioctl$KVM_SET_DEVICE_ATTR(r11, 0x4018aee1, &(0x7f00000000c0)) syz_memcpy_off$KVM_EXIT_HYPERCALL(0x0, 0x20, &(0x7f0000000240)="fb4149dd033be3ac2cc4a22332fdaa8de0418df24200000000a6ab8031d1dfd92f0000000001ffffffff9610fbff77521ce10d8f6b69d22627e700", 0x0, 0xffffffffffffff5a) kernel console output (not intermixed with test programs): [ 384.170388][ T3149] 8021q: adding VLAN 0 to HW filter on device bond0 [ 437.410671][ T3149] eql: remember to turn off Van-Jacobson compression on your slave devices Warning: Permanently added '[localhost]:29579' (ED25519) to the list of known hosts. [ 597.038915][ T25] audit: type=1400 audit(596.250:60): avc: denied { name_bind } for pid=3305 comm="sshd-session" src=30000 scontext=system_u:system_r:sshd_t tcontext=system_u:object_r:unreserved_port_t tclass=tcp_socket permissive=1 [ 598.834691][ T25] audit: type=1400 audit(598.050:61): avc: denied { execute } for pid=3306 comm="sh" name="syz-executor" dev="vda" ino=1867 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:etc_runtime_t tclass=file permissive=1 [ 598.868025][ T25] audit: type=1400 audit(598.070:62): avc: denied { execute_no_trans } for pid=3306 comm="sh" path="/syz-executor" dev="vda" ino=1867 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:etc_runtime_t tclass=file permissive=1 [ 621.970300][ T25] audit: type=1400 audit(621.180:63): avc: denied { mounton } for pid=3306 comm="syz-executor" path="/syzcgroup/unified" dev="vda" ino=1869 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:root_t tclass=dir permissive=1 [ 622.004181][ T25] audit: type=1400 audit(621.220:64): avc: denied { mount } for pid=3306 comm="syz-executor" name="/" dev="cgroup2" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:cgroup_t tclass=filesystem permissive=1 [ 622.085323][ T3306] cgroup: Unknown subsys name 'net' [ 622.135686][ T25] audit: type=1400 audit(621.350:65): avc: denied { unmount } for pid=3306 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:cgroup_t tclass=filesystem permissive=1 [ 622.521424][ T3306] cgroup: Unknown subsys name 'cpuset' [ 622.622677][ T3306] cgroup: Unknown subsys name 'rlimit' [ 623.511902][ T25] audit: type=1400 audit(622.730:66): avc: denied { setattr } for pid=3306 comm="syz-executor" name="raw-gadget" dev="devtmpfs" ino=702 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1 [ 623.530966][ T25] audit: type=1400 audit(622.740:67): avc: denied { mounton } for pid=3306 comm="syz-executor" path="/proc/sys/fs/binfmt_misc" dev="binfmt_misc" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:binfmt_misc_fs_t tclass=dir permissive=1 [ 623.558467][ T25] audit: type=1400 audit(622.770:68): avc: denied { mount } for pid=3306 comm="syz-executor" name="/" dev="binfmt_misc" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:binfmt_misc_fs_t tclass=filesystem permissive=1 [ 624.709968][ T3309] SELinux: Context root:object_r:swapfile_t is not valid (left unmapped). [ 624.729214][ T25] audit: type=1400 audit(623.940:69): avc: denied { relabelto } for pid=3309 comm="mkswap" name="swap-file" dev="vda" ino=1872 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 trawcon="root:object_r:swapfile_t" [ 624.755698][ T25] audit: type=1400 audit(623.970:70): avc: denied { write } for pid=3309 comm="mkswap" path="/swap-file" dev="vda" ino=1872 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 trawcon="root:object_r:swapfile_t" Setting up swapspace version 1, size = 127995904 bytes [ 624.935529][ T25] audit: type=1400 audit(624.150:71): avc: denied { read } for pid=3306 comm="syz-executor" name="swap-file" dev="vda" ino=1872 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 trawcon="root:object_r:swapfile_t" [ 624.964021][ T25] audit: type=1400 audit(624.180:72): avc: denied { open } for pid=3306 comm="syz-executor" path="/swap-file" dev="vda" ino=1872 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 trawcon="root:object_r:swapfile_t" [ 625.008270][ T3306] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 674.603706][ T25] audit: type=1400 audit(673.820:73): avc: denied { execmem } for pid=3310 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 678.851534][ T25] audit: type=1400 audit(678.070:74): avc: denied { read } for pid=3312 comm="syz-executor" dev="nsfs" ino=4026531833 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 [ 678.889260][ T25] audit: type=1400 audit(678.090:75): avc: denied { open } for pid=3312 comm="syz-executor" path="net:[4026531833]" dev="nsfs" ino=4026531833 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 [ 678.960304][ T25] audit: type=1400 audit(678.160:76): avc: denied { mounton } for pid=3313 comm="syz-executor" path="/" dev="vda" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:root_t tclass=dir permissive=1 [ 679.228273][ T25] audit: type=1400 audit(678.440:77): avc: denied { module_request } for pid=3312 comm="syz-executor" kmod="netdev-nr0" scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:kernel_t tclass=system permissive=1 [ 680.323408][ T25] audit: type=1400 audit(679.510:78): avc: denied { sys_module } for pid=3312 comm="syz-executor" capability=16 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=capability permissive=1 [ 708.959961][ T3312] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 709.091119][ T3313] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 709.248136][ T3312] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 709.379896][ T3313] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 721.791639][ T3312] hsr_slave_0: entered promiscuous mode [ 721.819757][ T3312] hsr_slave_1: entered promiscuous mode [ 722.525318][ T3313] hsr_slave_0: entered promiscuous mode [ 722.573561][ T3313] hsr_slave_1: entered promiscuous mode [ 722.619840][ T3313] debugfs: 'hsr0' already exists in 'hsr' [ 722.624600][ T3313] Cannot create hsr debugfs directory [ 728.078971][ T25] audit: type=1400 audit(727.290:79): avc: denied { create } for pid=3312 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 [ 728.138622][ T25] audit: type=1400 audit(727.340:80): avc: denied { write } for pid=3312 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 [ 728.179504][ T25] audit: type=1400 audit(727.390:81): avc: denied { read } for pid=3312 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 [ 728.324498][ T3312] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 728.802360][ T3312] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 729.099731][ T3312] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 729.395646][ T3312] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 730.899821][ T3313] netdevsim netdevsim1 netdevsim0: renamed from eth0 [ 731.045239][ T3313] netdevsim netdevsim1 netdevsim1: renamed from eth1 [ 731.211313][ T3313] netdevsim netdevsim1 netdevsim2: renamed from eth2 [ 731.428131][ T3313] netdevsim netdevsim1 netdevsim3: renamed from eth3 [ 744.618308][ T3312] 8021q: adding VLAN 0 to HW filter on device bond0 [ 746.319078][ T3313] 8021q: adding VLAN 0 to HW filter on device bond0 [ 802.667448][ T3312] veth0_vlan: entered promiscuous mode [ 803.130560][ T3312] veth1_vlan: entered promiscuous mode [ 804.693930][ T3313] veth0_vlan: entered promiscuous mode [ 805.255655][ T3312] veth0_macvtap: entered promiscuous mode [ 805.561648][ T3313] veth1_vlan: entered promiscuous mode [ 805.835314][ T3312] veth1_macvtap: entered promiscuous mode [ 808.054102][ T42] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 808.083114][ T42] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 808.109092][ T42] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 808.185487][ T3313] veth0_macvtap: entered promiscuous mode [ 808.231885][ T42] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 808.673882][ T3313] veth1_macvtap: entered promiscuous mode [ 810.718560][ T25] audit: type=1400 audit(809.920:82): avc: denied { mount } for pid=3312 comm="syz-executor" name="/" dev="tmpfs" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:tmpfs_t tclass=filesystem permissive=1 [ 810.975245][ T25] audit: type=1400 audit(810.190:83): avc: denied { mounton } for pid=3312 comm="syz-executor" path="/syzkaller.hCGA3a/syz-tmp/newroot/dev" dev="tmpfs" ino=3 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_tmpfs_t tclass=dir permissive=1 [ 811.227507][ T25] audit: type=1400 audit(810.440:84): avc: denied { mount } for pid=3312 comm="syz-executor" name="/" dev="proc" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:proc_t tclass=filesystem permissive=1 [ 811.423023][ T49] netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 811.429403][ T49] netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 811.450730][ T49] netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 811.468889][ T49] netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 811.533907][ T25] audit: type=1400 audit(810.740:85): avc: denied { mounton } for pid=3312 comm="syz-executor" path="/syzkaller.hCGA3a/syz-tmp/newroot/sys/kernel/debug" dev="debugfs" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:debugfs_t tclass=dir permissive=1 [ 811.615734][ T25] audit: type=1400 audit(810.830:86): avc: denied { mounton } for pid=3312 comm="syz-executor" path="/syzkaller.hCGA3a/syz-tmp/newroot/proc/sys/fs/binfmt_misc" dev="proc" ino=3768 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:sysctl_fs_t tclass=dir permissive=1 [ 812.348959][ T25] audit: type=1400 audit(811.560:87): avc: denied { unmount } for pid=3312 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 812.616141][ T25] audit: type=1400 audit(811.830:88): avc: denied { mounton } for pid=3312 comm="syz-executor" path="/dev/gadgetfs" dev="devtmpfs" ino=1544 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:device_t tclass=dir permissive=1 [ 812.803875][ T25] audit: type=1400 audit(812.020:89): avc: denied { mount } for pid=3312 comm="syz-executor" name="/" dev="gadgetfs" ino=3781 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nfs_t tclass=filesystem permissive=1 [ 813.223500][ T25] audit: type=1400 audit(812.440:90): avc: denied { mount } for pid=3312 comm="syz-executor" name="/" dev="binder" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=filesystem permissive=1 [ 813.310714][ T25] audit: type=1400 audit(812.510:91): avc: denied { mounton } for pid=3312 comm="syz-executor" path="/sys/fs/fuse/connections" dev="fusectl" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fusefs_t tclass=dir permissive=1 [ 814.372078][ T3312] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 825.757513][ T25] kauditd_printk_skb: 4 callbacks suppressed [ 825.769860][ T25] audit: type=1400 audit(824.940:96): avc: denied { write } for pid=3466 comm="syz.0.1" name="kvm" dev="devtmpfs" ino=84 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:kvm_device_t tclass=chr_file permissive=1 [ 825.878828][ T25] audit: type=1400 audit(825.080:97): avc: denied { open } for pid=3466 comm="syz.0.1" path="/dev/kvm" dev="devtmpfs" ino=84 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:kvm_device_t tclass=chr_file permissive=1 [ 827.264644][ T25] audit: type=1400 audit(826.480:98): avc: denied { read } for pid=3466 comm="syz.0.1" name="kvm" dev="devtmpfs" ino=84 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:kvm_device_t tclass=chr_file permissive=1 [ 827.611229][ T25] audit: type=1400 audit(826.780:99): avc: denied { ioctl } for pid=3466 comm="syz.0.1" path="/dev/kvm" dev="devtmpfs" ino=84 ioctlcmd=0x1500 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:kvm_device_t tclass=chr_file permissive=1 [ 835.949562][ C0] Unhandled 64-bit el1h sync exception on CPU0, ESR 0x000000005a000000 -- HVC (AArch64) [ 835.950875][ C0] CPU: 0 UID: 0 PID: 3475 Comm: syz.1.4 Not tainted syzkaller #0 PREEMPT [ 835.951402][ C0] Hardware name: linux,dummy-virt (DT) [ 835.951898][ C0] pstate: 80402009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 835.952271][ C0] pc : pkvm_init_host_vm+0xb8/0x160 [ 835.953826][ C0] lr : pkvm_init_host_vm+0xa0/0x160 [ 835.954026][ C0] sp : ffff8000a3cc7c60 [ 835.954162][ C0] x29: ffff8000a3cc7c60 x28: e2f000001e13dd98 x27: ffff800087354000 [ 835.954765][ C0] x26: 95f000001e1222f0 x25: 0000000000000018 x24: 00000000000014f8 [ 835.955085][ C0] x23: 0000000000000018 x22: 18ff80008c96a260 x21: 18ff80008c969ff0 [ 835.955377][ C0] x20: 0000000000000000 x19: efff800000000000 x18: 000000009382d1d7 [ 835.955677][ C0] x17: 00000000050d89b6 x16: 000000009382a7a7 x15: 0000000059ae9b80 [ 835.955992][ C0] x14: ffffffffffffffff x13: 00000000000000d1 x12: ffff7c1ffbf7c33d [ 835.956284][ C0] x11: 0000000000080000 x10: 0000000000ff0100 x9 : 0000000000000002 [ 835.956677][ C0] x8 : e2f000001e13d880 x7 : ffff80008039ee88 x6 : 0000000000000000 [ 835.956981][ C0] x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000004 [ 835.957271][ C0] x2 : 00000000000093d0 x1 : 0000000000000000 x0 : 00000000c600001b [ 835.958052][ C0] Kernel panic - not syncing: Unhandled exception [ 835.972696][ C0] CPU: 0 UID: 0 PID: 3475 Comm: syz.1.4 Not tainted syzkaller #0 PREEMPT [ 835.974046][ C0] Hardware name: linux,dummy-virt (DT) [ 835.974979][ C0] Call trace: [ 835.975853][ C0] show_stack+0x2c/0x3c (C) [ 835.976960][ C0] __dump_stack+0x30/0x40 [ 835.977783][ C0] dump_stack_lvl+0x30/0x12c [ 835.978541][ C0] dump_stack+0x1c/0x28 [ 835.979263][ C0] vpanic+0x22c/0x59c [ 835.979979][ C0] vpanic+0x0/0x59c [ 835.980671][ C0] el1t_64_irq_handler+0x0/0x1c [ 835.981435][ C0] el1_abort+0x0/0x5c [ 835.982125][ C0] el1h_64_sync+0x6c/0x70 [ 835.983005][ C0] pkvm_init_host_vm+0xb8/0x160 (P) [ 835.983815][ C0] kvm_arch_init_vm+0x150/0x288 [ 835.984602][ C0] kvm_dev_ioctl+0x838/0x105c [ 835.985400][ C0] __arm64_sys_ioctl+0x18c/0x244 [ 835.986281][ C0] invoke_syscall+0x90/0x2b4 [ 835.987095][ C0] el0_svc_common+0x180/0x2f4 [ 835.987942][ C0] do_el0_svc+0x58/0x74 [ 835.988690][ C0] el0_svc+0x58/0x164 [ 835.989400][ C0] el0t_64_sync_handler+0x84/0x12c [ 835.990237][ C0] el0t_64_sync+0x198/0x19c [ 835.992142][ C0] Kernel Offset: disabled [ 835.992817][ C0] CPU features: 0x00000,000068c0,17de33e1,057ffe1f [ 835.993771][ C0] Memory Limit: none [ 835.994704][ C0] [ 835.995193][ C0] ================================ [ 835.995846][ C0] WARNING: inconsistent lock state [ 835.996538][ C0] syzkaller #0 Not tainted [ 835.997296][ C0] -------------------------------- [ 835.997958][ C0] inconsistent {INITIAL USE} -> {IN-NMI} usage. [ 835.998790][ C0] syz.1.4/3475 [HC1[1]:SC0[0]:HE0:SE1] takes: [ 835.999677][ C0] f1f000000d3ed6e8 (&k->list_lock){+.+.}-{3:3}, at: bus_for_each_dev+0x60/0x2a4 [ 836.001757][ C0] {INITIAL USE} state was registered at: [ 836.002611][ C0] lock_acquire+0x14c/0x2e0 [ 836.003540][ C0] _raw_spin_lock+0x48/0x60 [ 836.004265][ C0] kobject_add_internal+0x46c/0xee4 [ 836.005069][ C0] kobject_add+0x10c/0x1d0 [ 836.005793][ C0] device_add+0x494/0xd78 [ 836.006527][ C0] device_register+0x28/0x38 [ 836.007361][ C0] faux_bus_init+0x1c/0x88 [ 836.008114][ C0] driver_init+0x30/0x58 [ 836.008853][ C0] do_basic_setup+0x1c/0xa8 [ 836.009560][ C0] kernel_init_freeable+0x244/0x330 [ 836.010393][ C0] kernel_init+0x24/0x1d0 [ 836.011166][ C0] ret_from_fork+0x10/0x20 [ 836.011948][ C0] irq event stamp: 322 [ 836.012588][ C0] hardirqs last enabled at (321): [] finish_lock_switch+0xa4/0x1c4 [ 836.013861][ C0] hardirqs last disabled at (322): [] __panic_unhandled+0x24/0x68 [ 836.015023][ C0] softirqs last enabled at (318): [] handle_softirqs+0xb8c/0xd08 [ 836.016160][ C0] softirqs last disabled at (293): [] __do_softirq+0x14/0x20 [ 836.017460][ C0] [ 836.017460][ C0] other info that might help us debug this: [ 836.018415][ C0] Possible unsafe locking scenario: [ 836.018415][ C0] [ 836.019231][ C0] CPU0 [ 836.019744][ C0] ---- [ 836.020259][ C0] lock(&k->list_lock); [ 836.021061][ C0] [ 836.021569][ C0] lock(&k->list_lock); [ 836.022363][ C0] [ 836.022363][ C0] *** DEADLOCK *** [ 836.022363][ C0] [ 836.023216][ C0] no locks held by syz.1.4/3475. [ 836.023889][ C0] [ 836.023889][ C0] stack backtrace: [ 836.024631][ C0] CPU: 0 UID: 0 PID: 3475 Comm: syz.1.4 Not tainted syzkaller #0 PREEMPT [ 836.025676][ C0] Hardware name: linux,dummy-virt (DT) [ 836.026411][ C0] Call trace: [ 836.026959][ C0] show_stack+0x2c/0x3c (C) [ 836.027797][ C0] __dump_stack+0x30/0x40 [ 836.028508][ C0] dump_stack_lvl+0x30/0x12c [ 836.029266][ C0] dump_stack+0x1c/0x28 [ 836.029985][ C0] print_usage_bug+0x2f4/0x32c [ 836.030761][ C0] verify_lock_unused+0x78/0x88 [ 836.031593][ C0] lock_acquire+0x22c/0x2e0 [ 836.032406][ C0] _raw_spin_lock+0x48/0x60 [ 836.033166][ C0] bus_for_each_dev+0x60/0x2a4 [ 836.033959][ C0] coresight_panic_cb+0x2c/0x3c [ 836.034814][ C0] notifier_call_chain+0x1e8/0x65c [ 836.035669][ C0] atomic_notifier_call_chain+0xd0/0x180 [ 836.036616][ C0] vpanic+0x2c4/0x59c [ 836.037325][ C0] vpanic+0x0/0x59c [ 836.038044][ C0] el1t_64_irq_handler+0x0/0x1c [ 836.038848][ C0] el1_abort+0x0/0x5c [ 836.039540][ C0] el1h_64_sync+0x6c/0x70 [ 836.040294][ C0] pkvm_init_host_vm+0xb8/0x160 (P) [ 836.041118][ C0] kvm_arch_init_vm+0x150/0x288 [ 836.041898][ C0] kvm_dev_ioctl+0x838/0x105c [ 836.042730][ C0] __arm64_sys_ioctl+0x18c/0x244 [ 836.043570][ C0] invoke_syscall+0x90/0x2b4 [ 836.044401][ C0] el0_svc_common+0x180/0x2f4 [ 836.045300][ C0] do_el0_svc+0x58/0x74 [ 836.046107][ C0] el0_svc+0x58/0x164 [ 836.046824][ C0] el0t_64_sync_handler+0x84/0x12c [ 836.047651][ C0] el0t_64_sync+0x198/0x19c [ 836.049708][ C0] Rebooting in 86400 seconds.. VM DIAGNOSIS: 05:28:46 Registers: info registers vcpu 0 CPU#0 PC=ffff800082127694 X00=0000000000000003 X01=0000000000000002 X02=000000000000005f X03=ffff800082127590 X04=0000000000000001 X05=0000000000000000 X06=ffff800081f0e734 X07=ffff800087cd0c24 X08=e2f000001e13d880 X09=0000000000110001 X10=0000000000ff0100 X11=00000000000000fe X12=00000000000000a3 X13=0000000000000007 X14=0000000000110001 X15=0000000000000000 X16=00000000000000fe X17=00000000050d89b6 X18=000000009382d1d7 X19=efff800000000000 X20=a3f000000dcb0880 X21=b2ff80008c43b018 X22=0000000000000002 X23=a3f000000dcb097c X24=00000000000000a3 X25=a3f000000dcb0ac8 X26=a3f000000dcb08c8 X27=00000000000000a3 X28=00000000000000a3 X29=ffff8000a3cc73f0 X30=ffff800082127694 SP=ffff8000a3cc73e0 PSTATE=004023c9 ---- EL2h SVCR=00000000 -- BTYPE=0 FPCR=00000000 FPSR=00000000 P00=0000 P01=0000 P02=0000 P03=0000 P04=0000 P05=0000 P06=0000 P07=0000 P08=0000 P09=0000 P10=0000 P11=0000 P12=0000 P13=0000 P14=0000 P15=0000 FFR=0000 Z00=2525252525252525:2525252525252525 Z01=000000756c6c2570:6f6f6c2f7665642f Z02=0000000000000000:ffffffff00000000 Z03=ffffff000000ff00:0000000000000000 Z04=0000000000000000:fff000f000000000 Z05=bb448243222c92da:e3914ed4e87380b0 Z06=6edc4d3a2914b135:d8e9c869e2695c88 Z07=b20fae707afde253:388e9c6c4fa85ca0 Z08=0000000000000000:0000000000000000 Z09=0000000000000000:0000000000000000 Z10=0000000000000000:0000000000000000 Z11=0000000000000000:0000000000000000 Z12=0000000000000000:0000000000000000 Z13=0000000000000000:0000000000000000 Z14=0000000000000000:0000000000000000 Z15=0000000000000000:0000000000000000 Z16=0000ffffde34a020:0000ffffde34a020 Z17=ffffff80ffffffd0:0000ffffde349ff0 Z18=0000000000000000:0000000000000000 Z19=0000000000000000:0000000000000000 Z20=0000000000000000:0000000000000000 Z21=0000000000000000:0000000000000000 Z22=0000000000000000:0000000000000000 Z23=0000000000000000:0000000000000000 Z24=0000000000000000:0000000000000000 Z25=0000000000000000:0000000000000000 Z26=0000000000000000:0000000000000000 Z27=0000000000000000:0000000000000000 Z28=0000000000000000:0000000000000000 Z29=0000000000000000:0000000000000000 Z30=0000000000000000:0000000000000000 Z31=0000000000000000:0000000000000000