[RFC PATCH 0/8] KEYS: rhashtable bug fixes
Jarkko Sakkinen
jarkko at kernel.org
Mon Oct 19 14:25:00 UTC 2026
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.
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
More information about the Linux-security-module-archive
mailing list