[PATCH v2 1/6] KEYS: Expand key->{datalen,quotalen} to unsigned int

Eric Biggers ebiggers at kernel.org
Mon Oct 19 19:12:48 UTC 2026


On Mon, Oct 19, 2026 at 09:17:21PM +0300, Jarkko Sakkinen wrote:
> In key_alloc() and key_payload_reserve(), key->quotalen and key->datalen
> can receive values larger than USHRT_MAX.

Could use an explanation about how this can happen.  A keyring with more
than 16383 links, I guess?

- Eric



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