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

From: Eric Biggers

Date: Mon Oct 19 2026 - 15:15:11 EST


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