./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3136990993 <...> DUID 00:04:09:6b:2c:1f:84:4f:7a:8d:37:08:76:1c:6a:95:68:4c forked to background, child pid 192 Starting sshd: OK syzkaller syzkaller login: [ 14.091942][ T22] kauditd_printk_skb: 60 callbacks suppressed [ 14.091948][ T22] audit: type=1400 audit(1671842396.619:71): avc: denied { transition } for pid=265 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 [ 14.098142][ T22] audit: type=1400 audit(1671842396.619:72): avc: denied { write } for pid=265 comm="sh" path="pipe:[10017]" dev="pipefs" ino=10017 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 Warning: Permanently added '10.128.0.203' (ECDSA) to the list of known hosts. execve("./syz-executor3136990993", ["./syz-executor3136990993"], 0x7ffd149fbde0 /* 10 vars */) = 0 brk(NULL) = 0x555556de2000 brk(0x555556de2c40) = 0x555556de2c40 arch_prctl(ARCH_SET_FS, 0x555556de2300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3136990993", 4096) = 28 brk(0x555556e03c40) = 0x555556e03c40 brk(0x555556e04000) = 0x555556e04000 mprotect(0x7f26cd701000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555556de25d0) = 305 ./strace-static-x86_64: Process 305 attached [pid 305] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 305] setpgid(0, 0) = 0 [pid 305] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 305] write(3, "1000", 4) = 4 [pid 305] close(3) = 0 [pid 305] openat(AT_FDCWD, "/dev/loop-control", O_RDONLY) = 3 [pid 305] ioctl(3, LOOP_CTL_ADD, 0) = -1 EEXIST (File exists) [ 21.717734][ T22] audit: type=1400 audit(1671842404.239:73): avc: denied { execmem } for pid=304 comm="syz-executor313" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 21.737734][ T22] audit: type=1400 audit(1671842404.249:74): avc: denied { read } for pid=305 comm="syz-executor313" name="loop-control" dev="devtmpfs" ino=9309 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:loop_control_device_t tclass=chr_file permissive=1 [pid 305] ioctl(3, LOOP_CTL_REMOVE, 0) = 0 [pid 305] ioctl(3, LOOP_CTL_ADD, 4194304) = 4194304 [pid 305] exit_group(0) = ? [pid 305] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=305, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555556de25d0) = 308 ./strace-static-x86_64: Process 308 attached [pid 308] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 308] setpgid(0, 0) = 0 [pid 308] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 308] write(3, "1000", 4) = 4 [pid 308] close(3) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop-control", O_RDONLY) = 3 [ 21.762432][ T22] audit: type=1400 audit(1671842404.249:75): avc: denied { open } for pid=305 comm="syz-executor313" path="/dev/loop-control" dev="devtmpfs" ino=9309 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:loop_control_device_t tclass=chr_file permissive=1 [ 21.787475][ T22] audit: type=1400 audit(1671842404.249:76): avc: denied { ioctl } for pid=305 comm="syz-executor313" path="/dev/loop-control" dev="devtmpfs" ino=9309 ioctlcmd=0x4c80 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:loop_control_device_t tclass=chr_file permissive=1 [ 21.837887][ T308] sysfs: cannot create duplicate filename '/devices/virtual/bdi/7:0' [ 21.845986][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Not tainted 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 21.856216][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 21.866245][ T308] Call Trace: [ 21.869520][ T308] dump_stack+0x1d8/0x241 [ 21.873823][ T308] ? panic+0x73e/0x73e [ 21.877861][ T308] ? nf_ct_l4proto_log_invalid+0x26c/0x26c [ 21.883636][ T308] ? kmem_cache_alloc_trace+0xd8/0x240 [ 21.889065][ T308] ? sysfs_create_dir_ns+0x27e/0x390 [ 21.894338][ T308] sysfs_create_dir_ns+0x2c4/0x390 [ 21.899421][ T308] ? sysfs_warn_dup+0xa0/0xa0 [ 21.904067][ T308] ? entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 21.910103][ T308] kobject_add_internal+0x6ba/0xcb0 [ 21.915274][ T308] kobject_add+0x14c/0x210 [ 21.919662][ T308] ? _raw_spin_lock+0xa3/0x1b0 [ 21.924401][ T308] ? kobject_init+0x1d0/0x1d0 [ 21.929069][ T308] ? mutex_unlock+0x19/0x40 [ 21.933547][ T308] ? get_device_parent+0x2bd/0x420 [ 21.938630][ T308] device_add+0x3fc/0xbc0 [ 21.942928][ T308] device_create_vargs+0x1b8/0x210 [ 21.948020][ T308] device_create+0xea/0x130 [ 21.952512][ T308] ? device_create_vargs+0x210/0x210 [ 21.957946][ T308] bdi_register_va+0x89/0x5e0 [ 21.962596][ T308] bdi_register+0xd1/0x120 [ 21.967187][ T308] ? __device_add_disk+0x539/0x1200 [ 21.972365][ T308] ? bdi_register_va+0x5e0/0x5e0 [ 21.977272][ T308] ? percpu_ref_resurrect+0x113/0x190 [ 21.982668][ T308] bdi_register_owner+0x56/0xf0 [ 21.987516][ T308] __device_add_disk+0x5b8/0x1200 [ 21.992673][ T308] ? device_add_disk+0x30/0x30 [ 21.997419][ T308] ? vsprintf+0x30/0x30 [ 22.001630][ T308] ? device_initialize+0x1c7/0x3d0 [ 22.006716][ T308] ? __alloc_disk_node+0x326/0x380 [ 22.011795][ T308] loop_add+0x554/0x710 [ 22.015920][ T308] loop_control_ioctl+0x564/0x740 [ 22.021079][ T308] ? loop_remove+0xa0/0xa0 [ 22.025482][ T308] ? do_wp_page+0x535/0x8b0 [ 22.029965][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 22.035227][ T308] ? loop_remove+0xa0/0xa0 [ 22.039621][ T308] do_vfs_ioctl+0x744/0x1730 [ 22.044199][ T308] ? selinux_file_ioctl+0x723/0x970 [ 22.049370][ T308] ? ioctl_preallocate+0x250/0x250 [ 22.054451][ T308] ? syscall_trace_enter+0x652/0x940 [ 22.059711][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 22.065408][ T308] ? debug_smp_processor_id+0x20/0x20 [ 22.070753][ T308] ? security_file_ioctl+0x9d/0xb0 [ 22.075833][ T308] __x64_sys_ioctl+0xd4/0x110 [ 22.080485][ T308] do_syscall_64+0xcb/0x1c0 [ 22.084960][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.090886][ T308] kobject_add_internal failed for 7:0 with -EEXIST, don't try to register things with the same name in the same directory. [ 22.104180][ T308] ------------[ cut here ]------------ [ 22.109632][ T308] WARNING: CPU: 1 PID: 308 at block/genhd.c:742 __device_add_disk+0xe83/0x1200 [ 22.118534][ T308] Modules linked in: [ 22.122409][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Not tainted 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 22.132534][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 22.142582][ T308] RIP: 0010:__device_add_disk+0xe83/0x1200 [ 22.148360][ T308] Code: ff ff e8 f0 b3 45 ff 0f 0b e9 29 f3 ff ff e8 e4 b3 45 ff 0f 0b 42 80 3c 2b 00 0f 85 ae f8 ff ff e9 b1 f8 ff ff e8 cd b3 45 ff <0f> 0b e9 46 f7 ff ff e8 c1 b3 45 ff e9 18 ff ff ff 44 89 f9 80 e1 [ 22.167935][ T308] RSP: 0018:ffff8881ddaf7a00 EFLAGS: 00010293 [ 22.173969][ T308] RAX: ffffffff821f9753 RBX: 00000000ffffffef RCX: ffff8881dd9ccec0 [ 22.181928][ T308] RDX: 0000000000000000 RSI: 00000000ffffffef RDI: 0000000000000000 [ 22.189872][ T308] RBP: ffff8881ddaf7b40 R08: ffffffff821f8e93 R09: 0000000000000003 [ 22.197845][ T308] R10: ffffed103bb5ee55 R11: 1ffff1103bb5ee54 R12: ffff8881dda11000 [ 22.205789][ T308] R13: dffffc0000000000 R14: ffff8881dda11070 R15: 1ffff1103bb4229d [ 22.213734][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 22.222645][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.229235][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 22.237179][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.245122][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.253067][ T308] Call Trace: [ 22.256342][ T308] ? device_add_disk+0x30/0x30 [ 22.261601][ T308] ? vsprintf+0x30/0x30 [ 22.265734][ T308] ? device_initialize+0x1c7/0x3d0 [ 22.270839][ T308] ? __alloc_disk_node+0x326/0x380 [ 22.275934][ T308] loop_add+0x554/0x710 [ 22.280069][ T308] loop_control_ioctl+0x564/0x740 [ 22.285090][ T308] ? loop_remove+0xa0/0xa0 [ 22.289499][ T308] ? do_wp_page+0x535/0x8b0 [ 22.293985][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 22.299245][ T308] ? loop_remove+0xa0/0xa0 [ 22.303630][ T308] do_vfs_ioctl+0x744/0x1730 [ 22.308217][ T308] ? selinux_file_ioctl+0x723/0x970 [ 22.313386][ T308] ? ioctl_preallocate+0x250/0x250 [ 22.318480][ T308] ? syscall_trace_enter+0x652/0x940 [ 22.323764][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 22.328592][ T308] ? debug_smp_processor_id+0x20/0x20 [ 22.333969][ T308] ? security_file_ioctl+0x9d/0xb0 [ 22.339204][ T308] __x64_sys_ioctl+0xd4/0x110 [ 22.343878][ T308] do_syscall_64+0xcb/0x1c0 [ 22.348707][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.355013][ T308] ---[ end trace 7c922977edc3bb51 ]--- [ 22.360805][ T308] sysfs: cannot create duplicate filename '/dev/block/7:0' [ 22.367996][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 22.379500][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 22.389526][ T308] Call Trace: [ 22.392788][ T308] dump_stack+0x1d8/0x241 [ 22.397089][ T308] ? panic+0x73e/0x73e [ 22.401135][ T308] ? nf_ct_l4proto_log_invalid+0x26c/0x26c [ 22.406919][ T308] ? kmem_cache_alloc_trace+0xd8/0x240 [ 22.412362][ T308] ? sysfs_warn_dup+0x4d/0xa0 [ 22.417034][ T308] sysfs_warn_dup+0x8c/0xa0 [ 22.421530][ T308] sysfs_do_create_link_sd+0xbe/0x100 [ 22.426879][ T308] device_create_sys_dev_entry+0x118/0x170 [ 22.432656][ T308] ? device_add_attrs+0x370/0x370 [ 22.437657][ T308] ? device_create_file+0xe8/0x1b0 [ 22.442750][ T308] device_add+0x81b/0xbc0 [ 22.447066][ T308] __device_add_disk+0x74b/0x1200 [ 22.452067][ T308] ? device_add_disk+0x30/0x30 [ 22.456804][ T308] ? device_initialize+0x1c7/0x3d0 [ 22.461922][ T308] ? __alloc_disk_node+0x326/0x380 [ 22.467003][ T308] loop_add+0x554/0x710 [ 22.471135][ T308] loop_control_ioctl+0x564/0x740 [ 22.476134][ T308] ? loop_remove+0xa0/0xa0 [ 22.480524][ T308] ? do_wp_page+0x535/0x8b0 [ 22.485016][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 22.490279][ T308] ? loop_remove+0xa0/0xa0 [ 22.494670][ T308] do_vfs_ioctl+0x744/0x1730 [ 22.499263][ T308] ? selinux_file_ioctl+0x723/0x970 [ 22.504540][ T308] ? ioctl_preallocate+0x250/0x250 [ 22.509624][ T308] ? syscall_trace_enter+0x652/0x940 [ 22.514876][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 22.519607][ T308] ? debug_smp_processor_id+0x20/0x20 [ 22.524958][ T308] ? security_file_ioctl+0x9d/0xb0 [ 22.530124][ T308] __x64_sys_ioctl+0xd4/0x110 [ 22.534774][ T308] do_syscall_64+0xcb/0x1c0 [ 22.539263][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.545282][ T308] kobject_add_internal failed for queue (error: -2 parent: loop0) [ 22.553120][ T308] ------------[ cut here ]------------ [ 22.558559][ T308] WARNING: CPU: 1 PID: 308 at fs/sysfs/file.c:328 sysfs_create_files+0x215/0x4a0 [ 22.567626][ T308] Modules linked in: [ 22.571507][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 22.583366][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 22.593407][ T308] RIP: 0010:sysfs_create_files+0x215/0x4a0 [ 22.599179][ T308] Code: 24 04 48 b9 00 00 00 00 00 fc ff df 48 8b 54 24 08 4c 8b 74 24 20 eb 2b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 e8 8b 1c ab ff <0f> 0b c7 44 24 04 ea ff ff ff 48 b9 00 00 00 00 00 fc ff df 48 8b [ 22.618753][ T308] RSP: 0018:ffff8881ddaf7920 EFLAGS: 00010293 [ 22.624792][ T308] RAX: ffffffff81ba2f11 RBX: ffff8881dda110a0 RCX: ffff8881dd9ccec0 [ 22.632742][ T308] RDX: 0000000000000000 RSI: ffffffff85e45820 RDI: ffff8881dda11070 [ 22.640768][ T308] RBP: ffff8881ddaf79f0 R08: ffffffff843e6101 R09: ffffed103e0aa8a8 [ 22.648742][ T308] R10: ffffed103e0aa8a8 R11: 1ffff1103e0aa8a7 R12: 0000000000000000 [ 22.656681][ T308] R13: ffffffff84fd70e0 R14: ffff8881dda11070 R15: ffffffff85e45820 [ 22.664628][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 22.673616][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.680171][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 22.688116][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.696065][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.704034][ T308] Call Trace: [ 22.707303][ T308] ? sysfs_create_file_ns+0x2a0/0x2a0 [ 22.712645][ T308] ? kobject_get+0xca/0x110 [ 22.717118][ T308] __device_add_disk+0x92b/0x1200 [ 22.722114][ T308] ? device_add_disk+0x30/0x30 [ 22.726941][ T308] ? device_initialize+0x1c7/0x3d0 [ 22.732028][ T308] ? __alloc_disk_node+0x326/0x380 [ 22.737109][ T308] loop_add+0x554/0x710 [ 22.741257][ T308] loop_control_ioctl+0x564/0x740 [ 22.746258][ T308] ? loop_remove+0xa0/0xa0 [ 22.750645][ T308] ? do_wp_page+0x535/0x8b0 [ 22.755121][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 22.760379][ T308] ? loop_remove+0xa0/0xa0 [ 22.764768][ T308] do_vfs_ioctl+0x744/0x1730 [ 22.769328][ T308] ? selinux_file_ioctl+0x723/0x970 [ 22.774497][ T308] ? ioctl_preallocate+0x250/0x250 [ 22.779601][ T308] ? syscall_trace_enter+0x652/0x940 [ 22.784874][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 22.789616][ T308] ? debug_smp_processor_id+0x20/0x20 [ 22.794965][ T308] ? security_file_ioctl+0x9d/0xb0 [ 22.800055][ T308] __x64_sys_ioctl+0xd4/0x110 [ 22.804711][ T308] do_syscall_64+0xcb/0x1c0 [ 22.809198][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.815076][ T308] ---[ end trace 7c922977edc3bb52 ]--- [ 22.820551][ T308] ------------[ cut here ]------------ [ 22.825988][ T308] kernfs: can not remove 'events', no directory [ 22.832306][ T308] WARNING: CPU: 1 PID: 308 at fs/kernfs/dir.c:1511 kernfs_remove_by_name_ns+0x61/0x90 [ 22.841838][ T308] Modules linked in: [ 22.845734][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 22.857233][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 22.867286][ T308] RIP: 0010:kernfs_remove_by_name_ns+0x61/0x90 [ 22.873406][ T308] Code: 48 89 c3 e8 61 79 ab ff 48 89 df e8 e9 ee ff ff 31 db eb 29 e8 50 79 ab ff 48 c7 c7 80 0d e8 84 4c 89 fe 31 c0 e8 4f 52 82 ff <0f> 0b bb fe ff ff ff eb 16 e8 31 79 ab ff bb fe ff ff ff 48 c7 c7 [ 22.893099][ T308] RSP: 0018:ffff8881ddaf7900 EFLAGS: 00010246 [ 22.899149][ T308] RAX: 33b954b2a383df00 RBX: 0000000000000000 RCX: ffff8881dd9ccec0 [ 22.907097][ T308] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 22.915049][ T308] RBP: ffff8881ddaf79f0 R08: ffffffff814e3a77 R09: 0000000000000003 [ 22.922998][ T308] R10: ffffed103bb5ee99 R11: 1ffff1103bb5ee98 R12: ffffffff85e45820 [ 22.930943][ T308] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff84fd71a0 [ 22.939093][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 22.947995][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.954549][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 22.962531][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.970478][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.978421][ T308] Call Trace: [ 22.981772][ T308] sysfs_create_files+0x40a/0x4a0 [ 22.986767][ T308] ? sysfs_create_file_ns+0x2a0/0x2a0 [ 22.992111][ T308] ? kobject_get+0xca/0x110 [ 22.996606][ T308] __device_add_disk+0x92b/0x1200 [ 23.001608][ T308] ? device_add_disk+0x30/0x30 [ 23.006353][ T308] ? device_initialize+0x1c7/0x3d0 [ 23.011450][ T308] ? __alloc_disk_node+0x326/0x380 [ 23.016624][ T308] loop_add+0x554/0x710 [ 23.020755][ T308] loop_control_ioctl+0x564/0x740 [ 23.025760][ T308] ? loop_remove+0xa0/0xa0 [ 23.030166][ T308] ? do_wp_page+0x535/0x8b0 [ 23.034642][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 23.039926][ T308] ? loop_remove+0xa0/0xa0 [ 23.044318][ T308] do_vfs_ioctl+0x744/0x1730 [ 23.048886][ T308] ? selinux_file_ioctl+0x723/0x970 [ 23.054059][ T308] ? ioctl_preallocate+0x250/0x250 [ 23.059324][ T308] ? syscall_trace_enter+0x652/0x940 [ 23.064594][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 23.069341][ T308] ? debug_smp_processor_id+0x20/0x20 [ 23.074693][ T308] ? security_file_ioctl+0x9d/0xb0 [ 23.079779][ T308] __x64_sys_ioctl+0xd4/0x110 [ 23.084434][ T308] do_syscall_64+0xcb/0x1c0 [pid 308] ioctl(3, LOOP_CTL_ADD, 0) = 0 [ 23.088910][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 23.094779][ T308] ---[ end trace 7c922977edc3bb53 ]--- [ 23.100256][ T308] loop0: failed to create sysfs files for events [ 23.107106][ T308] ------------[ cut here ]------------ [ 23.112576][ T308] kernfs: can not remove 'events', no directory [ 23.118861][ T308] WARNING: CPU: 1 PID: 308 at fs/kernfs/dir.c:1511 kernfs_remove_by_name_ns+0x61/0x90 [ 23.128380][ T308] Modules linked in: [ 23.132269][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 23.144027][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 23.154173][ T308] RIP: 0010:kernfs_remove_by_name_ns+0x61/0x90 [ 23.160482][ T308] Code: 48 89 c3 e8 61 79 ab ff 48 89 df e8 e9 ee ff ff 31 db eb 29 e8 50 79 ab ff 48 c7 c7 80 0d e8 84 4c 89 fe 31 c0 e8 4f 52 82 ff <0f> 0b bb fe ff ff ff eb 16 e8 31 79 ab ff bb fe ff ff ff 48 c7 c7 [ 23.180064][ T308] RSP: 0018:ffff8881ddaf7a20 EFLAGS: 00010246 [ 23.186104][ T308] RAX: 33b954b2a383df00 RBX: 0000000000000000 RCX: ffff8881dd9ccec0 [ 23.194048][ T308] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 23.202095][ T308] RBP: ffffffff85e45820 R08: ffffffff814e3a77 R09: ffffed103edeaa08 [ 23.210038][ T308] R10: ffffed103edeaa08 R11: 1ffff1103edeaa07 R12: 0000000000000000 [ 23.217978][ T308] R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff84fd71a0 [ 23.225956][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 23.234851][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.241419][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 23.249401][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.257351][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.265316][ T308] Call Trace: [ 23.268583][ T308] sysfs_remove_files+0x99/0xf0 [ 23.273405][ T308] del_gendisk+0x26e/0xbf0 [ 23.277802][ T308] ? device_add_disk_no_queue_reg+0x20/0x20 [ 23.283664][ T308] loop_remove+0x42/0xa0 [ 23.287924][ T308] loop_control_ioctl+0x67f/0x740 [ 23.292919][ T308] ? loop_remove+0xa0/0xa0 [ 23.297436][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 23.302701][ T308] ? loop_remove+0xa0/0xa0 [ 23.307092][ T308] do_vfs_ioctl+0x744/0x1730 [ 23.311662][ T308] ? selinux_file_ioctl+0x723/0x970 [ 23.316965][ T308] ? ioctl_preallocate+0x250/0x250 [ 23.322053][ T308] ? check_preemption_disabled+0x154/0x330 [ 23.327830][ T308] ? syscall_trace_enter+0x652/0x940 [ 23.333087][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 23.337823][ T308] ? __fpregs_load_activate+0x1d7/0x3c0 [ 23.343353][ T308] ? security_file_ioctl+0x9d/0xb0 [ 23.348446][ T308] __x64_sys_ioctl+0xd4/0x110 [ 23.353100][ T308] do_syscall_64+0xcb/0x1c0 [ 23.357596][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 23.363465][ T308] ---[ end trace 7c922977edc3bb54 ]--- [ 23.368976][ T308] ------------[ cut here ]------------ [ 23.374438][ T308] kernfs: can not remove 'events_async', no directory [ 23.381257][ T308] WARNING: CPU: 1 PID: 308 at fs/kernfs/dir.c:1511 kernfs_remove_by_name_ns+0x61/0x90 [ 23.390904][ T308] Modules linked in: [ 23.394785][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 23.406290][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 23.416327][ T308] RIP: 0010:kernfs_remove_by_name_ns+0x61/0x90 [ 23.422449][ T308] Code: 48 89 c3 e8 61 79 ab ff 48 89 df e8 e9 ee ff ff 31 db eb 29 e8 50 79 ab ff 48 c7 c7 80 0d e8 84 4c 89 fe 31 c0 e8 4f 52 82 ff <0f> 0b bb fe ff ff ff eb 16 e8 31 79 ab ff bb fe ff ff ff 48 c7 c7 [ 23.442026][ T308] RSP: 0018:ffff8881ddaf7a20 EFLAGS: 00010246 [ 23.448068][ T308] RAX: 33b954b2a383df00 RBX: 0000000000000000 RCX: ffff8881dd9ccec0 [ 23.456017][ T308] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 23.463959][ T308] RBP: ffffffff85e45820 R08: ffffffff814e3a77 R09: 0000000000000003 [ 23.471900][ T308] R10: ffffed103bb5eebd R11: 1ffff1103bb5eebc R12: 0000000000000000 [ 23.479851][ T308] R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff84fd7240 [ 23.487802][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 23.496702][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.503254][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 23.511212][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.519195][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.527142][ T308] Call Trace: [ 23.530415][ T308] sysfs_remove_files+0x99/0xf0 [ 23.535326][ T308] del_gendisk+0x26e/0xbf0 [ 23.539732][ T308] ? device_add_disk_no_queue_reg+0x20/0x20 [ 23.545611][ T308] loop_remove+0x42/0xa0 [ 23.549843][ T308] loop_control_ioctl+0x67f/0x740 [ 23.554862][ T308] ? loop_remove+0xa0/0xa0 [ 23.559282][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 23.564547][ T308] ? loop_remove+0xa0/0xa0 [ 23.568940][ T308] do_vfs_ioctl+0x744/0x1730 [ 23.573504][ T308] ? selinux_file_ioctl+0x723/0x970 [ 23.578671][ T308] ? ioctl_preallocate+0x250/0x250 [ 23.583752][ T308] ? check_preemption_disabled+0x154/0x330 [ 23.589545][ T308] ? syscall_trace_enter+0x652/0x940 [ 23.594798][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 23.599580][ T308] ? __fpregs_load_activate+0x1d7/0x3c0 [ 23.605124][ T308] ? security_file_ioctl+0x9d/0xb0 [ 23.610208][ T308] __x64_sys_ioctl+0xd4/0x110 [ 23.614862][ T308] do_syscall_64+0xcb/0x1c0 [ 23.619350][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 23.625241][ T308] ---[ end trace 7c922977edc3bb55 ]--- [ 23.630722][ T308] ------------[ cut here ]------------ [ 23.636163][ T308] kernfs: can not remove 'events_poll_msecs', no directory [ 23.643412][ T308] WARNING: CPU: 1 PID: 308 at fs/kernfs/dir.c:1511 kernfs_remove_by_name_ns+0x61/0x90 [ 23.652925][ T308] Modules linked in: [ 23.656807][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 23.668363][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 23.678415][ T308] RIP: 0010:kernfs_remove_by_name_ns+0x61/0x90 [ 23.684546][ T308] Code: 48 89 c3 e8 61 79 ab ff 48 89 df e8 e9 ee ff ff 31 db eb 29 e8 50 79 ab ff 48 c7 c7 80 0d e8 84 4c 89 fe 31 c0 e8 4f 52 82 ff <0f> 0b bb fe ff ff ff eb 16 e8 31 79 ab ff bb fe ff ff ff 48 c7 c7 [ 23.704138][ T308] RSP: 0018:ffff8881ddaf7a20 EFLAGS: 00010246 [ 23.710182][ T308] RAX: 33b954b2a383df00 RBX: 0000000000000000 RCX: ffff8881dd9ccec0 [ 23.718131][ T308] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 23.726078][ T308] RBP: ffffffff85e45820 R08: ffffffff814e3a77 R09: 0000000000000003 [ 23.734018][ T308] R10: ffffed103bb5eebd R11: 1ffff1103bb5eebc R12: 0000000000000000 [ 23.741959][ T308] R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff84fd7260 [ 23.749905][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 23.758895][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.765455][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 23.773396][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.781344][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.789292][ T308] Call Trace: [ 23.792561][ T308] sysfs_remove_files+0x99/0xf0 [ 23.797385][ T308] del_gendisk+0x26e/0xbf0 [ 23.801786][ T308] ? device_add_disk_no_queue_reg+0x20/0x20 [ 23.807666][ T308] loop_remove+0x42/0xa0 [ 23.811895][ T308] loop_control_ioctl+0x67f/0x740 [ 23.816893][ T308] ? loop_remove+0xa0/0xa0 [ 23.821284][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 23.826537][ T308] ? loop_remove+0xa0/0xa0 [ 23.830928][ T308] do_vfs_ioctl+0x744/0x1730 [ 23.835495][ T308] ? selinux_file_ioctl+0x723/0x970 [ 23.840678][ T308] ? ioctl_preallocate+0x250/0x250 [ 23.845777][ T308] ? check_preemption_disabled+0x154/0x330 [ 23.851557][ T308] ? syscall_trace_enter+0x652/0x940 [ 23.856866][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 23.861597][ T308] ? __fpregs_load_activate+0x1d7/0x3c0 [ 23.867113][ T308] ? security_file_ioctl+0x9d/0xb0 [ 23.872201][ T308] __x64_sys_ioctl+0xd4/0x110 [ 23.876846][ T308] do_syscall_64+0xcb/0x1c0 [ 23.881336][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 23.887291][ T308] ---[ end trace 7c922977edc3bb56 ]--- [ 23.892774][ T308] ------------[ cut here ]------------ [ 23.898211][ T308] kernfs: can not remove 'bdi', no directory [ 23.904251][ T308] WARNING: CPU: 1 PID: 308 at fs/kernfs/dir.c:1511 kernfs_remove_by_name_ns+0x61/0x90 [ 23.913764][ T308] Modules linked in: [ 23.917633][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 23.929137][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 23.939178][ T308] RIP: 0010:kernfs_remove_by_name_ns+0x61/0x90 [ 23.945306][ T308] Code: 48 89 c3 e8 61 79 ab ff 48 89 df e8 e9 ee ff ff 31 db eb 29 e8 50 79 ab ff 48 c7 c7 80 0d e8 84 4c 89 fe 31 c0 e8 4f 52 82 ff <0f> 0b bb fe ff ff ff eb 16 e8 31 79 ab ff bb fe ff ff ff 48 c7 c7 [ 23.964882][ T308] RSP: 0018:ffff8881ddaf7a60 EFLAGS: 00010246 [ 23.970919][ T308] RAX: 33b954b2a383df00 RBX: 0000000000000000 RCX: ffff8881dd9ccec0 [ 23.978955][ T308] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 23.986901][ T308] RBP: ffff8881ddaf7b68 R08: ffffffff814e3a77 R09: 0000000000000003 [ 23.994862][ T308] R10: ffffed103bb5eec5 R11: 1ffff1103bb5eec4 R12: ffff8881dda11000 [ 24.002817][ T308] R13: ffff8881dda114e8 R14: 0000000000000000 R15: ffffffff84fd6d00 [ 24.010758][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 24.019658][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.026222][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 24.034172][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 24.042116][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 24.050057][ T308] Call Trace: [ 24.053347][ T308] del_gendisk+0x593/0xbf0 [ 24.058082][ T308] ? device_add_disk_no_queue_reg+0x20/0x20 [ 24.063985][ T308] loop_remove+0x42/0xa0 [ 24.068212][ T308] loop_control_ioctl+0x67f/0x740 [ 24.073247][ T308] ? loop_remove+0xa0/0xa0 [ 24.077639][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 24.082898][ T308] ? loop_remove+0xa0/0xa0 [ 24.087476][ T308] do_vfs_ioctl+0x744/0x1730 [ 24.092059][ T308] ? selinux_file_ioctl+0x723/0x970 [ 24.097246][ T308] ? ioctl_preallocate+0x250/0x250 [ 24.102344][ T308] ? check_preemption_disabled+0x154/0x330 [ 24.108125][ T308] ? syscall_trace_enter+0x652/0x940 [ 24.113412][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 24.118150][ T308] ? __fpregs_load_activate+0x1d7/0x3c0 [ 24.123667][ T308] ? security_file_ioctl+0x9d/0xb0 [ 24.128755][ T308] __x64_sys_ioctl+0xd4/0x110 [ 24.133405][ T308] do_syscall_64+0xcb/0x1c0 [ 24.138778][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 24.144675][ T308] ---[ end trace 7c922977edc3bb57 ]--- [ 24.150212][ T308] kasan: CONFIG_KASAN_INLINE enabled [ 24.155993][ T308] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 24.164058][ T308] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 24.170989][ T308] CPU: 1 PID: 308 Comm: syz-executor313 Tainted: G W 5.4.219-syzkaller-00012-ga8aad8851131 #0 [ 24.182494][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 24.193259][ T308] RIP: 0010:device_del+0xe7/0x1000 [ 24.198422][ T308] Code: df e8 4d 6f 04 ff 4c 89 7c 24 18 41 bf c8 00 00 00 48 89 5c 24 08 4c 03 3b 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 8a 04 04 84 c0 0f 85 88 0e 00 00 41 0f b6 1f 89 de 83 e6 01 31 [ 24.218000][ T308] RSP: 0018:ffff8881ddaf79a0 EFLAGS: 00010202 [ 24.224214][ T308] RAX: dffffc0000000000 RBX: ffff8881dda110d8 RCX: 1ffff1103bb4221b [ 24.232260][ T308] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881ddaf7920 [ 24.240382][ T308] RBP: ffff8881ddaf7a70 R08: dffffc0000000000 R09: ffffed103bb5ef25 [ 24.248411][ T308] R10: ffffed103bb5ef25 R11: 1ffff1103bb5ef24 R12: 0000000000000019 [ 24.256476][ T308] R13: ffff8881dda11070 R14: ffff8881dda11110 R15: 00000000000000c8 [ 24.264510][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 24.273408][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.280006][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 24.287950][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 24.295895][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 24.304221][ T308] Call Trace: [ 24.307580][ T308] ? kill_device+0xc0/0xc0 [ 24.312081][ T308] ? _raw_spin_unlock_irq+0x4a/0x60 [ 24.317339][ T308] del_gendisk+0x99c/0xbf0 [ 24.322267][ T308] ? device_add_disk_no_queue_reg+0x20/0x20 [ 24.328254][ T308] loop_remove+0x42/0xa0 [ 24.332481][ T308] loop_control_ioctl+0x67f/0x740 [ 24.337669][ T308] ? loop_remove+0xa0/0xa0 [ 24.342058][ T308] ? cgroup_leave_frozen+0x13b/0x290 [ 24.347322][ T308] ? loop_remove+0xa0/0xa0 [ 24.351708][ T308] do_vfs_ioctl+0x744/0x1730 [ 24.356276][ T308] ? selinux_file_ioctl+0x723/0x970 [ 24.361533][ T308] ? ioctl_preallocate+0x250/0x250 [ 24.366616][ T308] ? check_preemption_disabled+0x154/0x330 [ 24.372389][ T308] ? syscall_trace_enter+0x652/0x940 [ 24.377649][ T308] ? do_syscall_64+0x1c0/0x1c0 [ 24.382462][ T308] ? __fpregs_load_activate+0x1d7/0x3c0 [ 24.388012][ T308] ? security_file_ioctl+0x9d/0xb0 [ 24.393363][ T308] __x64_sys_ioctl+0xd4/0x110 [ 24.398124][ T308] do_syscall_64+0xcb/0x1c0 [ 24.402618][ T308] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 24.408483][ T308] Modules linked in: [ 24.412424][ T308] ---[ end trace 7c922977edc3bb58 ]--- [ 24.417903][ T308] RIP: 0010:device_del+0xe7/0x1000 [ 24.423082][ T308] Code: df e8 4d 6f 04 ff 4c 89 7c 24 18 41 bf c8 00 00 00 48 89 5c 24 08 4c 03 3b 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 8a 04 04 84 c0 0f 85 88 0e 00 00 41 0f b6 1f 89 de 83 e6 01 31 [ 24.442705][ T308] RSP: 0018:ffff8881ddaf79a0 EFLAGS: 00010202 [ 24.448963][ T308] RAX: dffffc0000000000 RBX: ffff8881dda110d8 RCX: 1ffff1103bb4221b [ 24.457038][ T308] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881ddaf7920 [ 24.465090][ T308] RBP: ffff8881ddaf7a70 R08: dffffc0000000000 R09: ffffed103bb5ef25 [ 24.473083][ T308] R10: ffffed103bb5ef25 R11: 1ffff1103bb5ef24 R12: 0000000000000019 [ 24.481069][ T308] R13: ffff8881dda11070 R14: ffff8881dda11110 R15: 00000000000000c8 [ 24.489286][ T308] FS: 0000555556de2300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 24.498394][ T308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.504972][ T308] CR2: 00007f26cd705130 CR3: 00000001e2b18000 CR4: 00000000003406e0 [ 24.512944][ T308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 24.520921][ T308] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 24.528961][ T308] Kernel panic - not syncing: Fatal exception [ 24.535136][ T308] Kernel Offset: disabled [ 24.539438][ T308] Rebooting in 86400 seconds..