[Devel] [PATCH hci-8.1 v3 2/6] ve/printk: Report potentially leaking usage of ve_printk functions

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 12 19:35:40 MSK 2026


I won't apply this version, please send v4 with the changes below.

On Mon, 12 Oct 2026 00:52:29 +0200, Vladimir Riabchun <vladimir.riabchun at virtuozzo.com> wrote:
> We don't want to rely on get_exec_env() value in non-task context.
> When this happens, let's issue a WARN and either reject printing or
> return host log state.

Item 7 of the cover letter reply: add a Fixes tag for commit
8c24627ed5346 ("ve/printk: Introduce ve_printk()").

Why: ve_printk() took the VE from current from the start, which is
the leak this patch stops.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list