A vulnerability in the Linux kernel related to the KEYS subsystem has been resolved. The issue involved accepting key descriptions larger than the defined maximum size (KEY_MAX_DESC_SIZE), which includes the trailing NULL character. Descriptions generated from payloads and internal kernel paths could bypass the userspace limit. The fix enforces rejection of descriptions at or above KEY_MAX_DESC_SIZE with an error code (-EINVAL) at multiple kernel functions involved in key allocation and searching.