./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3498328775 <...> [ 27.946098][ T3191] 8021q: adding VLAN 0 to HW filter on device bond0 [ 27.948686][ T3191] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller syzkaller login: [ 40.098128][ T28] kauditd_printk_skb: 37 callbacks suppressed [ 40.098143][ T28] audit: type=1400 audit(1655293392.562:73): avc: denied { transition } for pid=3495 comm="sshd" path="/bin/sh" dev="sda1" ino=73 scontext=system_u:system_r:initrc_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 40.109817][ T28] audit: type=1400 audit(1655293392.572:74): avc: denied { write } for pid=3495 comm="sh" path="pipe:[27919]" dev="pipefs" ino=27919 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 Warning: Permanently added '10.128.0.122' (ECDSA) to the list of known hosts. execve("./syz-executor3498328775", ["./syz-executor3498328775"], 0x7ffe28c547a0 /* 10 vars */) = 0 brk(NULL) = 0x555557362000 brk(0x555557362c40) = 0x555557362c40 arch_prctl(ARCH_SET_FS, 0x555557362300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3498328775", 4096) = 28 brk(0x555557383c40) = 0x555557383c40 brk(0x555557384000) = 0x555557384000 mprotect(0x7fc2c952d000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555573625d0) = 3612 ./strace-static-x86_64: Process 3612 attached [pid 3612] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 3612] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 3612] setsid() = 1 [pid 3612] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 3612] unshare(CLONE_NEWNS) = 0 [pid 3612] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 3612] unshare(CLONE_NEWIPC) = 0 [pid 3612] unshare(CLONE_NEWCGROUP) = 0 [pid 3612] unshare(CLONE_NEWUTS) = 0 [pid 3612] unshare(CLONE_SYSVSEM) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "16777216", 8) = 8 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "536870912", 9) = 9 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "8192", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024 1048576 500 1024", 21) = 21 [pid 3612] close(3) = 0 [pid 3612] getpid() = 1 [pid 3612] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< HARDIRQ-unsafe lock order detected [ 50.774428][ T3612] 5.19.0-rc2-syzkaller-00050-g018ab4fabddd #0 Not tainted [ 50.774438][ T3612] ----------------------------------------------------- [ 50.774443][ T3612] syz-executor349/3612 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: [ 50.774464][ T3612] ffffffff8ba0a098 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xab/0x380 [ 50.774535][ T3612] [ 50.774535][ T3612] and this task is already holding: [ 50.774540][ T3612] ffff88801d476630 (&f->f_owner.lock){....}-{2:2}, at: send_sigio+0x24/0x380 [ 50.774580][ T3612] which would create a new lock dependency: [ 50.774585][ T3612] (&f->f_owner.lock){....}-{2:2} -> (tasklist_lock){.+.+}-{2:2} [ 50.774624][ T3612] [ 50.774624][ T3612] but this new dependency connects a HARDIRQ-irq-safe lock: [ 50.774631][ T3612] (&dev->event_lock#2){-...}-{2:2} [ 50.774652][ T3612] [ 50.774652][ T3612] ... which became HARDIRQ-irq-safe at: [ 50.774658][ T3612] lock_acquire+0x1ab/0x570 [ 50.774682][ T3612] _raw_spin_lock_irqsave+0x39/0x50 [ 50.774712][ T3612] input_event+0x7b/0xb0 [ 50.774729][ T3612] psmouse_report_standard_buttons+0x2c/0x80 [ 50.774754][ T3612] psmouse_process_byte+0x1e1/0x890 [ 50.774777][ T3612] psmouse_handle_byte+0x41/0x1b0 [ 50.774800][ T3612] psmouse_interrupt+0x304/0xf00 [ 50.774822][ T3612] serio_interrupt+0x88/0x150 [ 50.774841][ T3612] i8042_interrupt+0x27a/0x520 [ 50.774861][ T3612] __handle_irq_event_percpu+0x22b/0x880 [ 50.774881][ T3612] handle_irq_event+0xa7/0x1e0 [ 50.774899][ T3612] handle_edge_irq+0x25f/0xd00 [ 50.774920][ T3612] __common_interrupt+0x9d/0x210 [ 50.774939][ T3612] common_interrupt+0xa4/0xc0 [ 50.774957][ T3612] asm_common_interrupt+0x27/0x40 [ 50.774979][ T3612] __sanitizer_cov_trace_pc+0x7/0x60 [ 50.774999][ T3612] check_vma_flags+0x95/0x540 [ 50.775016][ T3612] __get_user_pages+0x1e7/0xfa0 [ 50.775034][ T3612] __get_user_pages_remote+0x18f/0x840 [ 50.775055][ T3612] get_user_pages_remote+0x84/0xc0 [ 50.775073][ T3612] get_arg_page+0xee/0x2b0 [ 50.775091][ T3612] copy_string_kernel+0x1b9/0x300 [pid 3612] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3612, si_uid=0, si_status=1, si_utime=0, si_stime=9} --- exit_group(0) = ? +++ exited with 0 +++ [ 50.775110][ T3612] copy_strings_kern