./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3842684269 <...> Warning: Permanently added '10.128.0.3' (ED25519) to the list of known hosts. execve("./syz-executor3842684269", ["./syz-executor3842684269"], 0x7ffeba9649b0 /* 10 vars */) = 0 brk(NULL) = 0x55557a81a000 brk(0x55557a81ad00) = 0x55557a81ad00 arch_prctl(ARCH_SET_FS, 0x55557a81a380) = 0 set_tid_address(0x55557a81a650) = 357 set_robust_list(0x55557a81a660, 24) = 0 rseq(0x55557a81aca0, 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-executor3842684269", 4096) = 28 getrandom("\xd1\x65\xda\x18\xcd\x6b\x91\x6a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557a81ad00 brk(0x55557a83bd00) = 0x55557a83bd00 brk(0x55557a83c000) = 0x55557a83c000 mprotect(0x7f5dbd94f000, 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 socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3 setsockopt(3, SOL_IPV6, IPV6_XFRM_POLICY, "\xac\x14\x14\xbb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 232) = 0 socket(AF_KEY, SOCK_RAW, 2) = 4 setsockopt(4, SOL_SOCKET, SO_RCVBUF, [0], 4) = 0 [ 24.114648][ T23] audit: type=1400 audit(1738807766.380:66): avc: denied { execmem } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 24.137184][ T23] audit: type=1400 audit(1738807766.410:67): avc: denied { create } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\x02\x0b\x00\x01\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16 sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\x02\x12\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16 socket(AF_NETLINK, SOCK_RAW, NETLINK_XFRM) = 5 socket(AF_NETLINK, SOCK_RAW, NETLINK_XFRM) = 6 sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\xb8\x00\x00\x00\x13\x00\xe9\x99\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xac\x1e\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=184}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 184 socket(AF_NETLINK, SOCK_RAW, NETLINK_XFRM) = 7 sendmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\xb8\x00\x00\x00\x13\x00\xe9\x99\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\x1e\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xee\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=184}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_EOR}, 0) = 184 [ 24.157383][ T23] audit: type=1400 audit(1738807766.430:68): avc: denied { setopt } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 [ 24.177158][ T23] audit: type=1400 audit(1738807766.450:69): avc: denied { write } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 [ 24.197987][ T23] audit: type=1400 audit(1738807766.470:70): avc: denied { create } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 24.201349][ T357] ================================================================== [ 24.218163][ T23] audit: type=1400 audit(1738807766.470:71): avc: denied { write } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 24.226011][ T357] BUG: KASAN: slab-out-of-bounds in xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.246165][ T23] audit: type=1400 audit(1738807766.470:72): avc: denied { nlmsg_write } for pid=357 comm="syz-executor384" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 24.255148][ T357] Read of size 1 at addr ffff8881ef64bbd8 by task syz-executor384/357 [ 24.255150][ T357] [ 24.255172][ T357] CPU: 0 PID: 357 Comm: syz-executor384 Not tainted 5.4.289-syzkaller-00030-gcb850525fc3e #0 [ 24.295945][ T357] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 24.305837][ T357] Call Trace: [ 24.308973][ T357] dump_stack+0x1d8/0x241 [ 24.313137][ T357] ? nf_ct_l4proto_log_invalid+0x258/0x258 [ 24.318769][ T357] ? printk+0xd1/0x111 [ 24.322670][ T357] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.329008][ T357] ? wake_up_klogd+0xb2/0xf0 [ 24.333433][ T357] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.340738][ T357] print_address_description+0x8c/0x600 [ 24.346243][ T357] ? panic+0x89d/0x89d [ 24.350133][ T357] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.356465][ T357] __kasan_report+0xf3/0x120 [ 24.360893][ T357] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.367224][ T357] kasan_report+0x30/0x60 [ 24.372088][ T357] xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 24.378256][ T357] ? xfrm_policy_addr_delta+0x234/0x340 [ 24.383629][ T357] xfrm_policy_inexact_insert_node+0x8f3/0xb00 [ 24.389620][ T357] ? xfrm_policy_inexact_alloc_bin+0x5b2/0x1440 [ 24.395971][ T357] xfrm_policy_inexact_alloc_chain+0x4f9/0xb10 [ 24.401979][ T357] xfrm_policy_inexact_insert+0x69/0x10e0 [ 24.407528][ T357] ? _raw_spin_lock_bh+0xa4/0x1b0 [ 24.412362][ T357] ? _raw_spin_lock_irq+0x1b0/0x1b0 [ 24.417400][ T357] ? policy_hash_bysel+0x12c/0x6f0 [ 24.422344][ T357] ? memcpy+0x38/0x50 [ 24.426162][ T357] xfrm_policy_insert+0xe1/0x8a0 [ 24.430939][ T357] xfrm_add_policy+0x4f2/0x980 [ 24.435535][ T357] ? __nla_validate+0x50/0x50 [ 24.440060][ T357] ? xfrm_dump_sa_done+0xc0/0xc0 [ 24.444837][ T357] ? __nla_parse+0x3a/0x50 [ 24.449072][ T357] xfrm_user_rcv_msg+0x689/0x9b0 [ 24.454009][ T357] ? xfrm_netlink_rcv+0x80/0x80 [ 24.458687][ T357] ? avc_has_perm+0xd2/0x260 [ 24.463164][ T357] ? avc_has_perm+0x16f/0x260 [ 24.467628][ T357] ? avc_has_perm_noaudit+0x3d0/0x3d0 [ 24.472924][ T357] netlink_rcv_skb+0x1d5/0x420 [ 24.477520][ T357] ? xfrm_netlink_rcv+0x80/0x80 [ 24.482201][ T357] ? nla_put_string+0x30/0x30 [ 24.486716][ T357] ? mutex_trylock+0xa0/0xa0 [ 24.491139][ T357] ? __netlink_lookup+0x369/0x390 [ 24.496003][ T357] xfrm_netlink_rcv+0x6e/0x80 [ 24.500513][ T357] netlink_unicast+0x936/0xb20 [ 24.505112][ T357] ? netlink_detachskb+0x90/0x90 [ 24.509900][ T357] ? __virt_addr_valid+0x20e/0x2a0 [ 24.514833][ T357] netlink_sendmsg+0xa18/0xcf0 [ 24.519433][ T357] ? netlink_getsockopt+0x550/0x550 [ 24.524463][ T357] ? import_iovec+0x1bb/0x380 [ 24.528984][ T357] ? security_socket_sendmsg+0x7d/0xa0 [ 24.534274][ T357] ? netlink_getsockopt+0x550/0x550 [ 24.539310][ T357] ____sys_sendmsg+0x5ac/0x8f0 [ 24.543910][ T357] ? __sys_sendmsg_sock+0x2b0/0x2b0 [ 24.548947][ T357] __sys_sendmsg+0x28b/0x380 [ 24.553365][ T357] ? ____sys_sendmsg+0x8f0/0x8f0 [ 24.558142][ T357] ? ptrace_notify+0x24c/0x350 [ 24.562750][ T357] do_syscall_64+0xca/0x1c0 [ 24.567083][ T357] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 24.572832][ T357] RIP: 0033:0x7f5dbd8dbae9 [ 24.577062][ T357] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 [ 24.596501][ T357] RSP: 002b:00007ffe7bfe11b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 24.604757][ T357] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5dbd8dbae9 [ 24.612566][ T357] RDX: 0000000000004000 RSI: 0000200000000580 RDI: 0000000000000005 [ 24.620394][ T357] RBP: 0000200000000580 R08: 0000200000000017 R09: 0000000000000000 [ 24.628194][ T357] R10: 0000200000000012 R11: 0000000000000246 R12: 0000000000000000 [ 24.635993][ T357] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000a [ 24.643804][ T357] [ 24.645970][ T357] Allocated by task 357: [ 24.650057][ T357] __kasan_kmalloc+0x171/0x210 [ 24.656136][ T357] sk_prot_alloc+0xbd/0x3e0 [ 24.660477][ T357] sk_alloc+0x35/0x2f0 [ 24.664367][ T357] pfkey_create+0x122/0x670 [ 24.668708][ T357] __sock_create+0x3cb/0x7a0 [ 24.673130][ T357] __sys_socket+0x132/0x370 [ 24.677470][ T357] __x64_sys_socket+0x76/0x80 [ 24.681988][ T357] do_syscall_64+0xca/0x1c0 [ 24.686324][ T357] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 24.693434][ T357] [ 24.695595][ T357] Freed by task 10: [ 24.699252][ T357] __kasan_slab_free+0x1b5/0x270 [ 24.704019][ T357] kfree+0x123/0x370 [ 24.707892][ T357] rcu_do_batch+0x492/0xa00 [ 24.712225][ T357] rcu_core+0x4c8/0xcb0 [ 24.716215][ T357] __do_softirq+0x23b/0x6b7 [ 24.720550][ T357] [ 24.722727][ T357] The buggy address belongs to the object at ffff8881ef64b800 [ 24.722727][ T357] which belongs to the cache kmalloc-1k of size 1024 [ 24.736746][ T357] The buggy address is located 984 bytes inside of [ 24.736746][ T357] 1024-byte region [ffff8881ef64b800, ffff8881ef64bc00) [ 24.749928][ T357] The buggy address belongs to the page: [ 24.755409][ T357] page:ffffea0007bd9200 refcount:1 mapcount:0 mapping:ffff8881f5c02280 index:0x0 compound_mapcount: 0 [ 24.766169][ T357] flags: 0x8000000000010200(slab|head) [ 24.771459][ T357] raw: 8000000000010200 dead000000000100 dead000000000122 ffff8881f5c02280 [ 24.780405][ T357] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 24.788814][ T357] page dumped because: kasan: bad access detected [ 24.795284][ T357] page_owner tracks the page as allocated [ 24.800795][ T357] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2000(__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC) [ 24.814082][ T357] prep_new_page+0x18f/0x370 [ 24.818530][ T357] get_page_from_freelist+0x2d13/0x2d90 [ 24.824516][ T357] __alloc_pages_nodemask+0x393/0x840 [ 24.829717][ T357] alloc_slab_page+0x39/0x3c0 [ 24.834336][ T357] new_slab+0x97/0x440 [ 24.838249][ T357] ___slab_alloc+0x2fe/0x490 [ 24.842689][ T357] __slab_alloc+0x62/0xa0 [ 24.846840][ T357] __kmalloc+0x19b/0x2e0 [ 24.850920][ T357] blk_mq_realloc_hw_ctxs+0x303/0x13b0 [ 24.856271][ T357] blk_mq_init_allocated_queue+0x52d/0x1990 [ 24.861937][ T357] blk_mq_init_queue+0x49/0xa0 [ 24.866552][ T357] scsi_mq_alloc_queue+0x40/0x110 [ 24.871402][ T357] scsi_alloc_sdev+0x654/0x960 [ 24.875995][ T357] scsi_probe_and_add_lun+0x1aa/0x4010 [ 24.881317][ T357] __scsi_scan_target+0x1fb/0xe80 [ 24.886768][ T357] scsi_scan_host_selected+0x349/0x620 [ 24.892057][ T357] page_owner free stack trace missing [ 24.897255][ T357] [ 24.899423][ T357] Memory state around the buggy address: [ 24.904907][ T357] ffff8881ef64ba80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sendmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\xb8\x00\x00\x00\x13\x00\xe9\x99\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\x1e\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xee\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=184}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 184 exit_group(0) = ? +++ exited with 0 +++ [ 24.912810][ T357] ffff8881ef64bb00: 00 00 00 00 00 00 0