./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1675514247 <...> Warning: Permanently added '10.128.0.14' (ED25519) to the list of known hosts. execve("./syz-executor1675514247", ["./syz-executor1675514247"], 0x7fff26774df0 /* 10 vars */) = 0 brk(NULL) = 0x555562c30000 brk(0x555562c30d00) = 0x555562c30d00 arch_prctl(ARCH_SET_FS, 0x555562c30380) = 0 set_tid_address(0x555562c30650) = 290 set_robust_list(0x555562c30660, 24) = 0 rseq(0x555562c30ca0, 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-executor1675514247", 4096) = 28 getrandom("\x2a\x73\x8b\x92\x78\x46\x7e\x02", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555562c30d00 brk(0x555562c51d00) = 0x555562c51d00 brk(0x555562c52000) = 0x555562c52000 mprotect(0x7fa4d10e8000, 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, 0executing program ) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa4c8c38000 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(0x7fa4c8c38000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 26.604255][ T28] audit: type=1400 audit(1752907349.083:64): avc: denied { execmem } for pid=290 comm="syz-executor167" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 26.609034][ T290] loop0: detected capacity change from 0 to 512 [ 26.625727][ T28] audit: type=1400 audit(1752907349.083:65): avc: denied { read write } for pid=290 comm="syz-executor167" name="loop0" dev="devtmpfs" ino=118 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file2", 0777) = 0 [ 26.633297][ T290] EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support! [ 26.664329][ T28] audit: type=1400 audit(1752907349.083:66): avc: denied { open } for pid=290 comm="syz-executor167" path="/dev/loop0" dev="devtmpfs" ino=118 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.679121][ T290] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 26.692512][ T28] audit: type=1400 audit(1752907349.083:67): avc: denied { ioctl } for pid=290 comm="syz-executor167" path="/dev/loop0" dev="devtmpfs" ino=118 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.710904][ T290] EXT4-fs warning (device loop0): ext4_expand_extra_isize_ea:2818: Unable to expand inode 15. Delete some EAs or run e2fsck. mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "mb_optimize_scan=0x0000000000000000,resuid=0x0000000000000000,debug_want_extra_isize=0x0000000000000"...) = 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 lsetxattr("./file1", "trusted.overlay.upper", "\x65\x78\x74\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 creat("./file2", 0655) = 4 [ 26.727544][ T28] audit: type=1400 audit(1752907349.113:68): avc: denied { mounton } for pid=290 comm="syz-executor167" path="/root/file2" dev="sda1" ino=2024 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 26.740743][ T290] EXT4-fs (loop0): 1 truncate cleaned up [ 26.768990][ T290] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 26.778294][ T28] audit: type=1400 audit(1752907349.253:69): avc: denied { mount } for pid=290 comm="syz-executor167" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 26.795120][ T290] ================================================================== [ 26.800493][ T28] audit: type=1400 audit(1752907349.263:70): avc: denied { setattr } for pid=290 comm="syz-executor167" name="file1" dev="loop0" ino=15 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 [ 26.808161][ T290] BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x979/0x21d0 [ 26.808202][ T290] Read of size 18446744073709551572 at addr ffff88810c936050 by task syz-executor167/290 [ 26.808219][ T290] [ 26.808224][ T290] CPU: 0 PID: 290 Comm: syz-executor167 Not tainted 6.1.141-syzkaller-00039-g145c7fad733f #0 [ 26.808243][ T290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 26.808264][ T290] Call Trace: [ 26.808270][ T290] [ 26.808277][ T290] __dump_stack+0x21/0x24 [ 26.831285][ T28] audit: type=1400 audit(1752907349.263:71): avc: denied { write } for pid=290 comm="syz-executor167" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.838543][ T290] dump_stack_lvl+0xee/0x150 [ 26.838581][ T290] ? __cfi_dump_stack_lvl+0x8/0x8 [ 26.848592][ T28] audit: type=1400 audit(1752907349.263:72): avc: denied { add_name } for pid=290 comm="syz-executor167" name="file2" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.850731][ T290] ? ext4_xattr_block_set+0x9dc/0x3270 [ 26.861474][ T28] audit: type=1400 audit(1752907349.263:73): avc: denied { create } for pid=290 comm="syz-executor167" name="file2" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 26.870921][ T290] ? __ext4_unlink+0x673/0xb00 [ 26.964350][ T290] ? ext4_xattr_set_entry+0x979/0x21d0 [ 26.969829][ T290] print_address_description+0x71/0x210 [ 26.975392][ T290] print_report+0x4a/0x60 [ 26.979736][ T290] kasan_report+0x122/0x150 [ 26.984242][ T290] ? ext4_xattr_set_entry+0x979/0x21d0 [ 26.989704][ T290] ? ext4_xattr_set_entry+0x979/0x21d0 [ 26.995163][ T290] kasan_check_range+0x280/0x290 [ 27.000098][ T290] memmove+0x2d/0x70 [ 27.003994][ T290] ext4_xattr_set_entry+0x979/0x21d0 [ 27.009278][ T290] ext4_xattr_block_set+0xada/0x3270 [ 27.014559][ T290] ? __getblk_gfp+0x3b/0x7d0 [ 27.019142][ T290] ? xattr_find_entry+0x24c/0x300 [ 27.024161][ T290] ? ext4_xattr_block_find+0x310/0x310 [ 27.029617][ T290] ? ext4_xattr_block_find+0x295/0x310 [ 27.035108][ T290] ext4_expand_extra_isize_ea+0xf30/0x1990 [ 27.040916][ T290] __ext4_expand_extra_isize+0x2fe/0x3e0 [ 27.046546][ T290] __ext4_mark_inode_dirty+0x3cf/0x600 [ 27.052004][ T290] __ext4_unlink+0x673/0xb00 [ 27.056605][ T290] ? memcpy+0x56/0x70 [ 27.060600][ T290] ? __cfi___ext4_unlink+0x10/0x10 [ 27.065714][ T290] ? dquot_initialize+0x20/0x20 [ 27.070560][ T290] ? clear_nonspinnable+0x60/0x60 [ 27.075592][ T290] ext4_unlink+0x13a/0x3a0 [ 27.080011][ T290] vfs_unlink+0x39f/0x630 [ 27.084337][ T290] do_unlinkat+0x31f/0x6b0 [ 27.088748][ T290] ? __cfi_do_unlinkat+0x10/0x10 [ 27.093679][ T290] ? getname_flags+0x206/0x500 [ 27.098444][ T290] __x64_sys_unlink+0x49/0x50 [ 27.103113][ T290] x64_sys_call+0x958/0x9a0 [ 27.107611][ T290] do_syscall_64+0x4c/0xa0 [ 27.112017][ T290] ? clear_bhb_loop+0x30/0x80 [ 27.116688][ T290] ? clear_bhb_loop+0x30/0x80 [ 27.121361][ T290] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 27.127250][ T290] RIP: 0033:0x7fa4d1075af9 [ 27.131656][ T290] 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 [ 27.151251][ T290] RSP: 002b:00007ffe0dae8f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 27.159668][ T290] RAX: ffffffffffffffda RBX: 0000200000000040 RCX: 00007fa4d1075af9 [ 27.167632][ T290] RDX: 00007fa4d1075af9 RSI: 00007fa4d1075af9 RDI: 0000200000000180 [ 27.175595][ T290] RBP: 0031656c69662f2e R08: 0000000000000000 R09: 0000000000000000 [ 27.183558][ T290] R10: 0000000000000000 R11: 0000000000000246 R12: 0032656c69662f2e [ 27.191524][ T290] R13: 00007ffe0dae9138 R14: 0000000000000001 R15: 0000000000000001 [ 27.199585][ T290] [ 27.202598][ T290] [ 27.205007][ T290] Allocated by task 290: [ 27.209238][ T290] kasan_set_track+0x4b/0x70 [ 27.213829][ T290] kasan_save_alloc_info+0x25/0x30 [ 27.218937][ T290] __kasan_kmalloc+0x95/0xb0 [ 27.223516][ T290] __kmalloc_node_track_caller+0xb1/0x1e0 [ 27.229231][ T290] kmemdup+0x2b/0x60 [ 27.233124][ T290] ext4_xattr_block_set+0x9dc/0x3270 [ 27.238500][ T290] ext4_expand_extra_isize_ea+0xf30/0x1990 [ 27.244316][ T290] __ext4_expand_extra_isize+0x2fe/0x3e0 [ 27.249943][ T290] __ext4_mark_inode_dirty+0x3cf/0x600 [ 27.255396][ T290] __ext4_unlink+0x673/0xb00 [ 27.259997][ T290] ext4_unlink+0x13a/0x3a0 [ 27.264406][ T290] vfs_unlink+0x39f/0x630 [ 27.268730][ T290] do_unlinkat+0x31f/0x6b0 [ 27.273138][ T290] __x64_sys_unlink+0x49/0x50 [ 27.277812][ T290] x64_sys_call+0x958/0x9a0 [ 27.282327][ T290] do_syscall_64+0x4c/0xa0 [ 27.286752][ T290] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 27.292644][ T290] [ 27.294959][ T290] The buggy address belongs to the object at ffff88810c936000 [ 27.294959][ T290] which belongs to the cache kmalloc-1k of size 1024 [ 27.309005][ T290] The buggy address is located 80 bytes inside of [ 27.309005][ T290] 1024-byte region [ffff88810c936000, ffff88810c936400) [ 27.322289][ T290] [ 27.324609][ T290] The buggy address belongs to the physical page: [ 27.331016][ T290] page:ffffea0004324c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10c930 [ 27.341267][ T290] head:ffffea0004324c00 order:3 compound_mapcount:0 compound_pincount:0 [ 27.349590][ T290] flags: 0x4000000000010200(slab|head|zone=1) [ 27.355669][ T290] raw: 4000000000010200 0000000000000000 dead000000000001 ffff888100043080 [ 27.364251][ T290] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 27.372832][ T290] page dumped because: kasan: bad access detected [ 27.379254][ T290] page_owner tracks the page as allocated [ 27.384983][ T290] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4036989767, free_ts 0 [ 27.404613][ T290] post_alloc_hook+0x1f5/0x210 [ 27.409387][ T290] prep_new_page+0x1c/0x110 [ 27.413891][ T290] get_page_from_freelist+0x2c7b/0x2cf0 [ 27.419442][ T290] __alloc_pages+0x19e/0x3a0 [ 27.424121][ T290] alloc_slab_page+0x6e/0xf0 [ 27.428725][ T290] new_slab+0x98/0x3d0 [ 27.432793][ T290] ___slab_alloc+0x6f6/0xb50 [ 27.437381][ T290] __slab_alloc+0x5e/0xa0 [ 27.441722][ T290] __kmem_cache_alloc_node+0x203/0x2c0 [ 27.447182][ T290] kmalloc_trace+0x29/0xb0 [ 27.451605][ T290] rtnl_register_internal+0xe5/0x430 [ 27.456936][ T290] rtnl_register_module+0x3e/0x50 [ 27.461970][ T290] cgw_module_init+0xda/0x1b0 [ 27.466664][ T290] do_one_initcall+0x198/0x530 [ 27.471437][ T290] do_initcall_level+0x16f/0x2d0 [ 27.476381][ T290] do_initcalls+0x50/0x92 [ 27.480717][ T290] page_owner free stack trace missing [ 27.486086][ T290] [ 27.488431][ T290] Memory state around the buggy address: [ 27.494056][ T290] ffff88810c935f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc unlink("./file1") = 0 exit_group(0) = ? +++ exited with 0 +++ [ 27.502126][ T290] ffff88810c935f80: fc fc fc fc fc fc fc fc fc fc fc