./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1809278733 <...> Warning: Permanently added '10.128.1.128' (ECDSA) to the list of known hosts. execve("./syz-executor1809278733", ["./syz-executor1809278733"], 0x7ffdad820930 /* 10 vars */) = 0 brk(NULL) = 0x555555c32000 brk(0x555555c32c40) = 0x555555c32c40 arch_prctl(ARCH_SET_FS, 0x555555c32300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1809278733", 4096) = 28 brk(0x555555c53c40) = 0x555555c53c40 brk(0x555555c54000) = 0x555555c54000 mprotect(0x7f441d543000, 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 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f441508a000 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"..., 262144) = 262144 munmap(0x7f441508a000, 262144) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 31.316685][ T24] audit: type=1400 audit(1683228957.300:66): avc: denied { execmem } for pid=290 comm="syz-executor180" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 31.324525][ T290] EXT4-fs (loop0): Ignoring removed mblk_io_submit option [ 31.346206][ T24] audit: type=1400 audit(1683228957.300:67): avc: denied { read write } for pid=290 comm="syz-executor180" name="loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 31.352949][ T290] EXT4-fs (loop0): 1 truncate cleaned up [ 31.378947][ T24] audit: type=1400 audit(1683228957.300:68): avc: denied { open } for pid=290 comm="syz-executor180" path="/dev/loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 31.384813][ T290] EXT4-fs (loop0): mounted filesystem without journal. Opts: resgid=0x000000000000ee01,block_validity,debug_want_extra_isize=0x0000000000000080,errors=remount-ro,init_itable=0x000000000000cc6f,mblk_io_submit,errors=remount-ro, mount("/dev/loop0", "./file0", "ext4", 0, "resgid=0x000000000000ee01,block_validity,debug_want_extra_isize=0x0000000000000080,errors=remount-ro"...) = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 31.418069][ T24] audit: type=1400 audit(1683228957.300:69): avc: denied { ioctl } for pid=290 comm="syz-executor180" path="/dev/loop0" dev="devtmpfs" ino=111 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 31.477617][ T24] audit: type=1400 audit(1683228957.300:70): avc: denied { mounton } for pid=290 comm="syz-executor180" path="/root/file0" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 31.506444][ T24] audit: type=1400 audit(1683228957.490:71): avc: denied { mount } for pid=290 comm="syz-executor180" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 31.508825][ T290] general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN [ 31.538450][ T24] audit: type=1400 audit(1683228957.490:72): avc: denied { write } for pid=290 comm="syz-executor180" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 31.547162][ T290] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 31.547175][ T290] CPU: 1 PID: 290 Comm: syz-executor180 Not tainted 5.10.177-syzkaller #0 [ 31.547180][ T290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 31.547238][ T290] RIP: 0010:ext4_xattr_set_entry+0x498/0x3960 [ 31.547256][ T290] Code: 24 78 48 89 d8 48 c1 e8 03 48 89 84 24 28 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 e2 b3 ba ff 4c 8b 23 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 d1 2e 00 00 4c 89 e8 48 2b 44 24 20 48 [ 31.579425][ T24] audit: type=1400 audit(1683228957.490:73): avc: denied { add_name } for pid=290 comm="syz-executor180" name="memory.events" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 31.589284][ T290] RSP: 0018:ffffc90000976f00 EFLAGS: 00010246 [ 31.589302][ T290] RAX: 0000000000000000 RBX: ffffc90000977300 RCX: ffff88811e62cf00 [ 31.589307][ T290] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000001c [ 31.589313][ T290] RBP: ffffc900009771a0 R08: ffffffff81ecc504 R09: ffffed1021fbc185 [ 31.589318][ T290] R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 [ 31.589323][ T290] R13: 0000000000000000 R14: 000000000000001c R15: dffffc0000000000 [ 31.589330][ T290] FS: 0000555555c32300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 31.589336][ T290] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 31.589341][ T290] CR2: 000055cca60091f8 CR3: 000000011e2cb000 CR4: 00000000003506a0 [ 31.589350][ T290] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 31.589365][ T290] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 31.602018][ T24] audit: type=1400 audit(1683228957.490:74): avc: denied { create } for pid=290 comm="syz-executor180" name="memory.events" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 31.612553][ T290] Call Trace: [ 31.612596][ T290] ? __wait_on_buffer+0x80/0x80 [ 31.612618][ T290] ? __kasan_check_read+0x11/0x20 [ 31.840614][ T290] ? errseq_check+0x41/0x70 [ 31.850759][ T290] ? ext4_xattr_ibody_inline_set+0x390/0x390 [ 31.859452][ T290] ? __ext4_journal_ensure_credits+0x470/0x470 [ 31.866177][ T290] ? __kasan_check_write+0x14/0x20 [ 31.873018][ T290] ? ext4_reserve_inode_write+0x2d0/0x380 [ 31.879453][ T290] ? ext4_mark_iloc_dirty+0x3e60/0x3e60 [ 31.885223][ T290] ext4_xattr_ibody_set+0x7c/0x2b0 [ 31.890331][ T290] ext4_xattr_set_handle+0xc26/0x14e0 [ 31.896016][ T290] ? ext4_xattr_set_entry+0x3960/0x3960 [ 31.902961][ T290] ? selinux_inode_free_security+0x200/0x200 [ 31.910377][ T290] ext4_initxattrs+0xa7/0x120 [ 31.915349][ T290] security_inode_init_security+0x252/0x390 [ 31.921762][ T290] ? ext4_init_security+0x40/0x40 [ 31.930269][ T290] ? security_dentry_create_files_as+0xc0/0xc0 [ 31.938780][ T290] ? __ext4_set_acl+0x5e0/0x5e0 [ 31.944303][ T290] ? prandom_u32+0x24c/0x290 [ 31.952308][ T290] ext4_init_security+0x34/0x40 [ 31.958384][ T290] __ext4_new_inode+0x3159/0x3f70 [ 31.964204][ T290] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 31.970130][ T290] ? dquot_initialize+0x20/0x20 [ 31.975169][ T290] ? ext4_lookup+0x549/0xaa0 [ 31.979645][ T290] ? ext4_add_entry+0x1280/0x1280 [ 31.985308][ T290] ext4_create+0x267/0x530 [ 31.997525][ T290] ? ext4_lookup+0xaa0/0xaa0 [ 32.003896][ T290] ? selinux_inode_create+0x22/0x30 [ 32.011137][ T290] ? security_inode_create+0xbc/0x100 [ 32.018068][ T290] ? ext4_lookup+0xaa0/0xaa0 [ 32.022468][ T290] path_openat+0x1377/0x3000 [ 32.027186][ T290] ? update_load_avg+0x541/0x1690 [ 32.033009][ T290] ? do_filp_open+0x460/0x460 [ 32.038439][ T290] do_filp_open+0x21c/0x460 [ 32.044604][ T290] ? vfs_tmpfile+0x2b0/0x2b0 [ 32.049165][ T290] ? get_unused_fd_flags+0x94/0xa0 [ 32.054263][ T290] do_sys_openat2+0x13f/0x6e0 [ 32.058974][ T290] ? cgroup_leave_frozen+0x164/0x2c0 [ 32.064908][ T290] ? ptrace_stop+0x6dc/0xa30 [ 32.070482][ T290] ? do_sys_open+0x220/0x220 [ 32.075353][ T290] ? _raw_spin_unlock_irq+0x4e/0x70 [ 32.080463][ T290] ? ptrace_notify+0x24c/0x350 [ 32.085523][ T290] __x64_sys_openat+0x243/0x290 [ 32.090616][ T290] ? __ia32_sys_open+0x270/0x270 [ 32.096523][ T290] ? syscall_enter_from_user_mode+0x57/0x1a0 [ 32.104072][ T290] do_syscall_64+0x34/0x70 [ 32.108429][ T290] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 32.114898][ T290] RIP: 0033:0x7f441d4d6bb9 [ 32.119402][ T290] 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 [ 32.140045][ T290] RSP: 002b:00007ffdbd613598 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 32.148598][ T290] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f441d4d6bb9 [ 32.157156][ T290] RDX: 000000000000275a RSI: 0000000020000040 RDI: 00000000ffffff9c [ 32.165027][ T290] RBP: 00007f441d4961c0 R08: 00007ffdbd613470 R09: 0000000000000000 [ 32.173072][ T290] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f441d496250 [ 32.180997][ T290] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 32.188856][ T290] Modules linked in: [ 32.193064][ T290] ---[ end trace 9f86e78141a94c28 ]--- [ 32.198507][ T290] RIP: 0010:ext4_xattr_set_entry+0x498/0x3960 [ 32.204793][ T290] Code: 24 78 48 89 d8 48 c1 e8 03 48 89 84 24 28 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 e2 b3 ba ff 4c 8b 23 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 d1 2e 00 00 4c 89 e8 48 2b 44 24 20 48 [ 32.226896][ T290] RSP: 0018:ffffc90000976f00 EFLAGS: 00010246 [ 32.234533][ T290] RAX: 0000000000000000 RBX: ffffc90000977300 RCX: ffff88811e62cf00 [ 32.242838][ T290] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000001c [ 32.250766][ T290] RBP: ffffc900009771a0 R08: ffffffff81ecc504 R09: ffffed1021fbc185 [ 32.258611][ T290] R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 [ 32.266667][ T290] R13: 0000000000000000 R14: 000000000000001c R15: dffffc0000000000 [ 32.274644][ T290] FS: 0000555555c32300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 32.283502][ T290] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 32.289944][ T290] CR2: 000055cca60091f8 CR3: 000000011e2cb000 CR4: 00000000003506a0 [ 32.298468][ T290] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 32.306608][ T290] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 32.315127][ T290] Kernel panic - not syncing: Fatal exception [ 32.321201][ T290] Kernel Offset: disabled [ 32.325530][ T290] Rebooting in 86400 seconds..