CVE-2025-39897
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-39897, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-01

Last updated on: 2025-12-12

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: xilinx: axienet: Add error handling for RX metadata pointer retrieval Add proper error checking for dmaengine_desc_get_metadata_ptr() which can return an error pointer and lead to potential crashes or undefined behaviour if the pointer retrieval fails. Properly handle the error by unmapping DMA buffer, freeing the skb and returning early to prevent further processing with invalid data.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-01
Last Modified
2025-12-12
Generated
2026-07-06
AI Q&A
2025-10-01
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.8 (inc) to 6.12.46 (exc)
linux linux_kernel From 6.13 (inc) to 6.16.6 (exc)
linux linux_kernel 6.17
linux linux_kernel 6.17
linux linux_kernel 6.17
linux linux_kernel 6.17

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's xilinx axienet driver involves missing error handling when retrieving RX metadata pointers using dmaengine_desc_get_metadata_ptr(). Without proper error checking, the function can return an error pointer that, if not handled correctly, may cause crashes or undefined behavior. The fix adds error handling to unmap the DMA buffer, free the skb, and return early to prevent processing invalid data.

Impact Analysis

If exploited, this vulnerability can lead to system crashes or undefined behavior in the affected Linux kernel network driver, potentially causing denial of service or instability in systems using the xilinx axienet driver.

Mitigation Strategies

To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the axienet driver where proper error handling for dmaengine_desc_get_metadata_ptr() has been added. This prevents crashes or undefined behavior by handling error pointers correctly. Until the update is applied, avoid using affected hardware or drivers if possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-39897. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart