OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>,
	Pavel Tikhomirov <ptikhomirov@virtuozzo.com>,
	Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>,
	Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: devel@openvz.org, Artem Bulgakov <artem.bulgakov@virtuozzo.com>
Subject: Re: [Devel] [PATCH hci-8.2] ve/kthreadd: keep the create request of a VE kthread off the stack
Date: Tue, 1 Dec 2026 10:24:27 +0000	[thread overview]
Message-ID: <010701a2312263f7-757c3323-7ede-4c21-a8a5-941ff39bbe2b-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261201-ve-kthreadd-stack-v1-1-b4fb15511033@virtuozzo.com>

> __kthread_create_on_node_ve() queues a work item from its stack to the
> kthreadd worker of the VE. When a fatal signal ends the wait, the
> function returns -EINTR and the item stays in the queue. The worker
> then uses a dead stack frame. A SIGKILL to the init of a container
> during the write of START to ve.state crashes the node:
> 
>   Oops: general protection fault
>   RIP: __list_del_entry_valid_or_report
>   kthread_worker_fn
>   Comm: kthreadd ve: vek5
> 
> Put the work item into struct kthread_create_info. As in the kthreadd
> of the host, the caller frees this structure, or, if the caller was
> killed, the new thread or the worker on a failed kernel_thread().
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-158054
> 
> Feature: nfs/nfsd: containerization
> Fixes: f94e1c28fdd1 ("ve/kthreadd: add per-ve kthreads creation interface")
> Reported-by: Artem Bulgakov <artem.bulgakov@virtuozzo.com>
> Signed-off-by: Vasileios Almpanis <vasileios.almpanis@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/20261201-ve-kthreadd-stack-v1-1-b4fb15511033@virtuozzo.com?part=1


_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  reply	other threads:[~2026-12-01 10:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 10:20 Vasileios Almpanis
2026-12-01 10:24 ` no-reply [this message]
2026-12-01 10:52 ` Mirian Shilakadze
2026-12-01 15:17 ` Konstantin Khorenko
2026-12-01 15:17 ` Konstantin Khorenko

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=010701a2312263f7-757c3323-7ede-4c21-a8a5-941ff39bbe2b-000000@eu-central-1.amazonses.com \
    --to=no-reply@sashiko.virtuozzo.com \
    --cc=artem.bulgakov@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=khorenko@virtuozzo.com \
    --cc=mirian.shilakadze@virtuozzo.com \
    --cc=ptikhomirov@virtuozzo.com \
    --cc=vasileios.almpanis@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