[RFC PATCH 4/8] KEYS: Prevent overflow of user->qnkeys in key_alloc()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Oct 19 16:02:30 UTC 2026
> Add the missing check rejecting allocations when user->qnkeys has reached
> INT_MAX.
>
> Cc: stable at vger.kernel.org
> Assisted-by: LLM
> Fixes: 7e047ef5fe2d ("[PATCH] keys: sort out key quota system")
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261019142516.300040-1-jarkko@kernel.org?part=4
More information about the Linux-security-module-archive
mailing list