./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor298992588 <...> Warning: Permanently added '10.128.0.86' (ED25519) to the list of known hosts. execve("./syz-executor298992588", ["./syz-executor298992588"], 0x7ffd18956140 /* 10 vars */) = 0 brk(NULL) = 0x555592ed2000 brk(0x555592ed2d00) = 0x555592ed2d00 arch_prctl(ARCH_SET_FS, 0x555592ed2380) = 0 set_tid_address(0x555592ed2650) = 358 set_robust_list(0x555592ed2660, 24) = 0 rseq(0x555592ed2ca0, 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-executor298992588", 4096) = 27 getrandom("\x9e\xf5\xfd\x20\x52\xb1\x42\x90", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555592ed2d00 brk(0x555592ef3d00) = 0x555592ef3d00 brk(0x555592ef4000) = 0x555592ef4000 mprotect(0x7fb8bc897000, 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 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 [ 25.447440][ T23] audit: type=1400 audit(1738824145.779:66): avc: denied { execmem } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 25.470244][ T23] audit: type=1400 audit(1738824145.799:67): avc: denied { create } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 [ 25.490364][ T23] audit: type=1400 audit(1738824145.819:68): avc: denied { setopt } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 [ 25.491633][ T358] ================================================================== [ 25.510050][ T23] audit: type=1400 audit(1738824145.819:69): avc: denied { write } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=key_socket permissive=1 [ 25.517604][ T358] BUG: KASAN: slab-out-of-bounds in xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.517617][ T358] Read of size 1 at addr ffff8881ef20cbd8 by task syz-executor298/358 [ 25.536881][ T23] audit: type=1400 audit(1738824145.819:70): avc: denied { create } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 25.545866][ T358] [ 25.545884][ T358] CPU: 1 PID: 358 Comm: syz-executor298 Not tainted 5.4.289-syzkaller-00030-gcb850525fc3e #0 [ 25.545893][ T358] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 25.553891][ T23] audit: type=1400 audit(1738824145.819:71): avc: denied { write } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 25.573989][ T358] Call Trace: [ 25.574004][ T358] dump_stack+0x1d8/0x241 [ 25.574017][ T358] ? nf_ct_l4proto_log_invalid+0x258/0x258 [ 25.576170][ T23] audit: type=1400 audit(1738824145.819:72): avc: denied { nlmsg_write } for pid=358 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_xfrm_socket permissive=1 [ 25.586146][ T358] ? printk+0xd1/0x111 [ 25.586154][ T358] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.586167][ T358] ? wake_up_klogd+0xb2/0xf0 [ 25.664359][ T358] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.670687][ T358] print_address_description+0x8c/0x600 [ 25.676062][ T358] ? panic+0x89d/0x89d [ 25.679973][ T358] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.686302][ T358] __kasan_report+0xf3/0x120 [ 25.690731][ T358] ? xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.697067][ T358] kasan_report+0x30/0x60 [ 25.701232][ T358] xfrm_policy_inexact_list_reinsert+0x599/0x650 [ 25.707394][ T358] ? xfrm_policy_addr_delta+0x234/0x340 [ 25.712773][ T358] xfrm_policy_inexact_insert_node+0x8f3/0xb00 [ 25.718764][ T358] ? xfrm_policy_inexact_alloc_bin+0x5b2/0x1440 [ 25.724839][ T358] xfrm_policy_inexact_alloc_chain+0x4f9/0xb10 [ 25.730829][ T358] xfrm_policy_inexact_insert+0x69/0x10e0 [ 25.736384][ T358] ? _raw_spin_lock_bh+0xa4/0x1b0 [ 25.741241][ T358] ? _raw_spin_lock_irq+0x1b0/0x1b0 [ 25.746276][ T358] ? policy_hash_bysel+0x12c/0x6f0 [ 25.751222][ T358] ? memcpy+0x38/0x50 [ 25.755041][ T358] xfrm_policy_insert+0xe1/0x8a0 [ 25.759817][ T358] xfrm_add_policy+0x4f2/0x980 [ 25.764416][ T358] ? __nla_validate+0x50/0x50 [ 25.768928][ T358] ? xfrm_dump_sa_done+0xc0/0xc0 [ 25.773704][ T358] ? __nla_parse+0x3a/0x50 [ 25.777956][ T358] xfrm_user_rcv_msg+0x689/0x9b0 [ 25.782734][ T358] ? xfrm_netlink_rcv+0x80/0x80 [ 25.787422][ T358] ? avc_has_perm+0xd2/0x260 [ 25.791842][ T358] ? avc_has_perm+0x16f/0x260 [ 25.796355][ T358] ? avc_has_perm_noaudit+0x3d0/0x3d0 [ 25.801566][ T358] netlink_rcv_skb+0x1d5/0x420 [ 25.806163][ T358] ? xfrm_netlink_rcv+0x80/0x80 [ 25.810849][ T358] ? nla_put_string+0x30/0x30 [ 25.815364][ T358] ? mutex_trylock+0xa0/0xa0 [ 25.819790][ T358] ? __netlink_lookup+0x369/0x390 [ 25.824651][ T358] xfrm_netlink_rcv+0x6e/0x80 [ 25.829162][ T358] netlink_unicast+0x936/0xb20 [ 25.833763][ T358] ? netlink_detachskb+0x90/0x90 [ 25.838538][ T358] ? __virt_addr_valid+0x20e/0x2a0 [ 25.843483][ T358] netlink_sendmsg+0xa18/0xcf0 [ 25.848085][ T358] ? netlink_getsockopt+0x550/0x550 [ 25.853114][ T358] ? import_iovec+0x1bb/0x380 [ 25.857631][ T358] ? security_socket_sendmsg+0x7d/0xa0 [ 25.862923][ T358] ? netlink_getsockopt+0x550/0x550 [ 25.867960][ T358] ____sys_sendmsg+0x5ac/0x8f0 [ 25.872561][ T358] ? __sys_sendmsg_sock+0x2b0/0x2b0 [ 25.877593][ T358] __sys_sendmsg+0x28b/0x380 [ 25.882019][ T358] ? ____sys_sendmsg+0x8f0/0x8f0 [ 25.886791][ T358] ? ptrace_notify+0x24c/0x350 [ 25.891400][ T358] do_syscall_64+0xca/0x1c0 [ 25.895733][ T358] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 25.901477][ T358] RIP: 0033:0x7fb8bc823ae9 [ 25.905713][ T358] 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 [ 25.925151][ T358] RSP: 002b:00007ffcd8664128 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 25.933403][ T358] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb8bc823ae9 [ 25.941207][ T358] RDX: 0000000000004000 RSI: 0000200000000580 RDI: 0000000000000005 [ 25.949020][ T358] RBP: 0000200000000580 R08: 0000200000000017 R09: 0000000000000000 [ 25.956830][ T358] R10: 0000200000000012 R11: 0000000000000246 R12: 0000000000000000 [ 25.964643][ T358] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000a [ 25.972455][ T358] [ 25.974622][ T358] Allocated by task 358: [ 25.978707][ T358] __kasan_kmalloc+0x171/0x210 [ 25.983305][ T358] sk_prot_alloc+0xbd/0x3e0 [ 25.987642][ T358] sk_alloc+0x35/0x2f0 [ 25.991549][ T358] pfkey_create+0x122/0x670 [ 25.995888][ T358] __sock_create+0x3cb/0x7a0 [ 26.000315][ T358] __sys_socket+0x132/0x370 [ 26.004654][ T358] __x64_sys_socket+0x76/0x80 [ 26.009167][ T358] do_syscall_64+0xca/0x1c0 [ 26.013508][ T358] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 26.019230][ T358] [ 26.021402][ T358] Freed by task 10: [ 26.025051][ T358] __kasan_slab_free+0x1b5/0x270 [ 26.029826][ T358] kfree+0x123/0x370 [ 26.033558][ T358] blk_stat_free_callback_rcu+0x5d/0x70 [ 26.038938][ T358] rcu_do_batch+0x492/0xa00 [ 26.043278][ T358] rcu_core+0x4c8/0xcb0 [ 26.047269][ T358] __do_softirq+0x23b/0x6b7 [ 26.051604][ T358] [ 26.053780][ T358] The buggy address belongs to the object at ffff8881ef20c800 [ 26.053780][ T358] which belongs to the cache kmalloc-1k of size 1024 [ 26.067668][ T358] The buggy address is located 984 bytes inside of [ 26.067668][ T358] 1024-byte region [ffff8881ef20c800, ffff8881ef20cc00) [ 26.080853][ T358] The buggy address belongs to the page: [ 26.086336][ T358] page:ffffea0007bc8200 refcount:1 mapcount:0 mapping:ffff8881f5c02280 index:0x0 compound_mapcount: 0 [ 26.097087][ T358] flags: 0x8000000000010200(slab|head) [ 26.102388][ T358] raw: 8000000000010200 dead000000000100 dead000000000122 ffff8881f5c02280 [ 26.110805][ T358] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 26.119217][ T358] page dumped because: kasan: bad access detected [ 26.125472][ T358] page_owner tracks the page as allocated [ 26.131024][ T358] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2000(__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC) [ 26.144309][ T358] prep_new_page+0x18f/0x370 [ 26.148732][ T358] get_page_from_freelist+0x2d13/0x2d90 [ 26.154111][ T358] __alloc_pages_nodemask+0x393/0x840 [ 26.159320][ T358] alloc_slab_page+0x39/0x3c0 [ 26.163836][ T358] new_slab+0x97/0x440 [ 26.167737][ T358] ___slab_alloc+0x2fe/0x490 [ 26.172165][ T358] __slab_alloc+0x62/0xa0 [ 26.176330][ T358] __kmalloc+0x19b/0x2e0 [ 26.180413][ T358] blk_mq_realloc_hw_ctxs+0x303/0x13b0 [ 26.185703][ T358] blk_mq_init_allocated_queue+0x52d/0x1990 [ 26.191431][ T358] blk_mq_init_queue+0x49/0xa0 [ 26.196030][ T358] scsi_mq_alloc_queue+0x40/0x110 [ 26.200890][ T358] scsi_alloc_sdev+0x654/0x960 [ 26.205491][ T358] scsi_probe_and_add_lun+0x1aa/0x4010 [ 26.210786][ T358] __scsi_scan_target+0x1fb/0xe80 [ 26.215645][ T358] scsi_scan_host_selected+0x349/0x620 [ 26.220936][ T358] page_owner free stack trace missing [ 26.226143][ T358] [ 26.228314][ T358] Memory state around the buggy address: [ 26.233785][ T358] ffff8881ef20ca80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.241683][ T358] ffff8881ef20cb00: 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 +++ [ 26.249582][ T3