CVE-2025-39897
JSON

7.5high

net: xilinx: axienet: Add error handling for RX metadata pointer retrieval

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 6a91b846af85a24241decd686269e8e038eb13d1 before d0ecda6fdd840b406df6617b003b036f65dd8926, from 6a91b846af85a24241decd686269e8e038eb13d1 before 92e2fc92bc4eb2bc0e84404316fbc02ddd0a3196, from 6a91b846af85a24241decd686269e8e038eb13d1 before 8bbceba7dc5090c00105e006ce28d1292cfda8dd, 6.8
Not affected: before 6.8, from 6.12.46 up to 6.12.*, from 6.16.6 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.8 before 6.12.46, from 6.13 before 6.16.6, 6.17NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: xilinx: axienet: Añadir manejo de errores para la recuperación del puntero de metadatos RX Añadir una comprobación de errores adecuada para dmaengine_desc_get_metadata_ptr() que puede devolver un puntero de error y provocar posibles fallos o comportamiento indefinido si la recuperación del puntero falla. Manejar el error adecuadamente desmapeando el búfer DMA, liberando el skb y retornando anticipadamente para evitar un procesamiento posterior con datos no válidos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39897 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-39897 changed 2026-10-19Public domain