CVE-2024-50301
kernel: security/keys: fix slab-out-of-bounds in key_task_permission
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 19, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's key management subsystem. A local user can trigger this vulnerability by adding multiple keys with specific hash patterns, causing the kernel to misinterpret internal tree pointers during a nested keyring search. This issue leads to an out-of-bounds memory read, resulting in a Denial of Service (DoS) via a system crash or the potential disclosure of sensitive kernel memory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-125 · Out-of-bounds Read