[RFC PATCH 03/13] rootns: Track init lifecycle via copy_process() and pid_namespace

Jarkko Sakkinen jarkko at kernel.org
Wed Nov 18 14:18:40 UTC 2026


On Wed, Nov 18, 2026 at 05:09:42AM +0000, sashiko-bot at kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 4 potential
> issues to consider:
> - [High] rootns: UAF and refcount imbalance in exit_rootns() via
>   unreferenced pid_ns->rootns
> - [High] rootns: unreferenced pid_ns->rootns pointer in exit_rootns()
>   causes UAF
> - [Medium] rootns: copy_rootns() publishes init_pid before
>   attach_pid(PIDTYPE_PID)
> - [Medium] rootns: missing is_child_reaper() and locked state checks in
>   copy_rootns()
> --

I'll address the Sashiko issues, reflecting them to v2.

No need to spend time and effort for review before v3.

Br, Jarko



More information about the Linux-security-module-archive mailing list