[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=whdEAjawjUSeJ+DV25ARdAhbiW_HZM65ZgJx7M94rvLkg@mail.gmail.com>
Date: Thu, 8 Jul 2021 11:44:05 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Alexey Gladkov <legion@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Containers <containers@...ts.linux.dev>,
"Eric W . Biederman" <ebiederm@...ssion.com>,
Oleg Nesterov <oleg@...hat.com>
Subject: Re: [PATCH v2] Fix UCOUNT_RLIMIT_SIGPENDING counter leak
On Thu, Jul 8, 2021 at 3:34 AM Alexey Gladkov <legion@...nel.org> wrote:
>
> We must properly handle an errors when we increase the rlimit counter
> and the ucounts reference counter. We have to this with RCU protection
> to prevent possible use-after-free that could occur due to concurrent
> put_cred_rcu().
Thanks, LGTM. Applied,
Linus
Powered by blists - more mailing lists