From: no-reply@sashiko.virtuozzo.com
To: Konstantin Khorenko <khorenko@virtuozzo.com>,
Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Cc: "Denis V. Lunev" <den@virtuozzo.com>,
OpenVZ devel list <devel@openvz.org>
Subject: Re: [Devel] [PATCH RK hci-8.0 1/3] ve: downgrade the trusted exec/mmap denial from WARN to pr_warn
Date: Tue, 1 Dec 2026 00:16:55 +0000 [thread overview]
Message-ID: <010701a22ef62f43-a4f06f19-4d8c-46cd-91ed-1764e2d7c4d1-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261125164802.402895-1-khorenko@virtuozzo.com>
> ve_check_trusted_exec()/ve_check_trusted_mmap() protect the host, but
> the WARN(1, ...) is too much here:
>
> * it taints the kernel while this is not a kernel bug which we beed to
> debug and fix
> * the backtrace only shows the exec/mmap path, which is already known
> * on a host booted with panic_on_warn a denied exec takes the host down
>
> The SIGSEGV and the core dump of the offending process are enough to
> report and investigate such an attempt. Downgrade the WARN() to
> pr_warn(), keeping the message, the rate limiting and the signal.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-147642
>
> Fixes: fc7157b84c32 ("trusted/ve/mmap: Protect from unsecure library load from CT image")
> Fixes: cc218b70c6b4 ("trusted/ve/fs/exec: Send SIGSEGV to a process trying to execute untrusted files")
> Feature: security/fs: tructed exec feature
> Link: http://lore.virtuozzo.com/20260819162513.493543-1-khorenko@virtuozzo.com
> Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
>
> ReadyKernel-specific changes:
> The patch was taken as-is without changes.
>
> RK_BUG: VSTOR-157027 VSTOR-157031
> RK_CHANGELOG: Do not crash a host with panic_on_warn on a denied exec/mmap.
>
> Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261125164802.402895-1-khorenko@virtuozzo.com?part=1
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-12-01 0:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 16:48 Konstantin Khorenko
2026-11-25 16:48 ` [Devel] [PATCH RK hci-8.0 2/3] ve: start the kthreads of a container in its ve namespace Konstantin Khorenko
2026-12-01 0:20 ` no-reply
2026-11-25 16:48 ` [Devel] [PATCH RK hci-8.0 3/3] ms/KVM: x86: Unconditionally reset MMU context when emulating INIT Konstantin Khorenko
2026-12-01 0:25 ` no-reply
2026-12-01 0:16 ` no-reply [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=010701a22ef62f43-a4f06f19-4d8c-46cd-91ed-1764e2d7c4d1-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=den@virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@virtuozzo.com \
--cc=ptikhomirov@virtuozzo.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