What’s Vulnerable › Vulnerabilities

CVE-2025-39897: net: xilinx: axienet: Add error handling for RX metadata pointer retrieval

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.46, 6.16.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39897 or the next vulnerability affects your stack