# CVE-2026-68234: drm/amdgpu: fix bo->pin leaking in amdgpu_bo_create_reserved

- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-10T12:00:59.074Z
- Modified: 2026-12-01T16:59:55.527Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/amdgpu: fix bo->pin leaking in amdgpu_bo_create_reserved

amdgpu_bo_create_reserved() only allocates a new BO when
*bo_ptr (struct amdgpu_bo **bo_ptr as input parameter) is
NULL, it simply skips creation when *bo_ptr is non-NULL.
But it unconditionally reserves, pins, gart allocates
and maps the BO afterwards.

When the same non-NULL BO pointer is passed in again,
for example firmware buffers that live in adev and are
re-loaded on every resume / cp_resume / start
under AMDGPU_FW_LOAD_DIRECT, amdgpu_bo_pin() just increases
pin_count unconditionally, however the matching teardown only unpins
once, so pin_count never drops to zero, so TTM is not able
to move, swap or evict a BO, causing BO leaks.

This commit fixes this issue by only pinning the bo
once at creation, and repeated calls no longer
take additional pin references.

(cherry picked from commit 3ddc0ae76202c447b6aec61e907b852bc94671cf)

(As written by CVE List.)

## Affected

- Linux Linux: from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before 7aea619d9f186dcf0f1289879e9edb69d2b56639; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before b572d0814c1366701ca704286589fab025802566; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before e06e0885725a16304b7723aeb478a78cca9dc96a; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before 51eeef1949c11d3dcb5f422a5d9b3f09ebe8a1bc; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before 2f390b4c83011452753fd84972f657d2b00a952b; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before ba7b6444097a73ccd3d3ac9e2be4ebb73d226460; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before 9743f60013273987abf415dc47474683d22aaee9; from 53766e5adac75872e9d413cdbfd0e47ae40701f9 before a2f895f3c852063258d62e9f74b081de07ca95df; 4.14 (not affected: before 4.14; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.14 before 5.10.265; from 5.11 before 5.15.216; from 5.16 before 6.1.183; from 6.2 before 6.6.148; from 6.7 before 6.12.101; from 6.13 before 6.18.42; from 6.19 before 7.1.6; 7.2

## References

- <https://git.kernel.org/stable/c/7aea619d9f186dcf0f1289879e9edb69d2b56639> (patch)
- <https://git.kernel.org/stable/c/b572d0814c1366701ca704286589fab025802566> (patch)
- <https://git.kernel.org/stable/c/e06e0885725a16304b7723aeb478a78cca9dc96a> (patch)
- <https://git.kernel.org/stable/c/51eeef1949c11d3dcb5f422a5d9b3f09ebe8a1bc> (patch)
- <https://git.kernel.org/stable/c/2f390b4c83011452753fd84972f657d2b00a952b> (patch)
- <https://git.kernel.org/stable/c/ba7b6444097a73ccd3d3ac9e2be4ebb73d226460> (patch)
- <https://git.kernel.org/stable/c/9743f60013273987abf415dc47474683d22aaee9> (patch)
- <https://git.kernel.org/stable/c/a2f895f3c852063258d62e9f74b081de07ca95df> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-68234 · Whole record: https://cve.day/CVE-2026-68234.json · Rebuilt by cve.day 2026-12-01T17:02:30.981Z
