PT-2025-3602 · Linux+1 · Linux Kernel+1
Mark Rutland
·
Published
2024-12-05
·
Updated
2025-09-29
·
CVE-2024-57877
CVSS v3.1
6.1
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the Linux kernel's ptrace functionality, specifically with the arm64 architecture. The problem arises when the
poe set() function does not initialize a temporary variable, leading to potential memory leaks of up to 64 bits from the kernel stack when a SETREGSET call with a length of zero is made. This can result in arbitrary values being written back to target->thread.por el0. The read is limited to a specific slot on the stack, and there is no write mechanism provided by the issue. The fix involves initializing the temporary value before copying the regset from userspace.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use of Uninitialized Resource
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linux Kernel