# CVE-2026-45908: accel/amdxdna: Fix memory leak in amdxdna_ubuf_map

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-27T12:17:22.048Z
- Modified: 2026-06-24T16:27:52.507Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Fix memory leak in amdxdna_ubuf_map

The amdxdna_ubuf_map() function allocates memory for sg and
internal sg table structures, but it fails to free them if subsequent
operations (sg_alloc_table_from_pages or dma_map_sgtable) fail.

(As written by CVE List.)

## Affected

- Linux Linux: from bd72d4acda1069579b35123e3cc0b21ec1193a21 before 5a68d2c99c859e6e8e36fa4e32749abf6d1fb66a; from bd72d4acda1069579b35123e3cc0b21ec1193a21 before f9f4366d2ff93b07c2571561c776bd9a708078c3; from bd72d4acda1069579b35123e3cc0b21ec1193a21 before 84dd57fb0359500092f1101409ca32091731490d; 6.18 (not affected: before 6.18; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/5a68d2c99c859e6e8e36fa4e32749abf6d1fb66a> (patch)
- <https://git.kernel.org/stable/c/f9f4366d2ff93b07c2571561c776bd9a708078c3> (patch)
- <https://git.kernel.org/stable/c/84dd57fb0359500092f1101409ca32091731490d> (patch)

## Sources

- CVE List: [CVE-2026-45908](https://www.cve.org/CVERecord?id=CVE-2026-45908), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-45908](https://nvd.nist.gov/vuln/detail/CVE-2026-45908), Public domain, modified 2026-06-24

---

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