From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f80.google.com (mail-io1-f80.google.com [209.85.166.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35D7B2FAC1D for ; Tue, 12 Aug 2025 17:33:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755020014; cv=none; b=ZiTq5A374QEtgRAH3CF2norsnnAhZ4aOFYlWLt7LklAzUKy/K39V95O2dYHXamXJ+yVHnW7XmTBMx6ZLiq536yQQRsbtYJ3Mi5B4/9wag+kAmSC3fgPz6nl6leOuW3bDfAlYBYPLY3N/Of5oYtZTvIF/JnjyDy1uhgZNLY1hNeI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755020014; c=relaxed/simple; bh=Gy6UC+92D62MVBKjzd0r9Bc/ayaMrxTaUNk00j3yJPo=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Y/4JEiZYXlXzePJV88tl3J3QxxQGm6OUcHALqg1773VI8iiGuTg+DZuKq3v9rS1Epd4gHxxWSQqj0xeU0zcTMuZnAymQ7JbCtXIxxfyJeIhfhoeRPCQBMpxrVt6AiLWZhlSuVI35FsbKigBR4xAM2HtaiX8w/orrX3uJjaIG5C4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f80.google.com with SMTP id ca18e2360f4ac-88177d99827so564938039f.3 for ; Tue, 12 Aug 2025 10:33:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755020012; x=1755624812; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BWK1wMnSiDGrUqxPAozMNdtaG9RgLXJKPhFYkU2ASkw=; b=FKhVQC5NXurY9WgjTJHBCO2WLDZfw4elKNoNlnk01RyYdWudKT+/pQZmSz03EzKmSA qhjSPaPpwDhrVVII5oz5FjcxIjgxfEe3DLPeM49On4+Tqn+3Ho9BOSpJSM0zhUHW6mEo J/HdtE5AjOrpSU8bOeEE+M1hVzP47QNarmexVXoUqu5N5UUy3ob9bfYVlVoPck44ZxWg mWEFTr5MnPpo58pMQMU/xboJndu4N2NM+NQCz4y+IAovkQLjA4TZnSithJe7ZwROK6UU 4NyPImtC0AjAroZyiXsxk0zvackDuHg2ua7aD0vXG+JAsfJHSBH2swT8FGWd6N/3giTP kfLQ== X-Forwarded-Encrypted: i=1; AJvYcCVzO4Wv8dC89JLKJj3e8Kp0CFqZLzWlyqT75F0ihc3BQRsstU7rH8P2YyqCPesIYuLXMyb5WpNu5kTm/No=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4Qxju9lC5GpwFTeJPquEi4YR0TFJGqpjFB8g4oKHZTFer54GF qyyEe2fj7E7l4szPCwCE1xPFa+TrgmC+IJfISasmlzUA0C0uCxy/0L2jAo/u7p/4bzj3jdGUrIO NeR/3wo+medrbaW1B7cx0LGMLojmfQTZXEzClnPLxV0FhapSNmuKx2GiWZXA= X-Google-Smtp-Source: AGHT+IHs0ef4ywJkTTsT7oaqORPlLl7XuQCukeZMS6GTN0vUd6Xp+0R0NCCIxJA28Feqfi6fW4tYsjLV3Fv6I2zKo4zr3exuxeVK Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6602:1690:b0:883:e83d:f2f8 with SMTP id ca18e2360f4ac-88428c5ac99mr73509539f.13.1755020012385; Tue, 12 Aug 2025 10:33:32 -0700 (PDT) Date: Tue, 12 Aug 2025 10:33:32 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <689b7aec.050a0220.7f033.0135.GAE@google.com> Subject: [syzbot] [net?] KMSAN: uninit-value in pfkey_send_notify From: syzbot To: davem@davemloft.net, edumazet@google.com, herbert@gondor.apana.org.au, horms@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, steffen.klassert@secunet.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c30a13538d9f Merge tag 'bpf-fixes' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17bb7ea2580000 kernel config: https://syzkaller.appspot.com/x/.config?x=9ee158fa735566e2 dashboard link: https://syzkaller.appspot.com/bug?extid=2d494ba0c96e096f1c11 compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/d7d8c2a837fb/disk-c30a1353.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9e67e86fa1fd/vmlinux-c30a1353.xz kernel image: https://storage.googleapis.com/syzbot-assets/731ca108689d/bzImage-c30a1353.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2d494ba0c96e096f1c11@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] BUG: KMSAN: uninit-value in raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] BUG: KMSAN: uninit-value in atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] BUG: KMSAN: uninit-value in pfkey_send_notify+0x291/0xe60 net/key/af_key.c:3079 arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] pfkey_send_notify+0x291/0xe60 net/key/af_key.c:3079 km_state_notify net/xfrm/xfrm_state.c:2738 [inline] km_state_expired net/xfrm/xfrm_state.c:2752 [inline] xfrm_timer_handler+0x464/0x1320 net/xfrm/xfrm_state.c:718 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x556/0xd80 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x18e/0x760 kernel/time/hrtimer.c:1842 handle_softirqs+0x166/0x6e0 kernel/softirq.c:579 __do_softirq+0x14/0x1b kernel/softirq.c:613 do_softirq+0x99/0x100 kernel/softirq.c:480 __local_bh_enable_ip+0xa1/0xb0 kernel/softirq.c:407 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x2d/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] __fib6_clean_all net/ipv6/ip6_fib.c:2317 [inline] fib6_clean_all+0x1fa/0x300 net/ipv6/ip6_fib.c:2326 rt6_sync_up+0x157/0x180 net/ipv6/route.c:4891 addrconf_notify+0x1cd7/0x1d10 net/ipv6/addrconf.c:3728 notifier_call_chain kernel/notifier.c:85 [inline] raw_notifier_call_chain+0xdd/0x410 kernel/notifier.c:453 call_netdevice_notifiers_info+0x1ac/0x2b0 net/core/dev.c:2229 netif_state_change+0x3af/0x410 net/core/dev.c:1583 do_setlink+0x1b33/0x7e50 net/core/rtnetlink.c:3390 rtnl_group_changelink net/core/rtnetlink.c:3775 [inline] __rtnl_newlink net/core/rtnetlink.c:3929 [inline] rtnl_newlink+0x2b96/0x3a90 net/core/rtnetlink.c:4057 rtnetlink_rcv_msg+0x106f/0x14b0 net/core/rtnetlink.c:6946 netlink_rcv_skb+0x54d/0x680 net/netlink/af_netlink.c:2552 rtnetlink_rcv+0x35/0x40 net/core/rtnetlink.c:6973 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0xf04/0x12b0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x10b3/0x1250 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x330/0x3d0 net/socket.c:729 ____sys_sendmsg+0x7e0/0xd80 net/socket.c:2614 ___sys_sendmsg+0x271/0x3b0 net/socket.c:2668 __sys_sendmsg net/socket.c:2700 [inline] __do_sys_sendmsg net/socket.c:2705 [inline] __se_sys_sendmsg net/socket.c:2703 [inline] __x64_sys_sendmsg+0x211/0x3e0 net/socket.c:2703 x64_sys_call+0x1dfd/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] __do_kmalloc_node mm/slub.c:4364 [inline] __kvmalloc_node_noprof+0xa36/0x1530 mm/slub.c:5052 kvmalloc_array_node_noprof include/linux/slab.h:1065 [inline] io_alloc_cache_init+0x53/0x150 io_uring/alloc_cache.c:25 io_ring_ctx_alloc+0x617/0x14f0 io_uring/io_uring.c:337 io_uring_create+0x32f/0x1400 io_uring/io_uring.c:3743 io_uring_setup io_uring/io_uring.c:3890 [inline] __do_sys_io_uring_setup io_uring/io_uring.c:3924 [inline] __se_sys_io_uring_setup+0x572/0x590 io_uring/io_uring.c:3915 __x64_sys_io_uring_setup+0x78/0xb0 io_uring/io_uring.c:3915 x64_sys_call+0x35b4/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:426 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 14064 Comm: syz.4.2614 Tainted: G W 6.16.0-syzkaller-12250-gc30a13538d9f #0 PREEMPT(none) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ===================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup