PT-2024-10024
CVE-2024-50301
·
Published
2024-11-04
·
Updated
2026-10-19
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾