Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-57877

6.1 · MEDIUM
Published Jan 11, 2025 linux CWE-908 EPSS 0.18% (8th pctl)

Overview

CVE-2024-57877 is a medium-severity vulnerability affecting linux linux_kernel. It was published on January 11, 2025 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: ptrace: fix partial SETREGSET for NT_ARM_POE

Currently poe_set() doesn't initialize the temporary 'ctrl' variable,

and a SETREGSET call with a length of zero will leave this

uninitialized. Consequently an arbitrary value will be written back to

target->thread.por_el0, potentially leaking up to 64 bits of memory from

the kernel stack. The read is limited to a specific slot on the stack,

and the issue does not provide a write mechanism.

Fix this by initializing the temporary value before copying the regset

from userspace, as for other regsets (e.g. NT_PRSTATUS, NT_PRFPREG,

NT_ARM_SYSTEM_CALL). In the case of a zero-length write, the existing

contents of POR_EL1 will be retained.

Before this patch:

| # ./poe-test

| Attempting to write NT_ARM_POE::por_el0 = 0x900d900d900d900d

| SETREGSET(nt=0x40f, len=8) wrote 8 bytes

|

| Attempting to read NT_ARM_POE::por_el0

| GETREGSET(nt=0x40f, len=8) read 8 bytes

| Read NT

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.12, < 6.12.5 Affected

Frequently Asked Questions

What is CVE-2024-57877?

CVE-2024-57877 is a medium-severity vulnerability affecting linux linux_kernel. It was published on January 11, 2025 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2024-57877?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-57877?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-57877?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-57877 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.