From: sashiko-bot@kernel.org
To: selinux@vger.kernel.org
Subject: Re: [PATCH v2] selinux: fix uninit-value in selinux_socket_connect_helper()
Date: Mon, 30 Nov 2026 17:59:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-241761@kernel.org> (raw)
In-Reply-To: <20261130175134.88024-1-petrvaganoff@gmail.com>
> During fuzz testing, the following issue was discovered:
>
> BUG: KMSAN: uninit-value in netlbl_conn_setattr+0x3cc/0x5d0
> net/netlabel/netlabel_kapi.c:1144
> netlbl_conn_setattr+0x3cc/0x5d0 net/netlabel/netlabel_kapi.c:1144
> selinux_netlbl_socket_connect_helper security/selinux/netlabel.c:569 [inline]
> selinux_netlbl_socket_connect_locked security/selinux/netlabel.c:597 [inline]
> selinux_netlbl_socket_connect+0x23b/0x320 security/selinux/netlabel.c:615
> selinux_socket_connect+0xe8/0x140 security/selinux/hooks.c:5052
> security_socket_connect+0x83/0x130 security/security.c:4708
> __sys_connect_file net/socket.c:2049 [inline]
> __sys_connect+0x19f/0x270 net/socket.c:2066
> __x64_sys_connect+0x3e/0x50 net/socket.c:2072
>
> Local variable address created at:
> [ ... ]
> Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
>
> Fixes: 014ab19a69c3 ("selinux: Set socket NetLabel based on connection endpoint")
> Cc: stable@vger.kernel.org
> Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261130175134.88024-1-petrvaganoff@gmail.com?part=1
next prev parent reply other threads:[~2026-11-30 17:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 17:51 [PATCH v2] selinux: fix uninit-value in selinux_socket_connect_helper() Petr Vaganov
2026-11-30 17:59 ` sashiko-bot [this message]
2026-12-02 3:39 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-241761@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.