Re: [PATCH v2] ucounts: fix counter leak in inc_rlimit_get_ucounts()
From: Andrew Morton
Date: Fri Nov 01 2024 - 16:21:43 EST
On Fri, 1 Nov 2024 19:19:40 +0000 Roman Gushchin <roman.gushchin@xxxxxxxxx> wrote:
> The inc_rlimit_get_ucounts() increments the specified rlimit counter and
> then checks its limit. If the value exceeds the limit, the function
> returns an error without decrementing the counter.
Please (always) provide a description of the userspace visible effects
of the flaw.
> Cc: <stable@xxxxxxxxxxxxxxx>
Especially when proposing this!