PT-2024-10024 · Linux+11 · Linux Kernel+11
Chen Ridong
+1
·
Published
2024-11-04
·
Updated
2025-11-18
·
CVE-2024-50301
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.10.0-14930-gafbffd6c3ede
Description
The issue is related to a slab-out-of-bounds read in the
key task permission function. This can be caused by a mistake in the search nested keyrings function when it iterates through slots in a node. If a slot pointer is meta and the node's back pointer is not null, it proceeds to descend to node. However, if the node is the root and one of the slots points to a shortcut, it may be treated as a keyring, leading to a read out-of-bounds. The vulnerability can be reproduced by obtaining more than 32 inputs with similar hashes and rebooting and adding these keys.Recommendations
To fix this issue, one should jump to
descend to node if the pointer is a shortcut, regardless of whether the node is the root or not. As a temporary workaround, consider restricting access to the search nested keyrings function until a patch is available.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu