From: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>,
Pavel Tikhomirov <ptikhomirov@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 14:52:45 +0400 [thread overview]
Message-ID: <e28f975f-fc9c-4805-bd5f-796423f77341@virtuozzo.com> (raw)
In-Reply-To: <20261201-ve-kthreadd-stack-v1-1-b4fb15511033@virtuozzo.com>
On 12/1/26 2:20 PM, Vasileios Almpanis wrote:
> __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>
Reviewed-by: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
--
Best regards, Mirian Shilakadze
Linux C Virtualization Developer, Virtuozzo.
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-12-01 10:54 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
2026-12-01 10:52 ` Mirian Shilakadze [this message]
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=e28f975f-fc9c-4805-bd5f-796423f77341@virtuozzo.com \
--to=mirian.shilakadze@virtuozzo.com \
--cc=artem.bulgakov@virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.