[RFC PATCH 6/8] KEYS: Prevent overflow of user->qnbytes in key_alloc()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Mon Oct 19 16:18:19 UTC 2026


> Add the missing check rejecting resulting byte counts above 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=6




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