[RFC PATCH 0/8] KEYS: rhashtable bug fixes
Jarkko Sakkinen
jarkko at kernel.org
Mon Oct 19 14:33:56 UTC 2026
On Mon, Oct 19, 2026 at 05:25:00PM +0300, Jarkko Sakkinen wrote:
> My patch set that migrates assoc_array to rhashtable had some LLM
> scavegend bug fixes. Unfortunately most them where either plain wrong or
> not in the right scope. The bug fixes in this patch set are by human
> labour constructed fully but they are derived from what I got out of the
> original LLM source. Thus, they are tagged as LLM assisted.
I like to document any possible LLM association mostly for
self-reflection. I'm still adapting and not fully comfortable
with every detail so this gives a chance to look back and
learn how to do things better in the future.
So I'm neither supporter or desupporter of LLMs but more
like representing the "I don't know what to think about this"
camp :-)
Somewhat fuzzy opinion I have that more guards and checks
should be set to the patch submission process to address
"proxy contributors". At high rate such fixes are right
bug but wrong fix type of situations where author is
really not an author but instead a reporter. This is both
time consuming and unfair for legit contributors.
>
> Jarkko Sakkinen (8):
> KEYS: Change the type of key->quotalen to unsigned int
> KEYS: Change the type of key->datalen to unsigned int
> KEYS: Reject @desclen values over U16_MAX in key_alloc()
> KEYS: Prevent overflow of user->qnkeys in key_alloc()
> KEYS: Prevent overflow of quota in key_alloc()
> KEYS: Prevent overflow of user->qnbytes in key_alloc()
> KEYS: Reject @datalen values over INT_MAX
> KEYS: Verify the key identity in __keyctl_unlink
>
> include/linux/key.h | 4 ++--
> security/keys/key.c | 13 ++++++++++++-
> security/keys/keyring.c | 6 ++++++
> 3 files changed, 20 insertions(+), 3 deletions(-)
>
> --
> 2.47.3
>
Br, Jarkko
More information about the Linux-security-module-archive
mailing list