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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-10-01T07:42:45.593Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.8 before 6.12.46; from 6.13 before 6.16.6; 6.17

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d0ecda6fdd840b406df6617b003b036f65dd8926> (patch)
- <https://git.kernel.org/stable/c/92e2fc92bc4eb2bc0e84404316fbc02ddd0a3196> (patch)
- <https://git.kernel.org/stable/c/8bbceba7dc5090c00105e006ce28d1292cfda8dd> (patch)

## Sources

- CVE List: [CVE-2025-39897](https://www.cve.org/CVERecord?id=CVE-2025-39897), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-39897](https://nvd.nist.gov/vuln/detail/CVE-2025-39897), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39897 · Whole record: https://cve.day/CVE-2025-39897.json · Rebuilt by cve.day 2026-11-25T22:59:05.381Z
