From: "Graf (AWS), Alexander" <graf@amazon.de>
To: Yousef Alhouseen <alhouseenyousef@gmail.com>
Cc: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@amazon.com>,
"Arnd Bergmann" <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] virtio: nsm: require CAP_SYS_ADMIN for raw messages
Date: Thu, 25 Jun 2026 22:19:06 +0000 [thread overview]
Message-ID: <7eacf065-68d2-413a-9783-4153c5e9c874@amazon.com> (raw)
In-Reply-To: <20260624173641.4529-1-alhouseenyousef@gmail.com>
On 24.06.26 19:36, Yousef Alhouseen wrote:
> NSM_IOCTL_RAW is documented as CAP_SYS_ADMIN-only.
>
> /dev/nsm is mode 0666, but the ioctl handler did not check that capability.
>
> Reject unprivileged raw messages before sending them to the device.
>
> Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
This looks like a direct duplicate of
https://lore.kernel.org/lkml/20260621085743.76329-1-khoavna.tin.2225@gmail.com/?
Alex
Amazon Web Services Development Center Germany GmbH
Tamara-Danz-Str. 13
10243 Berlin
Geschaeftsfuehrung: Christof Hellmis, Andreas Stieger
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
next prev parent reply other threads:[~2026-06-25 22:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 17:36 Yousef Alhouseen
2026-06-25 22:19 ` Graf (AWS), Alexander [this message]
2026-06-26 22:38 ` Yousef Alhouseen
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=7eacf065-68d2-413a-9783-4153c5e9c874@amazon.com \
--to=graf@amazon.de \
--cc=alhouseenyousef@gmail.com \
--cc=arnd@arndb.de \
--cc=aws-nitro-enclaves-devel@amazon.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@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 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®