./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor914196252 <...> Warning: Permanently added '10.128.1.11' (ECDSA) to the list of known hosts. execve("./syz-executor914196252", ["./syz-executor914196252"], 0x7ffd0e6b6e40 /* 10 vars */) = 0 brk(NULL) = 0x555555dff000 brk(0x555555dffc40) = 0x555555dffc40 arch_prctl(ARCH_SET_FS, 0x555555dff300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor914196252", 4096) = 27 brk(0x555555e20c40) = 0x555555e20c40 brk(0x555555e21000) = 0x555555e21000 mprotect(0x7fd82c179000, 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 [ 62.413361][ T26] audit: type=1400 audit(1686916208.107:83): avc: denied { write } for pid=4989 comm="strace-static-x" path="pipe:[29388]" dev="pipefs" ino=29388 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 62.439662][ T26] audit: type=1400 audit(1686916208.137:84): avc: denied { execmem } for pid=4992 comm="syz-executor914" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd823cbb000 [ 62.441142][ T4992] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4992 'syz-executor914' [ 62.461180][ T26] audit: type=1400 audit(1686916208.157:85): avc: denied { append } for pid=4429 comm="syslogd" name="messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 62.491694][ T26] audit: type=1400 audit(1686916208.157:86): avc: denied { open } for pid=4429 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 62.515790][ T26] audit: type=1400 audit(1686916208.157:87): avc: denied { getattr } for pid=4429 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 munmap(0x7fd823cbb000, 16777216) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 62.637198][ T26] audit: type=1400 audit(1686916208.327:88): avc: denied { read write } for pid=4992 comm="syz-executor914" name="loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 62.639428][ T4992] loop0: detected capacity change from 0 to 32768 [ 62.662027][ T26] audit: type=1400 audit(1686916208.327:89): avc: denied { open } for pid=4992 comm="syz-executor914" path="/dev/loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 62.676875][ T4992] BTRFS: device fsid 5ac8a51e-da3a-4998-8e66-e1df06b87bc8 devid 1 transid 8 /dev/loop0 scanned by syz-executor914 (4992) [ 62.693300][ T26] audit: type=1400 audit(1686916208.327:90): avc: denied { ioctl } for pid=4992 comm="syz-executor914" path="/dev/loop0" dev="devtmpfs" ino=648 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 62.734055][ T26] audit: type=1400 audit(1686916208.367:91): avc: denied { mounton } for pid=4992 comm="syz-executor914" path="/root/file0" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 62.768143][ T4992] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 62.777619][ T4992] BTRFS info (device loop0): using free space tree mount("/dev/loop0", "./file0", "btrfs", 0, "noflushoncommit,rescan_uuid_tree,noacl,noautodefrag,datacow,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 ioctl(3, BTRFS_IOC_SUBVOL_SETFLAGS, BTRFS_SUBVOL_RDONLY) = 0 [ 62.798685][ T4992] BTRFS info (device loop0): enabling ssd optimizations [ 62.805908][ T4992] BTRFS info (device loop0): auto enabling async discard [ 62.815272][ T4992] BTRFS info (device loop0): checking UUID tree [ 62.825811][ T26] audit: type=1400 audit(1686916208.527:92): avc: denied { mount } for pid=4992 comm="syz-executor914" name="/" dev="loop0" ino=256 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 62.864350][ T4992] ------------[ cut here ]------------ [ 62.870672][ T4992] WARNING: CPU: 1 PID: 4992 at fs/read_write.c:504 __kernel_write_iter+0x5f9/0x7a0 [ 62.880180][ T4992] Modules linked in: [ 62.884100][ T4992] CPU: 1 PID: 4992 Comm: syz-executor914 Not tainted 6.4.0-rc6-syzkaller-00049-g62d8779610bb #0 [ 62.894598][ T4992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 62.904751][ T4992] RIP: 0010:__kernel_write_iter+0x5f9/0x7a0 [ 62.910739][ T4992] Code: 05 00 00 4c 89 e2 48 c7 c6 40 96 5b 8a 48 c7 c7 e0 95 5b 8a e8 98 38 83 ff 49 c7 c6 ea ff ff ff e9 c0 fe ff ff e8 d7 54 9f ff <0f> 0b 49 c7 c6 f7 ff ff ff e9 ad fe ff ff e8 c4 54 9f ff 4c 89 ea [ 62.932553][ T4992] RSP: 0018:ffffc900034bf6c0 EFLAGS: 00010293 [ 62.938656][ T4992] RAX: 0000000000000000 RBX: 00000000000a801d RCX: 0000000000000000 [ 62.946812][ T4992] RDX: ffff888079bc81c0 RSI: ffffffff81e412d9 RDI: 0000000000000005 [ 62.954967][ T4992] RBP: 1ffff92000697eda R08: 0000000000000005 R09: 0000000000000000 [ 62.963031][ T4992] R10: 0000000000000000 R11: 0000000000000005 R12: ffff88801f847cc0 [ 62.971074][ T4992] R13: ffff88801f847d3c R14: 0000000000000000 R15: ffff888020fbe808 [ 62.979073][ T4992] FS: 0000555555dff300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 62.988087][ T4992] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.994764][ T4992] CR2: 000055948355a810 CR3: 0000000029460000 CR4: 00000000003506e0 [ 63.002821][ T4992] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.010867][ T4992] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.018970][ T4992] Call Trace: [ 63.022520][ T4992] [ 63.025481][ T4992] ? __warn+0xe6/0x390 [ 63.029593][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.035095][ T4992] ? report_bug+0x2da/0x500 [ 63.039660][ T4992] ? handle_bug+0x3c/0x70 [ 63.044282][ T4992] ? exc_invalid_op+0x18/0x50 [ 63.048992][ T4992] ? asm_exc_invalid_op+0x1a/0x20 [ 63.054092][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.059406][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.064751][ T4992] ? vfs_read+0x8a0/0x8a0 [ 63.069098][ T4992] ? avc_policy_seqno+0x9/0x10 [ 63.073921][ T4992] ? selinux_file_permission+0x96/0x520 [ 63.079488][ T4992] ? security_file_permission+0xaf/0xd0 [ 63.085196][ T4992] kernel_write+0x1c1/0x670 [ 63.089723][ T4992] ? btrfs_destroy_cachep+0x30/0x30 [ 63.094987][ T4992] ? __kernel_write+0x110/0x110 [ 63.099893][ T4992] btrfs_ioctl_send+0x2317/0x67b0 [ 63.105030][ T4992] ? changed_cb+0x3530/0x3530 [ 63.109732][ T4992] ? __might_fault+0xe2/0x190 [ 63.114500][ T4992] ? lock_downgrade+0x690/0x690 [ 63.121433][ T4992] ? _copy_from_user+0x5c/0xf0 [ 63.126337][ T4992] _btrfs_ioctl_send+0x100/0x2d0 [ 63.131362][ T4992] ? exclop_start_or_cancel_reloc+0x230/0x230 [ 63.137739][ T4992] ? avc_ss_reset+0x140/0x140 [ 63.142555][ T4992] ? tomoyo_path_number_perm+0x245/0x570 [ 63.148387][ T4992] ? lock_downgrade+0x690/0x690 [ 63.153487][ T4992] ? __kmem_cache_free+0x182/0x2c0 [ 63.158618][ T4992] ? tomoyo_path_number_perm+0x43b/0x570 [ 63.164304][ T4992] btrfs_ioctl+0x3c0f/0x5b30 [ 63.168935][ T4992] ? tomoyo_path_number_perm+0x166/0x570 [ 63.174668][ T4992] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 63.180534][ T4992] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 63.186949][ T4992] ? __sanitizer_cov_trace_switch+0x54/0x90 [ 63.192970][ T4992] ? do_vfs_ioctl+0x132/0x1670 [ 63.198220][ T4992] ? vfs_fileattr_set+0xc40/0xc40 [ 63.203307][ T4992] ? ioctl_has_perm.constprop.0.isra.0+0x28c/0x420 [ 63.209956][ T4992] ? ioctl_has_perm.constprop.0.isra.0+0x295/0x420 [ 63.216456][ T4992] ? selinux_bprm_creds_for_exec+0xb20/0xb20 [ 63.222517][ T4992] ? find_held_lock+0x2d/0x110 [ 63.227318][ T4992] ? name_to_dev_t+0x62/0x9e0 [ 63.232050][ T4992] ? lock_downgrade+0x690/0x690 [ 63.237191][ T4992] ? selinux_file_ioctl+0xba/0x280 [ 63.242512][ T4992] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 63.249058][ T4992] __x64_sys_ioctl+0x197/0x210 [ 63.253998][ T4992] do_syscall_64+0x39/0xb0 [ 63.258519][ T4992] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.264487][ T4992] RIP: 0033:0x7fd82c107b69 [ 63.269002][ T4992] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 63.289105][ T4992] RSP: 002b:00007ffcc0be3118 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 63.297714][ T4992] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd82c107b69 [ 63.306376][ T4992] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 63.314568][ T4992] RBP: 00007fd82c0c7430 R08: 0000000000000000 R09: 0000000000000000 [ 63.322968][ T4992] R10: 00000000000051af R11: 0000000000000246 R12: 00007fd82c0c74c0 [ 63.331431][ T4992] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 63.339722][ T4992] [ 63.342911][ T4992] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 63.350191][ T4992] CPU: 1 PID: 4992 Comm: syz-executor914 Not tainted 6.4.0-rc6-syzkaller-00049-g62d8779610bb #0 [ 63.360779][ T4992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 63.370900][ T4992] Call Trace: [ 63.374171][ T4992] [ 63.377088][ T4992] dump_stack_lvl+0xd9/0x150 [ 63.381670][ T4992] panic+0x686/0x730 [ 63.385556][ T4992] ? panic_smp_self_stop+0xa0/0xa0 [ 63.390844][ T4992] ? show_trace_log_lvl+0x284/0x390 [ 63.396072][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.401733][ T4992] check_panic_on_warn+0xb1/0xc0 [ 63.406703][ T4992] __warn+0xf2/0x390 [ 63.410620][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.415934][ T4992] report_bug+0x2da/0x500 [ 63.427863][ T4992] handle_bug+0x3c/0x70 [ 63.432925][ T4992] exc_invalid_op+0x18/0x50 [ 63.437451][ T4992] asm_exc_invalid_op+0x1a/0x20 [ 63.442850][ T4992] RIP: 0010:__kernel_write_iter+0x5f9/0x7a0 [ 63.448937][ T4992] Code: 05 00 00 4c 89 e2 48 c7 c6 40 96 5b 8a 48 c7 c7 e0 95 5b 8a e8 98 38 83 ff 49 c7 c6 ea ff ff ff e9 c0 fe ff ff e8 d7 54 9f ff <0f> 0b 49 c7 c6 f7 ff ff ff e9 ad fe ff ff e8 c4 54 9f ff 4c 89 ea [ 63.468641][ T4992] RSP: 0018:ffffc900034bf6c0 EFLAGS: 00010293 [ 63.474724][ T4992] RAX: 0000000000000000 RBX: 00000000000a801d RCX: 0000000000000000 [ 63.482718][ T4992] RDX: ffff888079bc81c0 RSI: ffffffff81e412d9 RDI: 0000000000000005 [ 63.490697][ T4992] RBP: 1ffff92000697eda R08: 0000000000000005 R09: 0000000000000000 [ 63.498689][ T4992] R10: 0000000000000000 R11: 0000000000000005 R12: ffff88801f847cc0 [ 63.507188][ T4992] R13: ffff88801f847d3c R14: 0000000000000000 R15: ffff888020fbe808 [ 63.515261][ T4992] ? __kernel_write_iter+0x5f9/0x7a0 [ 63.520564][ T4992] ? vfs_read+0x8a0/0x8a0 [ 63.525072][ T4992] ? avc_policy_seqno+0x9/0x10 [ 63.529841][ T4992] ? selinux_file_permission+0x96/0x520 [ 63.535797][ T4992] ? security_file_permission+0xaf/0xd0 [ 63.541369][ T4992] kernel_write+0x1c1/0x670 [ 63.545969][ T4992] ? btrfs_destroy_cachep+0x30/0x30 [ 63.551180][ T4992] ? __kernel_write+0x110/0x110 [ 63.556040][ T4992] btrfs_ioctl_send+0x2317/0x67b0 [ 63.561081][ T4992] ? changed_cb+0x3530/0x3530 [ 63.565770][ T4992] ? __might_fault+0xe2/0x190 [ 63.570457][ T4992] ? lock_downgrade+0x690/0x690 [ 63.575318][ T4992] ? _copy_from_user+0x5c/0xf0 [ 63.580107][ T4992] _btrfs_ioctl_send+0x100/0x2d0 [ 63.585058][ T4992] ? exclop_start_or_cancel_reloc+0x230/0x230 [ 63.591132][ T4992] ? avc_ss_reset+0x140/0x140 [ 63.595817][ T4992] ? tomoyo_path_number_perm+0x245/0x570 [ 63.601467][ T4992] ? lock_downgrade+0x690/0x690 [ 63.606355][ T4992] ? __kmem_cache_free+0x182/0x2c0 [ 63.611476][ T4992] ? tomoyo_path_number_perm+0x43b/0x570 [ 63.617133][ T4992] btrfs_ioctl+0x3c0f/0x5b30 [ 63.621739][ T4992] ? tomoyo_path_number_perm+0x166/0x570 [ 63.627410][ T4992] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 63.633236][ T4992] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 63.639667][ T4992] ? __sanitizer_cov_trace_switch+0x54/0x90 [ 63.645573][ T4992] ? do_vfs_ioctl+0x132/0x1670 [ 63.650341][ T4992] ? vfs_fileattr_set+0xc40/0xc40 [ 63.655375][ T4992] ? ioctl_has_perm.constprop.0.isra.0+0x28c/0x420 [ 63.661914][ T4992] ? ioctl_has_perm.constprop.0.isra.0+0x295/0x420 [ 63.668424][ T4992] ? selinux_bprm_creds_for_exec+0xb20/0xb20 [ 63.674411][ T4992] ? find_held_lock+0x2d/0x110 [ 63.679186][ T4992] ? name_to_dev_t+0x62/0x9e0 [ 63.683874][ T4992] ? lock_downgrade+0x690/0x690 [ 63.688905][ T4992] ? selinux_file_ioctl+0xba/0x280 [ 63.694304][ T4992] ? btrfs_ioctl_get_supported_features+0x50/0x50 [ 63.700740][ T4992] __x64_sys_ioctl+0x197/0x210 [ 63.705619][ T4992] do_syscall_64+0x39/0xb0 [ 63.710139][ T4992] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.716175][ T4992] RIP: 0033:0x7fd82c107b69 [ 63.721930][ T4992] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 63.743400][ T4992] RSP: 002b:00007ffcc0be3118 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 63.751911][ T4992] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd82c107b69 [ 63.759884][ T4992] RDX: 00000000200003c0 RSI: 0000000040489426 RDI: 0000000000000003 [ 63.767862][ T4992] RBP: 00007fd82c0c7430 R08: 0000000000000000 R09: 0000000000000000 [ 63.775933][ T4992] R10: 00000000000051af R11: 0000000000000246 R12: 00007fd82c0c74c0 [ 63.783911][ T4992] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 63.791888][ T4992] [ 63.795121][ T4992] Kernel Offset: disabled [ 63.799518][ T4992] Rebooting in 86400 seconds..