From: patchwork-bot+netdevbpf@kernel.org
To: Jinmeng Zhou <jjjinmeng.zhou@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, shenwenbosmile@gmail.com
Subject: Re: [PATCH] net/nfc/rawsock.c: fix a permission check bug
Date: Mon, 10 May 2021 21:30:10 +0000 [thread overview]
Message-ID: <162068221023.28006.17990440223056358619.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210508035230.8229-1-jjjinmeng.zhou@gmail.com>
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Sat, 8 May 2021 11:52:30 +0800 you wrote:
> From: Jeimon <jjjinmeng.zhou@gmail.com>
>
> The function rawsock_create() calls a privileged function sk_alloc(), which requires a ns-aware check to check net->user_ns, i.e., ns_capable(). However, the original code checks the init_user_ns using capable(). So we replace the capable() with ns_capable().
>
> Signed-off-by: Jeimon <jjjinmeng.zhou@gmail.com>
> ---
> net/nfc/rawsock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- net/nfc/rawsock.c: fix a permission check bug
https://git.kernel.org/netdev/net/c/8ab78863e9ef
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-05-10 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 3:52 Jinmeng Zhou
2021-05-10 21:30 ` patchwork-bot+netdevbpf [this message]
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=162068221023.28006.17990440223056358619.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=jjjinmeng.zhou@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shenwenbosmile@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®