In the Linux kernel, the following vulnerability has been resolved:
KEYS: Reject descriptions larger than KEY_MAX_DESC_SIZE
KEY_MAX_DESC_SIZE includes the trailing NULL character. Descriptions generated from payloads and in-kernel paths bypass the userspace limit.
Reject descriptions at or above KEY_MAX_DESC_SIZE with -EINVAL at the following sites: