{"id":"CVE-2026-68234","summary":"drm/amdgpu: fix bo-\u003epin leaking in amdgpu_bo_create_reserved","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix bo-\u003epin leaking in amdgpu_bo_create_reserved\n\namdgpu_bo_create_reserved() only allocates a new BO when\n*bo_ptr (struct amdgpu_bo **bo_ptr as input parameter) is\nNULL, it simply skips creation when *bo_ptr is non-NULL.\nBut it unconditionally reserves, pins, gart allocates\nand maps the BO afterwards.\n\nWhen the same non-NULL BO pointer is passed in again,\nfor example firmware buffers that live in adev and are\nre-loaded on every resume / cp_resume / start\nunder AMDGPU_FW_LOAD_DIRECT, amdgpu_bo_pin() just increases\npin_count unconditionally, however the matching teardown only unpins\nonce, so pin_count never drops to zero, so TTM is not able\nto move, swap or evict a BO, causing BO leaks.\n\nThis commit fixes this issue by only pinning the bo\nonce at creation, and repeated calls no longer\ntake additional pin references.\n\n(cherry picked from commit 3ddc0ae76202c447b6aec61e907b852bc94671cf)","modified":"2026-08-21T03:30:45.973513750Z","published":"2026-08-10T12:00:59.074Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68234.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f390b4c83011452753fd84972f657d2b00a952b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51eeef1949c11d3dcb5f422a5d9b3f09ebe8a1bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7aea619d9f186dcf0f1289879e9edb69d2b56639"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9743f60013273987abf415dc47474683d22aaee9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2f895f3c852063258d62e9f74b081de07ca95df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b572d0814c1366701ca704286589fab025802566"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba7b6444097a73ccd3d3ac9e2be4ebb73d226460"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e06e0885725a16304b7723aeb478a78cca9dc96a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68234.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68234"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"53766e5adac75872e9d413cdbfd0e47ae40701f9"},{"fixed":"7aea619d9f186dcf0f1289879e9edb69d2b56639"},{"fixed":"b572d0814c1366701ca704286589fab025802566"},{"fixed":"e06e0885725a16304b7723aeb478a78cca9dc96a"},{"fixed":"51eeef1949c11d3dcb5f422a5d9b3f09ebe8a1bc"},{"fixed":"2f390b4c83011452753fd84972f657d2b00a952b"},{"fixed":"ba7b6444097a73ccd3d3ac9e2be4ebb73d226460"},{"fixed":"9743f60013273987abf415dc47474683d22aaee9"},{"fixed":"a2f895f3c852063258d62e9f74b081de07ca95df"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68234.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68234.json"}}],"schema_version":"1.9.0"}