Menu

Star on GitHub · 3.3k

CVE-2024-57897

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Correct the migration DMA map direction The SVM DMA device map direction should be set the same as the DMA unmap se…

Published Jan 15, 2025EPSS 0.25%

Overview

CVE-2024-57897 is a medium-severity vulnerability. It was published on January 15, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, 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:

drm/amdkfd: Correct the migration DMA map direction

The SVM DMA device map direction should be set the same as

the DMA unmap setting, otherwise the DMA core will report

the following warning.

Before finialize this solution, there're some discussion on

the DMA mapping type(stream-based or coherent) in this KFD

migration case, followed by https://lore.kernel.org/all/04d4ab32

[email protected]/T/.

As there's no dma_sync_single_for_*() in the DMA buffer accessed

that because this migration operation should be sync properly and

automatically. Give that there's might not be a performance problem

in various cache sync policy of DMA sync. Therefore, in order to

simplify the DMA direction setting alignment, let's set the DMA map

direction as BIDIRECTIONAL.

[ 150.834218] WARNING: CPU: 8 PID: 1812 at kernel/dma/debug.c:1028 check_unmap+0x1cc/0x930

[ 150.834225] Modules linked in: amdgpu(OE) amdxcp drm_ex

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-57897?

CVE-2024-57897 is a medium-severity vulnerability. It was published on January 15, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-57897?

This vulnerability has a CVSS 3.1 base score of 5.5, 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-57897?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-57897?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-57897 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all
LiveWatch live →