./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1313173546 <...> Warning: Permanently added '10.128.1.181' (ED25519) to the list of known hosts. execve("./syz-executor1313173546", ["./syz-executor1313173546"], 0x7ffc32699c30 /* 10 vars */) = 0 brk(NULL) = 0x555589bee000 brk(0x555589beed00) = 0x555589beed00 arch_prctl(ARCH_SET_FS, 0x555589bee380) = 0 set_tid_address(0x555589bee650) = 288 set_robust_list(0x555589bee660, 24) = 0 rseq(0x555589beeca0, 0x20, 0, 0x53053053) = -1 ENOSYS (Function not implemented) prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1313173546", 4096) = 28 getrandom("\x0c\x37\x2e\xf4\x29\x03\x72\xf8", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555589beed00 brk(0x555589c0fd00) = 0x555589c0fd00 brk(0x555589c10000) = 0x555589c10000 mprotect(0x7fc3056d0000, 16384, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 write(1, "executing program\n", 18executing program ) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fd220000 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(0x7fc2fd220000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file2", 0777) = 0 [ 22.949367][ T24] audit: type=1400 audit(1744505005.600:66): avc: denied { execmem } for pid=288 comm="syz-executor131" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 22.957723][ T24] audit: type=1400 audit(1744505005.610:67): avc: denied { read write } for pid=288 comm="syz-executor131" 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 [ 22.962357][ T24] audit: type=1400 audit(1744505005.610:68): avc: denied { open } for pid=288 comm="syz-executor131" 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 [ 22.967097][ T24] audit: type=1400 audit(1744505005.620:69): avc: denied { ioctl } for pid=288 comm="syz-executor131" 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 [ 22.998253][ T24] audit: type=1400 audit(1744505005.650:70): avc: denied { mounton } for pid=288 comm="syz-executor131" path="/root/file2" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 23.057184][ T288] EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support! [ 23.070053][ T288] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 23.081332][ T288] EXT4-fs warning (device loop0): ext4_expand_extra_isize_ea:2806: Unable to expand inode 15. Delete some EAs or run e2fsck. [ 23.094541][ T288] EXT4-fs (loop0): 1 truncate cleaned up mount("/dev/loop0", "./file2", "ext4", MS_NOEXEC|MS_DIRSYNC, "nogrpid,min_batch_time=0x0000000000000000,debug_want_extra_isize=0x0000000000000068,nobarrier,nodisc"...) = 0 openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 chdir("./file2") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 truncate("./file2", 0) = 0 lsetxattr("./file1", "trusted.overlay.upper", "\x00\xfb\xcd\x01\x3f\x33\x35\x63\x95\x7f\xde\x9e\x67\x6b\xcf\x88\x1c\xf4\xba\x91\x30\x9a\x6d\x2b\xa0\x67\x6a\x2d\x00\x0e\x48\x2d\xd7\xed\x5c\x99\x9c\x1f\x11\xb1\xf4\x90\x96\xcf\x50\x67\xf6\x75\xf2\xf8\xb3\xd9\x4b\x6b\x40\x8a\x3d\xad\xb6\xeb\x64\x0b\x03\x61\xfa\xf5\xda\xde\x5b\xc7\x73\xd7\xe3\x09\x52\xf3\xe8\x28\xc4\x31\xbf\xf0\x11\xc4\x52\xa2\x9c\xa1\x71\x13\x0e\x5d\x9c\x2f\xd8\x35\x44\x28\x94\x09"..., 205, 0) = 0 [ 23.100026][ T288] EXT4-fs (loop0): mounted filesystem without journal. Opts: nogrpid,min_batch_time=0x0000000000000000,debug_want_extra_isize=0x0000000000000068,nobarrier,nodiscard,quota,,errors=continue [ 23.118512][ T24] audit: type=1400 audit(1744505005.770:71): avc: denied { mount } for pid=288 comm="syz-executor131" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 23.129687][ T288] ================================================================== [ 23.146705][ T24] audit: type=1400 audit(1744505005.770:72): avc: denied { write } for pid=288 comm="syz-executor131" name="file2" dev="loop0" ino=16 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 [ 23.148066][ T288] BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x11b3/0x3a60 [ 23.170551][ T24] audit: type=1400 audit(1744505005.770:73): avc: denied { open } for pid=288 comm="syz-executor131" name="file2" dev="loop0" ino=16 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 [ 23.177773][ T288] Read of size 18446744073709551540 at addr ffff88810d35e070 by task syz-executor131/288 [ 23.177776][ T288] [ 23.177788][ T288] CPU: 0 PID: 288 Comm: syz-executor131 Not tainted 5.10.234-syzkaller-00157-ge0b88ee5f09c #0 [ 23.177795][ T288] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 23.177811][ T288] Call Trace: [ 23.200307][ T24] audit: type=1400 audit(1744505005.770:74): avc: denied { setattr } for pid=288 comm="syz-executor131" name="file1" dev="loop0" ino=15 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 [ 23.209461][ T288] dump_stack_lvl+0x1e2/0x24b [ 23.209474][ T288] ? bfq_pos_tree_add_move+0x43b/0x43b [ 23.209484][ T288] ? panic+0x812/0x812 [ 23.209497][ T288] ? mb_cache_entry_create+0x161/0x750 [ 23.209514][ T288] ? ext4_xattr_set+0x231/0x3d0 [ 23.209532][ T288] ? ext4_xattr_trusted_set+0x3b/0x50 [ 23.286156][ T288] print_address_description+0x81/0x3b0 [ 23.291548][ T288] ? do_syscall_64+0x34/0x70 [ 23.295956][ T288] ? entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.301853][ T288] kasan_report+0x179/0x1c0 [ 23.306191][ T288] ? ext4_xattr_set_entry+0x11b3/0x3a60 [ 23.311579][ T288] ? ext4_xattr_set_entry+0x11b3/0x3a60 [ 23.316958][ T288] kasan_check_range+0x293/0x2a0 [ 23.321730][ T288] ? ext4_xattr_set_entry+0x11b3/0x3a60 [ 23.327114][ T288] memmove+0x2d/0x70 [ 23.330841][ T288] ext4_xattr_set_entry+0x11b3/0x3a60 [ 23.336055][ T288] ? _raw_spin_trylock_bh+0x190/0x190 [ 23.341260][ T288] ? fscrypt_drop_inode+0xae/0x110 [ 23.346206][ T288] ? ext4_xattr_ibody_set+0x390/0x390 [ 23.351416][ T288] ? _raw_spin_unlock+0x4d/0x70 [ 23.356101][ T288] ? slab_post_alloc_hook+0x80/0x2f0 [ 23.361222][ T288] ? __wake_up_bit+0x190/0x190 [ 23.365820][ T288] ? ext4_xattr_block_set+0x727/0x3400 [ 23.371117][ T288] ? kmemdup+0x3f/0x50 [ 23.375022][ T288] ? memcpy+0x56/0x70 [ 23.378853][ T288] ext4_xattr_block_set+0x8f9/0x3400 [ 23.383964][ T288] ? ext4_xattr_block_find+0x520/0x520 [ 23.389255][ T288] ? __ext4_sb_bread_gfp+0x1eb/0x250 [ 23.394376][ T288] ? __kasan_check_write+0x14/0x20 [ 23.399326][ T288] ext4_xattr_set_handle+0x11cd/0x14e0 [ 23.404621][ T288] ? ext4_xattr_set_entry+0x3a60/0x3a60 [ 23.410006][ T288] ? __kasan_check_read+0x11/0x20 [ 23.414880][ T288] ext4_xattr_set+0x231/0x3d0 [ 23.419386][ T288] ? ext4_xattr_set_credits+0x290/0x290 [ 23.424762][ T288] ? selinux_inode_setxattr+0x621/0xcf0 [ 23.430141][ T288] ext4_xattr_trusted_set+0x3b/0x50 [ 23.435169][ T288] ? ext4_xattr_trusted_get+0x40/0x40 [ 23.440377][ T288] __vfs_setxattr+0x404/0x450 [ 23.444896][ T288] __vfs_setxattr_noperm+0x11d/0x4f0 [ 23.450015][ T288] __vfs_setxattr_locked+0x1f9/0x210 [ 23.455134][ T288] vfs_setxattr+0x112/0x2c0 [ 23.459483][ T288] ? xattr_permission+0x380/0x380 [ 23.464334][ T288] ? copy_user_enhanced_fast_string+0xe/0x40 [ 23.470150][ T288] ? _copy_from_user+0x96/0xd0 [ 23.474746][ T288] setxattr+0x1ea/0x3f0 [ 23.478759][ T288] ? path_setxattr+0x240/0x240 [ 23.483352][ T288] ? __mnt_want_write+0x1f6/0x270 [ 23.488206][ T288] ? mnt_want_write+0x1ba/0x290 [ 23.492889][ T288] path_setxattr+0x169/0x240 [ 23.497338][ T288] ? simple_xattr_list_add+0x120/0x120 [ 23.502610][ T288] ? fpu__clear_all+0x20/0x20 [ 23.507124][ T288] __x64_sys_lsetxattr+0xc2/0xe0 [ 23.511898][ T288] do_syscall_64+0x34/0x70 [ 23.516148][ T288] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.521877][ T288] RIP: 0033:0x7fc30565db39 [ 23.526128][ T288] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 23.545572][ T288] RSP: 002b:00007fff2d210858 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd [ 23.553816][ T288] RAX: ffffffffffffffda RBX: 0072657070752e79 RCX: 00007fc30565db39 [ 23.561626][ T288] RDX: 0000200000000040 RSI: 00002000000000c0 RDI: 0000200000000100 [ 23.569438][ T288] RBP: 0031656c69662f2e R08: 0000000000000000 R09: 0000000000000000 [ 23.577247][ T288] R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000001 [ 23.585071][ T288] R13: 00007fff2d210a38 R14: 0000000000000001 R15: 0000000000000001 [ 23.592874][ T288] [ 23.595040][ T288] Allocated by task 0: [ 23.598944][ T288] (stack is not available) [ 23.603193][ T288] [ 23.605370][ T288] The buggy address belongs to the object at ffff88810d35e000 [ 23.605370][ T288] which belongs to the cache kmalloc-1k of size 1024 [ 23.619290][ T288] The buggy address is located 112 bytes inside of [ 23.619290][ T288] 1024-byte region [ffff88810d35e000, ffff88810d35e400) [ 23.632448][ T288] The buggy address belongs to the page: [ 23.637940][ T288] page:ffffea000434d600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d358 [ 23.647991][ T288] head:ffffea000434d600 order:3 compound_mapcount:0 compound_pincount:0 [ 23.656145][ T288] flags: 0x4000000000010200(slab|head) [ 23.661447][ T288] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00 [ 23.669869][ T288] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 23.678278][ T288] page dumped because: kasan: bad access detected [ 23.684537][ T288] page_owner tracks the page as allocated [ 23.690098][ T288] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 84, ts 23094282442, free_ts 23060860230 [ 23.708838][ T288] prep_new_page+0x166/0x180 [ 23.713259][ T288] get_page_from_freelist+0x2d8c/0x2f30 [ 23.718641][ T288] __alloc_pages_nodemask+0x435/0xaf0 [ 23.723847][ T288] new_slab+0x80/0x400 [ 23.727752][ T288] ___slab_alloc+0x302/0x4b0 [ 23.732178][ T288] __slab_alloc+0x63/0xa0 [ 23.736347][ T288] __kmalloc_track_caller+0x1f8/0x320 [ 23.741555][ T288] __alloc_skb+0xbc/0x510 [ 23.745721][ T288] alloc_skb_with_frags+0xa1/0x570 [ 23.750668][ T288] sock_alloc_send_pskb+0x915/0xa50 [ 23.755702][ T288] unix_dgram_sendmsg+0x700/0x1f90 [ 23.760652][ T288] __sys_sendto+0x545/0x700 [ 23.764989][ T288] __x64_sys_sendto+0xe5/0x100 [ 23.769593][ T288] do_syscall_64+0x34/0x70 [ 23.773840][ T288] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.779563][ T288] page last free stack trace: [ 23.784086][ T288] __free_pages_ok+0x82c/0x850 [ 23.788683][ T288] free_the_page+0x76/0x370 [ 23.793025][ T288] __free_pages+0x67/0xc0 [ 23.797188][ T288] __free_slab+0xcf/0x190 [ 23.801354][ T288] unfreeze_partials+0x15e/0x190 [ 23.806128][ T288] put_cpu_partial+0xbf/0x180 [ 23.810642][ T288] __slab_free+0x2c8/0x3a0 [ 23.814895][ T288] ___cache_free+0x111/0x130 [ 23.819323][ T288] qlink_free+0x50/0x90 [ 23.823312][ T288] qlist_free_all+0x47/0xb0 [ 23.827654][ T288] kasan_quarantine_reduce+0x15a/0x170 [ 23.832948][ T288] __kasan_slab_alloc+0x2f/0xe0 [ 23.837636][ T288] slab_post_alloc_hook+0x61/0x2f0 [ 23.842583][ T288] kmem_cache_alloc+0x168/0x2e0 [ 23.847270][ T288] getname_flags+0xba/0x520 [ 23.851608][ T288] user_path_at_empty+0x2d/0x50 [ 23.856288][ T288] [ 23.858459][ T288] Memory state around the buggy address: [ 23.863937][ T288] ffff88810d35df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.871831][ T288] ffff88810d35df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.879729][ T288] >ffff88810d35e000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.887625][ T288] ^ [ 23.895180][ T288] ffff88810d35e080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.903078][ T288] ffff88810d35e100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 lsetxattr("./file1", "trusted.overlay.upper", "\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"..., 65079, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 2